Skip to content

Commit 383361c

Browse files
committed
add deprecation disclaimer
1 parent 522ab33 commit 383361c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sphinx/v3/code-recipes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,11 @@ obs_list = mgr.weather_at_places_in_bbox(lon_left, lat_bottom, lon_right, lat_to
662662

663663
## Weather forecasts
664664

665+
**>>>IMPORTANT NOTE<<<**: OpenWeatherMap has deprecated legacy weather forecasts endpoints, therefore you could get
666+
errors if you invoke them
667+
The recommended way to get weather forecasts is now the [*OneCall* API]((#onecall))
668+
669+
665670
### Get forecast on a location
666671
Just like for observed weather info, you can fetch weather forecast info on a specific toponym.
667672
As usual, provide toponym + country code for better results.

0 commit comments

Comments
 (0)