-
Notifications
You must be signed in to change notification settings - Fork 163
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
Production Use #50
Comments
You can generate multiple API keys, one for each user. This will reduce the server load too. WARNING: I am not the staff here, refer to the staff's guidelines before making any decisions |
@akionsight Would you be able to tell me how I can generate a key for each user? |
I wouldn't do this without permission from the staff but you can do that with something like a puppeteer or selenium script running on the server-side that generates API keys by accessing the nasa open API's website. the generated API key can be sent to the app for use. Warning: Do not do this without permission from the staff. |
or generate one key, and use that key once a day to refresh the content on your server and send back data from your server instead of each user accessing it from the apod-api server |
You can also host the API backend yourself. All it does is scrape apod.nasa.gov anyway. In fact, the README seems to recommend doing this when you need reliable access to APOD data. |
I won't recommend scraping because the scrapers might get blocked, hence generating a fairly large failure for the app |
It's possible, but considering both the fact that the official APOD API is in fact scraping the APOD site, and that the readme recommends hosting your own if you need "an extremely reliable version of this API", I suspect the site isn't too harsh against scrapers. |
Hi @nicholasviscomi , you can follow steps provided by Pawel and use deploy the modified API work to your server/heroku and use it. https://github.com/PawelPleskaczynski/apod_api |
Is there any way I can pay for unlimited/really high usage rates? I have a cool iOS app and want it to be fully funcitonal
The text was updated successfully, but these errors were encountered: