OpenWeatherMap-PHP-API icon indicating copy to clipboard operation
OpenWeatherMap-PHP-API copied to clipboard

No method for One Call API

Open polar-webspark opened this issue 4 years ago • 4 comments

https://api.openweathermap.org/data/2.5/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API key} I need to call this api endpoint but there is no method for it

polar-webspark avatar Sep 07 '21 12:09 polar-webspark

Related to #72's item "Support more / all OWM apis"

mbomb007 avatar May 20 '22 14:05 mbomb007

I agree, and this should be a high priority, as this only consumes a single API call. Since you only get 1,000 free API calls per day, getting everything in a single call is a huge gain.

https://openweathermap.org/api/one-call-3

mbomb007 avatar May 20 '22 14:05 mbomb007

I also noticed that this library is using the UV Index API, which was retired on 1st April 2021. https://openweathermap.org/api/uvi

They say the replacement is the One Call API.

mbomb007 avatar May 20 '22 15:05 mbomb007

+1 for this.

I need to get the 8 day forecast and with the OneCall API it is free.

This would be great!

shmaltz avatar Aug 26 '22 16:08 shmaltz