csparpa / pyowm

A Python wrapper around the OpenWeatherMap web API
https://pyowm.readthedocs.io
MIT License
789 stars 171 forks source link

Introduce current weather search on cities inside a bbox #258

Closed csparpa closed 5 years ago

csparpa commented 6 years ago

As per https://openweathermap.org/current at section "Call current weather data for several cities", is a new method to introduce on OWM25:

  - Look for weather on cities within a bbox
    Eg: http://api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10

This replaces the owm25.weather_at_stations_in_bbox method, which will be deprecated on PyOWM v3