Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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