OpenAQ.
sources
(**kwargs)[source]¶Provides a list of data sources.
Parameters: |
|
---|---|
Returns: | a dictionary containing the url, adapter, name, city, country, description, resolution, sourceURL, contacts, and active. |
Example: |
>>> import openaq
>>> api = openaq.OpenAQ()
>>> status, resp = api.sources()
>>> resp['results']
[
{
"url": "http://airquality.environment.nsw.gov.au/aquisnetnswphp/getPage.php?reportid=2",
"adapter": "nsw",
"name": "Australia - New South Wales",
"city": "",
"country": "AU",
"description": "Measurements from the Office of Environment & Heritage of the New South Wales government.",
"resolution": "1 hr",
"sourceURL": "http://www.environment.nsw.gov.au/AQMS/hourlydata.htm",
"contacts": [
"olaf@developmentseed.org"
]
}
...
]