bartve / disconnect

An easy to use Node.js client with OAuth support to connect with the discogs.com API v2.0
MIT License
453 stars 79 forks source link

Getting Next Page Of Search? #49

Closed MonkRocker closed 6 years ago

MonkRocker commented 6 years ago

I see that search calls are returning the pagination object from Discogs, but since the search call doesn't let me specify a page to return, what's the correct way to page through results?

Thanks!

bartve commented 6 years ago

Discogs API says search accepts pagination https://www.discogs.com/developers/#page:database,header:database-search so just add them in the params when doing a search call.

MonkRocker commented 6 years ago

Ah my bad. Didn't see that. Thanks!