Open PackRuble opened 8 months ago
Related to #8
I did a little research on this new One Call Api 3.0. Here is an excerpt from the official website:
https://openweathermap.org/api/one-call-3
Please note, that One Call API 3.0 is included in the "One Call by Call" subscription only. This separate subscription includes 1,000 calls/day for free and allows you to pay only for the number of API calls made to this product. Please note, that you do not need to subscribe to any other OpenWeather subscription plans to get access to the One Call API 3.0. Please find more details on the pricing page and FAQ.
How to start
- Sign up to OpenWeather service in case you haven't got your OpenWeather API key yet.
- Follow the pricing page to learn details about the price. One Call API 3.0 is included in the separate subscription only and allows you to pay only for the number of API calls made to this product. Please find more details on the pricing page.
- Once you subscribe to One call API 3.0, 2000 API calls per day to this product are set up by default. If you want to change this limit, please go to the "Billing plans" tab in your Personal account to update standard settings. You can find more information on the FAQ.
- Select the desired type of data (Current and forecasts weather data, Weather data for timestamp, Daily aggregation) and make an API call according to relevant tech documentation section, remembering to add your key to each call. Current and forecasts weather data
Also useful information from One Call API 2.5 https://openweathermap.org/api/one-call-api
One Call API 2.5 will be deprecated on April 15, 2024. Please read the detailed guide for transitioning to the more advanced One Call API 3.0 which includes several useful upgrades like 40+ years of history archive, daily aggregation and human readable daily summary in comparison with One Call API 2.5 version. Read more about One Call API 3.0 in the product documentation page and FAQ.
I don't have a subscription and consequently a key to implement the new API 3.0 and test it.
So for the moment everything remains as it is, version 2.5 continues to work with the keys that were obtained earlier. The new keys don't seem to work for the old api anymore. At least there's still a little over a year of official time to do something about it going forward.
At this point, all I can do is provide manual control to change the api to the new version for those who want it. + check models with documentation
If anyone has a desire to implement the new api 3.0, pull-requests are welcome.
WeatherDaily.summary
)OneCallApi
)data/3.0/onecall/timemachine
data/3.0/onecall/day_summary