Skip to main content
edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
Post Migrated Here from stackoverflow.com (revisions)
Source Link

Making use of the *"has_more": true* json attribute in the Json response from stackoverflow

When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom):

"quota_remaining": 9954,
"quota_max": 10000,
"has_more": true

To give an example, such scenario comes to light when attempting to get the users on the stackoverflow forum (It goes without saying that the site has more than 100 users!)

How can I exploited this to get the subsequent results for my query?

This is the query URL: https://api.stackexchange.com/docs/users#pagesize=100&order=desc&sort=reputation&filter=default&site=stackoverflow&run=true