OpenAQ.
parameters
(**kwargs)[source]¶Provides a simple listing of parameters within the platform.
Parameters: | |
---|---|
Returns: | a dictionary containing the id, name, description, and preferredUnit. |
Example: |
>>> import openaq
>>> api = openaq.OpenAQ()
>>> status, resp = api.parameters()
>>> resp['results']
[
{
"id": "pm25",
"name": "PM2.5",
"description": "Particulate matter less than 2.5 micrometers in diameter",
"preferredUnit": "ug/m3"
}
...
]