Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Pagination Not Incrementing by 1

echenty
7 - Meteor

Wondering if anyone could take a look at my iterative macro. Its the NYT api pulling back web urls related to 'bitcoin'. However, when I run it, I get it sometimes moving from page 0,1,2 or sometimes it skips from page 0 to 2.

 

 

Any help would be appreciated!

 

Emily

5 REPLIES 5
MarqueeCrew
20 - Arcturus
20 - Arcturus
Here are some thoughts from my iPhone:

If possible, call the API and compute the max pages. Then use a generate rows to create a record for each page. Use a multi-row formula to modify the pages. Then use a download tool to get your data.

If needed you can throttle the downloading and stay within your time limits. If you have multiple API keys, you can modify the calls to stay within your daily limits.

Bottom line, avoid the custom macro.

Cheers,
Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
echenty
7 - Meteor

Awesome!! Thanks for your help! Worked like a charm. Attached a screenshot of my end solution for anyone else interested.

PadmajaS
7 - Meteor

HI Echenty,

 

Can you share the workflow, I am currently looking at similar issue, however running into issues.

 

Regards,

PJ

MD2050
8 - Asteroid

Hello @echenty 

Can you please share the WF ? we are running in to the same issues where the pagination cursor is not working as needed while making API calls. I did created a custom iterative macro to parse data through different pages. Only difference is we don't have the API key which is the only difference in the code. 

Thank you very much, 

MD

smoskowitz
12 - Quasar

@MarqueeCrew -

 

I never thought of doing it this way. Thank you for the idea!

 

Seth

Labels