The API I’m calling only returns a page of results at a time, and I need all of them. What’s the right way to handle pagination in 3B so I don’t miss data? I’m curious how people loop through pages and know when they’ve reached the end. Examples of the usual pattern would save me a lot of trial and error.
Just ask 3B to get all pages
(sorry i am really not trying to be a smartass)
Most times 3B will figure out the pagination itself without really needing any prompting either the API documentation, or even reverse engineering it form the API response.
(I have actually watched 3B on it own figure out a completely undocumented API by trial and error request, and reverse engineer the requests and a very strange kind of courser based pagination system I have never seen before
)