#hendie_mytime

1 messages · Page 1 of 1 (latest)

undone hullBOT
heady terrace
tranquil gull
#

what if there are more than 100?

#

I will look at pagination too

heady terrace
#

That's why I recommended auto-pagination. 🙂

tranquil gull
#

your answer sounded like I cannot make limit more than 100?

heady terrace
#

Auto-pagination makes as many API requests for you in order to get the full list.

tranquil gull
#

or does it mean if I don't specify a limit and use auto_paging_each that I would get all ?

heady terrace
#

For example, if you use auto-pagination and set the limit to 20, but there are 60 total results, auto-pagination will make three API requests for you behind the scenes.

#

Each request will contain 20 results, and the three together will contain all 60.

tranquil gull
#

ah, gotcha

#

thanks

heady terrace
#

All of that is abstracted away, though, you just need to implement the iterator.

tranquil gull
#

another qq

#

when I looked at the first 10 I got, it looked like they were the LAST 10. In what order is the result returned?

#

LAST 10 in date order that is

heady terrace
#

List endpoints always return the most recently created stuff first.

tranquil gull
#

ok, thanks

#

that's all for now