Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get data for page 2 or more #44

Closed
rishabh1403 opened this issue Mar 28, 2016 · 2 comments
Closed

how to get data for page 2 or more #44

rishabh1403 opened this issue Mar 28, 2016 · 2 comments

Comments

@rishabh1403
Copy link

when ever i call
mdb.miscUpcomingMovies(function (err, result) { })
the result always shows only resluts from page one , how to get results from later pages ?
Thanks

@impronunciable
Copy link
Owner

Hi @rishabh1403,

The library endpoints accepts a first parameter as an object with query parsmeters. In your case, for getting for example the second page you can do

mdb.miscUpcomingMovies({page: 2}, function (err, result) { })

@rishabh1403
Copy link
Author

Hello @impronunciable ,
Thanks That helped !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants