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.
SOLVED

API download by looping through existing dataset

romanzdk1
5 - Atom

hello, 

 

I need to download JSON from API by looping through existing dataset.

 

Here is a link: https://atp-scraper.herokuapp.com/api/player_overview/Roger Federer

 

Instead of "Roger Federer" in the end I need to iterate through list of other players which I already have prepared.

 

So basically I need to download:

1) https://atp-scraper.herokuapp.com/api/player_overview/Roger Federer

2) https://atp-scraper.herokuapp.com/api/player_overview/Rafael Nadal

etc.

 

How I can achieve this please?

3 REPLIES 3
afv2688
16 - Nebula
16 - Nebula

Hello @romanzdk1,

 

Try using this. You need to edit the macro to give you the results you want.

 

If not, try to run it and see the results

 

Regards

romanzdk1
5 - Atom

Thank you very much for your reply.

 

I tried to change macro to desired output, however I keep getting only first record (first URL only).

 

How to make it loop through whole "API" column please?

 

romanzdk1_0-1580901942391.png

romanzdk1_1-1580901964856.png

 

EDIT: I changed Output mode in the Batch macro settings and it works just fine. Thank you again.

DavidP
17 - Castor
17 - Castor

Have you tried adding a Browse tool after the macro in your workflow?

Labels
Top Solution Authors