Create a method to get air quality data for all stations a pair of latitude-longitude bounds #44
Labels
beginner
Slightly more complex than 'good first issue', but not difficult either
enhancement
New feature or request
help wanted
Extra attention is needed
This should allow users to enter in two pairs of lat-long coordinates. The WAQI API has an endpoint available to get all air quality measuring stations between two pairs of lat-long pairs. This list of stations could be used with the
get_multiple_coordinate_air
method in Ozone, to get the air quality for all of them.This would be really useful, as users would essentially be able to get data for an entire area of the world, without necessarily knowing the name/location of each station in that area (Ozone would take care of that part).
Ideally create a private method that takes in a two pairs of lat-long coordinates, and returns a list of several lat-long pairs, one for each station in that range.
Then create a separate method that uses
get_multiple_coordinate_air
under the hood and returns the data in the same way all other data methods do.The text was updated successfully, but these errors were encountered: