Paging through results: page or offset?

Avatar image for anville
anville

14

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By anville

Hi,

I'm trying to get a list of all Action Comics with this query:

http://www.comicvine.com/api/issues/?api_key=[KEY]&filter=volume:18005&field_list=id,volume_id,issue_number,name,image,cover_date,site_detail_url&format=json

If I use "&offset=XXX", I can page through the results. "&page=X" doesn't work. Some posts here seem to indicate that we should use page and not offset. What should be I be using? I don't want to push out code that will break in a few days...

Thanks!

Avatar image for porkbun
porkbun

61

Forum Posts

533

Wiki Points

0

Followers

Reviews: 1

User Lists: 2

#2 porkbun  Staff

@anville Use page only for the search resource call. limit/offset for the other calls.

Avatar image for anville
anville

14

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Thank you!