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

Page Size #136

Closed
nighthauk opened this issue Mar 10, 2021 · 5 comments
Closed

Page Size #136

nighthauk opened this issue Mar 10, 2021 · 5 comments

Comments

@nighthauk
Copy link

Thanks for your work on this, and fixing the Perseverance issue tonight. Any thoughts on either increasing the page size, or making it parameterized?

@corincerami
Copy link
Owner

What do you mean by increasing the page size?

@nighthauk
Copy link
Author

The number of objects returned in each page of the pagination. If I'm not mistaken the raw feed from nasa isn't paginated.

@corincerami
Copy link
Owner

You can change the number of photos per query by using the per_page parameter.

@nighthauk
Copy link
Author

Awesome, thanks man. That's not documented on the NASA api docs so wasn't aware it was available.

@nighthauk
Copy link
Author

Parameter working as expected. Thank you!

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