2eba183f8b | ||
---|---|---|
.. | ||
README.md |
README.md
IQAir
Description
Air quality and weather data
Example Request
- Curl
curl "http://api.airvisual.com/v2/countries?key={{token}}"
- Raw
GET /v2/countries?key={{token}} HTTP/1.1
Host: api.airvisual.com
Response
- Success
{
"status":"success",
"data":[
{"country":"Afghanistan"},
{"country":"Albania"},
{"country":"Algeria"},
{"country":"Andorra"},
{"country":"Angola"}
...
]
}
- Error
{
"status":"fail",
"data":{
"message":"Forbidden"
}
}
Regex
[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}
Example API key
abcd1234-abcd-1234-abcd-abcd1234abcd