Closed CentralHarlemAnonymous closed 6 years ago
Hi
It looks like daily forecasts are not free of charge any more:
https://openweathermap.org/price
while3h forecasts still are :-/
5day / 3 hour forecast looks free to me. Was I using the wrong command for this API call? If so, what should I have done?
Thanks.
Von meinem iPhone gesendet.
On Aug 6, 2018, at 8:54 AM, Claudio Sparpaglione notifications@github.com wrote:
Hi
It looks like daily forecasts are not free of charge any more:
https://openweathermap.org/price
while3h forecasts still are :-/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
If you're ok with 3 hours granularity forecasts (on a 5 days streak), then go with:
What you did is call the daily_forecast() method which fetches 1 day granularity forecasts on a 16 days streak, but is on the paid tier as we said
Makes sense? Let me know!
Makes sense. I’ll try it when I get home tonight.
Thank you,
MS
On Aug 6, 2018, at 9:04 AM, Claudio Sparpaglione notifications@github.com wrote:
If you're ok with 3 hours granularity forecasts (on a 5 days streak), then go with:
https://github.com/csparpa/pyowm/blob/197540db41cf90ce84d2e233f770b290de6d99ca/pyowm/webapi25/owm25.py#L473 https://github.com/csparpa/pyowm/blob/197540db41cf90ce84d2e233f770b290de6d99ca/pyowm/webapi25/owm25.py#L473 What you did is call the daily_forecast() method which fetches 1 day granularity forecasts on a 16 days streak, but is on the paid tier as we said
Makes sense? Let me know!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/csparpa/pyowm/issues/266#issuecomment-410700797, or mute the thread https://github.com/notifications/unsubscribe-auth/AOQwrAiEFT8scywoa-52h56JVQpa4JhFks5uOD7VgaJpZM4Vvehp.
@MichaelSternNYC is it then fine to close this issue? Thanks
Worked like magic. Thanks for checking.
On Aug 12, 2018, at 3:22 PM, Claudio Sparpaglione notifications@github.com wrote:
@MichaelSternNYC https://github.com/MichaelSternNYC is it then fine to close this issue? Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/csparpa/pyowm/issues/266#issuecomment-412365664, or mute the thread https://github.com/notifications/unsubscribe-auth/AOQwrGZihRlNuPOIjXI_S00VQhZsDoXPks5uQIB0gaJpZM4Vvehp.
I have a couple of OpenWeatherMap free API keys. They work fine for
but if I try
forecast = owm.daily_forecast('Dobbs Ferry, US')
I get the error
Free API should give access to basic forecasts; what am I doing wrong?