all-about-apikey/breezometer
Muhammad Daffa 9ee885c92a Add 10 informations 2022-08-17 23:10:40 +07:00
..
README.md Add 10 informations 2022-08-17 23:10:40 +07:00

README.md

BreezoMeter

Description

Location-based Air Pollution, Pollen & Active Fires information enables businesses to develop solutions that help reduce exposure to environmental hazards.

Example Request

  • Curl
curl "https://api.breezometer.com/air-quality/v2/current-conditions?lat=48.857456&lon=2.354611&key={{token}}"
  • Raw
GET /air-quality/v2/current-conditions?lat=48.857456&lon=2.354611&key={{token}} HTTP/1.1
Host: api.breezometer.com

Response

  • Success
{
    "metadata": null,
    "data":{
        "datetime": "2022-08-17T11:00:00Z",
        "data_available": true,
        "indexes":{
            "baqi": {
                "display_name": "BreezoMeter AQI",
                "aqi": 65,
                "aqi_display": "65",
                "color": "#A2DB26",
                "category": "Good air quality",
                "dominant_pollutant": "o3"
            }
        }
    },
    "error": null
}
  • Error
{
    "metadata":null,
    "data":null,
    "error":{
        "code":"invalid_api_key",
        "title":"Invalid API key",
        "detail":"Provided API key is invalid. Check for accidental whitespace characters and note that the key is case sensitive"
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fosc129sd241