In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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