3

http://api.stackoverflow.com/1.0/users/113124/favorites

only shows me 30 favourites. How can I see the rest?

2 Answers 2

3

First step - check the docs

but to answer your question, use the page parameter

http://api.stackoverflow.com/1.0/users/113124/favorites?page=2


ok, http://api.stackoverflow.com/1.0/help/method?method=users/{id}/favorites for the route in question users/{id}/favorites

each item listed under parameters can be sent as a query string parameter.

e.g.

http://api.stackoverflow.com/1.0/users/113124/favorites?page=2&pagesize=100

all of the information is there, explained in detail. The only thing missing is an example url to bridge the gap. I think that would go a long way towards making the docs more intuitive.

But in any case - there you go.. good luck.

1
  • thanks, I already checked the docs that you linked to. Where does it say that I can use the page parameter?
    – Lazer
    Commented Sep 18, 2010 at 16:54
3

Look at the documentation: http://api.stackoverflow.com/1.0/help/method?method=users/{id}/favorites

You can use the parameter pagesize to change the size of results:

eg: http://api.stackoverflow.com/1.0/users/113124/favorites?pagesize=40

2
  • Is there some upper limit to it? pagesize=693 doesn't work.
    – Lazer
    Commented Sep 18, 2010 at 16:52
  • if you read the link I gave first you'd see it is 1 to 100 inclusive
    – Jonathan.
    Commented Sep 18, 2010 at 17:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .