Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Getting API Response From Python tool onto the canvas

Bri4th
5 - Atom

Hi

 

I have successfully called an API and got my response in the Python tool but I don't know how to get the response into an output node.

 

Thanks

4 REPLIES 4
TimN
13 - Pulsar

It has to be a Pandas Data frame.  Then you can do Alteryx.write(df,1)

TimN
13 - Pulsar

An example...

output_df = DataFrame(packages ,columns=["package","version"])

Alteryx.write(output_df,1)

Bri4th
5 - Atom

Can I get that Outputdata into a Pandas data frame, is there another step I could write?

TimN
13 - Pulsar
Labels
Top Solution Authors