3

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

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

Lazer
  • 177
  • 3

2 Answers2

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.

Sky Sanders
  • 12,068
  • 3
  • 31
  • 60
  • thanks, I already checked the docs that you linked to. Where does it say that I can use the page parameter? – Lazer Sep 18 '10 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

Jonathan.
  • 3,128
  • 2
  • 20
  • 28