Is there a option to get the last nextPageToken
Opened this issue · 1 comments
eliram commented
Hi,
I am trying to pull data from Marketo periodically, and I am using the nextPageToken to know where to run on the next run.
Is there a way to get the last nextPageToken in the response so I can store it and use it on my next scheduled task?
Thanks,
Eliram
jepcastelein commented
get_lead_activities_yield
now has an option return_full_result
that - if set to True - will return the nextPageToken. Not yet documented, but easy to find in the source of client.py. I'm planning to add this to get_lead_changes
and the get_multiple_leads_...
methods and potentially also to get_multiple_lists
and get_multiple_campaigns