Weather - Get Air Quality Hourly Forecasts
Gebruik dit om elk uur luchtkwaliteitsvoorspellingen te krijgen voor de komende één tot 96 uur, inclusief verontreinigende stoffen, mogelijke risico's en voorgestelde voorzorgsmaatregelen.
De Get Air Quality Hourly Forecasts
API is een HTTP-verzoek GET
dat gedetailleerde informatie retourneert over de concentratie van verontreinigende stoffen en de algehele status voor de voorspelde aankomende luchtkwaliteit per uur. De service kan elk uur voorspelde luchtkwaliteitsinformatie verstrekken voor de komende tijdspannes van 1, 12, 24, 48, 72 en 96 uur, inclusief vervuilingsniveaus, luchtkwaliteitsindexwaarden, de dominante verontreinigende stof en een korte verklaring met een samenvatting van het risiconiveau en voorgestelde voorzorgsmaatregelen.
GET https://atlas.microsoft.com/weather/airQuality/forecasts/hourly/json?api-version=1.1&query={query}
GET https://atlas.microsoft.com/weather/airQuality/forecasts/hourly/json?api-version=1.1&language={language}&query={query}&duration={duration}&pollutants={pollutants}
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
format
|
path | True |
Gewenste indeling van het antwoord. Alleen |
|
api-version
|
query | True |
string |
Versienummer van Azure Maps-API. |
query
|
query | True |
number[] |
De toepasselijke query die is opgegeven als een door komma's gescheiden tekenreeks die is samengesteld door breedtegraad gevolgd door lengtegraad, bijvoorbeeld '47,641268,-125679'. Weersinformatie is over het algemeen beschikbaar voor locaties op het land, watermassa's omgeven door land en delen van de oceaan die zich binnen ongeveer 50 zeemijl van een kustlijn bevinden. |
duration
|
query |
Hourly |
Geeft aan voor hoeveel uur we over tijd willen weten over de luchtkwaliteit. Beschikbare waarden zijn 1, 12, 24, 48, 72, 96. De standaardwaarde is 1 uur. |
|
language
|
query |
string |
Taal waarin zoekresultaten moeten worden geretourneerd. Moet een van de ondersteunde IETF-taaltags zijn, niet hoofdlettergevoelig. Wanneer gegevens in de opgegeven taal niet beschikbaar zijn voor een specifiek veld, wordt de standaardtaal gebruikt. Raadpleeg ondersteunde talen voor meer informatie. |
|
pollutants
|
query |
boolean |
Booleaanse waarde die gedetailleerde informatie over elke verontreinigende stof retourneert. Standaard is Waar. |
Aanvraagkoptekst
Name | Vereist | Type | Description |
---|---|---|---|
x-ms-client-id |
string |
Hiermee geeft u op welk account is bedoeld voor gebruik in combinatie met het Microsoft Entra ID-beveiligingsmodel. Het vertegenwoordigt een unieke id voor het Azure Maps-account en kan worden opgehaald uit de Account-API van het Azure Maps-beheervlak. Zie de volgende artikelen voor hulp voor het gebruik van Microsoft Entra ID-beveiliging in Azure Maps. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Er is een onverwachte fout opgetreden. |
Beveiliging
AADToken
Dit zijn de Microsoft Entra OAuth 2.0 Flows. Wanneer deze is gekoppeld aan op rollen gebaseerd toegangsbeheer van Azure kan het worden gebruikt om de toegang tot Azure Maps REST API's te beheren. Op rollen gebaseerd toegangsbeheer van Azure wordt gebruikt om toegang aan te wijzen tot een of meer Azure Maps-resourceaccounts of subresources. Elke gebruiker, groep of service-principal kan toegang krijgen via een ingebouwde rol of een aangepaste rol die bestaat uit een of meer machtigingen voor Azure Maps REST API's.
Voor het implementeren van scenario's raden we u aan om verificatieconceptente bekijken. Kortom, deze beveiligingsdefinitie biedt een oplossing voor het modelleren van toepassingen via objecten die toegangsbeheer kunnen uitvoeren voor specifieke API's en bereiken.
Opmerkingen
- Deze beveiligingsdefinitie vereist het gebruik van de
x-ms-client-id
-header om aan te geven tot welke Azure Maps-resource de toepassing toegang aanvraagt. Dit kan worden verkregen via de Maps Management-API.
De Authorization URL
is specifiek voor het exemplaar van de openbare Azure-cloud. Onafhankelijke clouds hebben unieke autorisatie-URL's en Microsoft Entra ID-configuraties.
* Het op rollen gebaseerde toegangsbeheer van Azure wordt geconfigureerd vanuit het Azure-beheervlak via Azure Portal, PowerShell, CLI, Azure SDK's of REST API's.
* Gebruik van de Azure Maps Web SDK maakt configuratiegebaseerde installatie van een toepassing mogelijk voor meerdere gebruiksscenario's.
- Zie Overzicht van Microsoft Identity Platformvoor meer informatie over het Microsoft Identity Platform.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
https://atlas.microsoft.com/.default | https://atlas.microsoft.com/.default |
subscription-key
Dit is een gedeelde sleutel die wordt ingericht wanneer u Een Azure Maps-account maken in Azure Portal of met behulp van PowerShell, CLI, Azure SDK's of REST API.
Met deze sleutel heeft elke toepassing toegang tot alle REST API's. Met andere woorden, deze sleutel kan worden gebruikt als een hoofdsleutel in het account waarin ze worden uitgegeven.
Voor openbaar blootgestelde toepassingen is het raadzaam om de vertrouwelijke clienttoepassingen te gebruiken benadering voor toegang tot Azure Maps REST API's, zodat uw sleutel veilig kan worden opgeslagen.
Type:
apiKey
In:
query
SAS Token
Dit is een shared access Signature-token dat wordt gemaakt op basis van de bewerking List SAS op de Azure Maps-resource via het Azure-beheervlak via Azure Portal, PowerShell, CLI, Azure SDK's of REST API's.
Met dit token is elke toepassing gemachtigd voor toegang met op rollen gebaseerd toegangsbeheer van Azure en gedetailleerd beheer tot de vervaldatum, snelheid en regio(s) van gebruik voor het specifieke token. Met andere woorden, het SAS-token kan worden gebruikt om toepassingen toe te staan toegang op een veiligere manier te beheren dan de gedeelde sleutel.
Voor openbaar blootgestelde toepassingen wordt aangeraden een specifieke lijst met toegestane origins te configureren voor de resource van het Account toewijzen om het genereren van misbruik te beperken en het SAS-token regelmatig te vernieuwen.
Type:
apiKey
In:
header
Voorbeelden
Get Hourly Air Quality Forecasts
Voorbeeldaanvraag
GET https://atlas.microsoft.com/weather/airQuality/forecasts/hourly/json?api-version=1.1&query=47.632346,-122.138874&duration=12
Voorbeeldrespons
{
"results": [
{
"dateTime": "2021-07-19T04:00:00+00:00",
"index": 20.1,
"globalIndex": 19.9,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 7.5,
"globalIndex": 7.5,
"concentration": {
"value": 14.9,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 20.1,
"globalIndex": 19.9,
"concentration": {
"value": 49.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 11.6,
"globalIndex": 12.6,
"concentration": {
"value": 12.6,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.3,
"globalIndex": 6.9,
"concentration": {
"value": 3.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.2,
"globalIndex": 0.6,
"concentration": {
"value": 125.6,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.6,
"globalIndex": 1.2,
"concentration": {
"value": 1.2,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T05:00:00+00:00",
"index": 19.2,
"globalIndex": 19.1,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 7.8,
"globalIndex": 7.7,
"concentration": {
"value": 15.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 19.2,
"globalIndex": 19.1,
"concentration": {
"value": 47.6,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 11.9,
"globalIndex": 12.8,
"concentration": {
"value": 12.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.9,
"globalIndex": 7.1,
"concentration": {
"value": 3.6,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.4,
"globalIndex": 0.7,
"concentration": {
"value": 143.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.7,
"globalIndex": 1.3,
"concentration": {
"value": 1.3,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T06:00:00+00:00",
"index": 18.3,
"globalIndex": 18.2,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8,
"globalIndex": 8,
"concentration": {
"value": 16,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 18.3,
"globalIndex": 18.2,
"concentration": {
"value": 45.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 12.1,
"globalIndex": 13.1,
"concentration": {
"value": 13.1,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 15.4,
"globalIndex": 7.4,
"concentration": {
"value": 3.7,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.6,
"globalIndex": 0.8,
"concentration": {
"value": 162.1,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.4,
"concentration": {
"value": 1.4,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T07:00:00+00:00",
"index": 17.5,
"globalIndex": 17.3,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.3,
"globalIndex": 8.3,
"concentration": {
"value": 16.6,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 17.5,
"globalIndex": 17.3,
"concentration": {
"value": 43.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 12.4,
"globalIndex": 13.4,
"concentration": {
"value": 13.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 16,
"globalIndex": 7.7,
"concentration": {
"value": 3.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.8,
"globalIndex": 0.9,
"concentration": {
"value": 180.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.5,
"concentration": {
"value": 1.5,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T08:00:00+00:00",
"index": 16.9,
"globalIndex": 16.8,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.2,
"globalIndex": 8.2,
"concentration": {
"value": 16.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 16.9,
"globalIndex": 16.8,
"concentration": {
"value": 42,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 12.4,
"globalIndex": 13.3,
"concentration": {
"value": 13.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 15.4,
"globalIndex": 7.4,
"concentration": {
"value": 3.7,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.8,
"globalIndex": 0.9,
"concentration": {
"value": 180.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.9,
"globalIndex": 1.6,
"concentration": {
"value": 1.6,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T09:00:00+00:00",
"index": 16.4,
"globalIndex": 16.3,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.1,
"globalIndex": 8.1,
"concentration": {
"value": 16.2,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 16.4,
"globalIndex": 16.3,
"concentration": {
"value": 40.7,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 12.3,
"globalIndex": 13.3,
"concentration": {
"value": 13.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.8,
"globalIndex": 7.1,
"concentration": {
"value": 3.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.8,
"globalIndex": 0.9,
"concentration": {
"value": 181.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.9,
"globalIndex": 1.6,
"concentration": {
"value": 1.6,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T10:00:00+00:00",
"index": 15.9,
"globalIndex": 15.7,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.1,
"globalIndex": 8,
"concentration": {
"value": 16.1,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 15.9,
"globalIndex": 15.7,
"concentration": {
"value": 39.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 12.3,
"globalIndex": 13.3,
"concentration": {
"value": 13.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.2,
"globalIndex": 6.8,
"concentration": {
"value": 3.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.8,
"globalIndex": 0.9,
"concentration": {
"value": 181.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.9,
"globalIndex": 1.6,
"concentration": {
"value": 1.6,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T11:00:00+00:00",
"index": 15.8,
"globalIndex": 15.7,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.1,
"globalIndex": 8.1,
"concentration": {
"value": 16.2,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 15.8,
"globalIndex": 15.7,
"concentration": {
"value": 39.2,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 12.8,
"globalIndex": 13.8,
"concentration": {
"value": 13.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.5,
"globalIndex": 6.9,
"concentration": {
"value": 3.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.8,
"globalIndex": 0.9,
"concentration": {
"value": 179.1,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.6,
"concentration": {
"value": 1.6,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T12:00:00+00:00",
"index": 15.7,
"globalIndex": 15.6,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.2,
"globalIndex": 8.1,
"concentration": {
"value": 16.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 15.7,
"globalIndex": 15.6,
"concentration": {
"value": 39,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 13.3,
"globalIndex": 14.3,
"concentration": {
"value": 14.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.7,
"globalIndex": 7.1,
"concentration": {
"value": 3.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.8,
"globalIndex": 0.9,
"concentration": {
"value": 176.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.5,
"concentration": {
"value": 1.5,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T13:00:00+00:00",
"index": 15.7,
"globalIndex": 15.5,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 8.2,
"globalIndex": 8.2,
"concentration": {
"value": 16.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 15.7,
"globalIndex": 15.5,
"concentration": {
"value": 38.9,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 13.7,
"globalIndex": 14.8,
"concentration": {
"value": 14.8,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 15,
"globalIndex": 7.2,
"concentration": {
"value": 3.6,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.7,
"globalIndex": 0.9,
"concentration": {
"value": 173.7,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.5,
"concentration": {
"value": 1.5,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T14:00:00+00:00",
"index": 18.7,
"globalIndex": 18.6,
"dominantPollutant": "Ozone",
"category": "Excellent",
"categoryColor": "#00E39B",
"description": "The air quality is ideal for most individuals; enjoy your normal outdoor activities.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 7.7,
"globalIndex": 7.7,
"concentration": {
"value": 15.4,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 18.7,
"globalIndex": 18.6,
"concentration": {
"value": 46.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 13.8,
"globalIndex": 14.9,
"concentration": {
"value": 14.9,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.7,
"globalIndex": 7.1,
"concentration": {
"value": 3.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.6,
"globalIndex": 0.8,
"concentration": {
"value": 165.3,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.5,
"concentration": {
"value": 1.5,
"unit": "µg/m³",
"unitType": 31
}
}
]
},
{
"dateTime": "2021-07-19T15:00:00+00:00",
"index": 21.8,
"globalIndex": 22.4,
"dominantPollutant": "Ozone",
"category": "Fair",
"categoryColor": "#FFC300",
"description": "The air quality is generally acceptable for most individuals. However, sensitive groups may experience minor to moderate symptoms from long-term exposure.",
"pollutants": [
{
"type": "NO2",
"name": "Nitrogen Dioxide",
"index": 7.3,
"globalIndex": 7.2,
"concentration": {
"value": 14.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "O3",
"name": "Ozone",
"index": 21.8,
"globalIndex": 22.4,
"concentration": {
"value": 54.1,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM10",
"name": "Particulate Matter 10",
"index": 13.9,
"globalIndex": 15,
"concentration": {
"value": 15,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "PM2.5",
"name": "Particulate Matter 2.5",
"index": 14.5,
"globalIndex": 6.9,
"concentration": {
"value": 3.5,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "CO",
"name": "Carbon Monoxide",
"index": 1.6,
"globalIndex": 0.8,
"concentration": {
"value": 157,
"unit": "µg/m³",
"unitType": 31
}
},
{
"type": "SO2",
"name": "Sulfur Dioxide",
"index": 0.8,
"globalIndex": 1.6,
"concentration": {
"value": 1.6,
"unit": "µg/m³",
"unitType": 31
}
}
]
}
]
}
Definities
Name | Description |
---|---|
Air |
Informatie over de luchtkwaliteit op een specifieke locatie op een bepaald tijdstip. |
Air |
Dit object wordt geretourneerd na een geslaagde aanroep voor luchtkwaliteit ophalen. |
Dominant |
Type verontreinigende stof. Houd er rekening mee dat er op elk moment meer kan worden toegevoegd. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
Hourly |
Geeft aan voor hoeveel uur we over tijd willen weten over de luchtkwaliteit. Beschikbare waarden zijn 1, 12, 24, 48, 72, 96. De standaardwaarde is 1 uur. |
Json |
Gewenste indeling van het antwoord. Alleen |
Pollutant |
Gedetailleerde informatie over een individuele verontreinigende stof. Niet geretourneerd als |
Pollutant |
Type verontreinigende stof. Houd er rekening mee dat er op elk moment meer kan worden toegevoegd. |
Unit |
Numerieke ID-waarde die is gekoppeld aan het type eenheid dat wordt weergegeven. Kan worden gebruikt voor unitvertaling. Raadpleeg Weerservices in Azure Maps voor meer informatie. |
Weather |
Specifieke waarde van een bepaalde eenheid met betrekking tot het weer. |
AirQuality
Informatie over de luchtkwaliteit op een specifieke locatie op een bepaald tijdstip.
Name | Type | Description |
---|---|---|
category |
string |
Beschrijving in één woord van de luchtkwaliteit in de gevraagde taal. Bijvoorbeeld "Uitstekend". |
categoryColor |
string |
Een unieke kleur die overeenkomt met de categorie van dit luchtkwaliteitsresultaat. |
dateTime |
string (date-time) |
Datum en tijd van de huidige waarneming weergegeven in ISO 8601-indeling, bijvoorbeeld 2019-10-27T19:39:57-08:00. |
description |
string |
Een tekstuele uitleg van deze luchtkwaliteit resulteert in de gevraagde taal. |
dominantPollutant |
De verontreinigende stof met de hoogste concentratie. |
|
globalIndex |
number (float) |
Internationaal genormaliseerde luchtkwaliteitsclassificatie op een schaal van 0 tot 300 en hoger, waarbij hogere getallen staan voor een slechtere luchtkwaliteit. |
index |
number (float) |
Luchtkwaliteitsclassificatie op een schaal die is vastgesteld door lokale regelgevende instanties. Schalen kunnen sterk variëren, afhankelijk van de locatie. Zie Wikipedia voor meer informatie. |
pollutants |
Informatie over individuele verontreinigende stoffen. |
AirQualityResult
Dit object wordt geretourneerd na een geslaagde aanroep voor luchtkwaliteit ophalen.
Name | Type | Description |
---|---|---|
nextLink |
string |
Dit is de koppeling naar de volgende pagina van de geretourneerde functies. Als dit de laatste pagina is, is dit veld niet mogelijk. |
results |
Een lijst met alle luchtkwaliteitsresultaten voor de opgevraagde locatie. |
DominantPollutant
Type verontreinigende stof. Houd er rekening mee dat er op elk moment meer kan worden toegevoegd.
Waarde | Description |
---|---|
Carbon Monoxide |
Koolmonoxide ("CO") |
Nitrogen Dioxide |
Stikstofdioxide ("NO2") |
Ozone |
Ozon ("O3") |
Particulate Matter 10 |
Fijnstof 10 ("PM10") |
Particulate Matter 2.5 |
Fijnstof 2.5 ("PM2.5") |
Sulfur Dioxide |
Zwaveldioxide ("SO2") |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
HourlyDuration
Geeft aan voor hoeveel uur we over tijd willen weten over de luchtkwaliteit. Beschikbare waarden zijn 1, 12, 24, 48, 72, 96. De standaardwaarde is 1 uur.
Waarde | Description |
---|---|
1 |
1 uur |
12 |
12 uur |
24 |
24 uur |
48 |
48 uur |
72 |
72 uur |
96 |
96 uur |
JsonFormat
Gewenste indeling van het antwoord. Alleen json
indeling wordt ondersteund.
Waarde | Description |
---|---|
json |
De Notatie Data Interchange-indeling voor JavaScript-objecten |
Pollutant
Gedetailleerde informatie over een individuele verontreinigende stof. Niet geretourneerd als pollutants
=onwaar.
Name | Type | Description |
---|---|---|
concentration |
Een object met het aantal vervuilende deeltjes per volume lucht. |
|
globalIndex |
number (float) |
Internationaal genormaliseerde luchtkwaliteitsclassificatie op een schaal van 0 tot 300 en hoger, waarbij hogere getallen staan voor een slechtere luchtkwaliteit. |
index |
number (float) |
Luchtkwaliteitsclassificatie op een schaal die is vastgesteld door lokale regelgevende instanties. Schalen kunnen sterk variëren, afhankelijk van de locatie. Zie Wikipedia voor meer informatie. |
name |
string |
De naam van de verontreinigende stof in het Engels. |
type |
Type verontreinigende stof. Houd er rekening mee dat er op elk moment meer kan worden toegevoegd. |
PollutantType
Type verontreinigende stof. Houd er rekening mee dat er op elk moment meer kan worden toegevoegd.
Waarde | Description |
---|---|
CO |
Koolmonoxide ("CO") |
NO2 |
Stikstofdioxide ("NO2") |
O3 |
Ozon ("O3") |
PM10 |
Fijnstof 10 ("PM10") |
PM2.5 |
Fijnstof 2.5 ("PM2.5") |
SO2 |
Zwaveldioxide ("SO2") |
UnitType
Numerieke ID-waarde die is gekoppeld aan het type eenheid dat wordt weergegeven. Kan worden gebruikt voor unitvertaling. Raadpleeg Weerservices in Azure Maps voor meer informatie.
Waarde | Description |
---|---|
0 |
voeten |
1 |
inch |
10 |
meters per seconde |
11 |
hectoPascal |
12 |
inchesOfMercury |
13 |
kiloPascal |
14 |
millibaren |
15 |
millimeter kwik |
16 |
pondPerSquareInch |
17 |
Celsius |
18 |
Fahrenheit |
19 |
Kelvin |
2 |
mijlen |
20 |
procent |
21 |
zweven |
22 |
geheel getal |
3 |
millimeter |
31 |
MicrogramPerCubicMeterOfAir |
4 |
centimeter |
5 |
meter |
6 |
kilometer |
7 |
kilometers per uur |
8 |
Knopen |
9 |
mijlenPerUur |
WeatherUnit
Specifieke waarde van een bepaalde eenheid met betrekking tot het weer.
Name | Type | Description |
---|---|---|
unit |
string |
Type eenheid voor de geretourneerde waarde. |
unitType |
Unit |
Numerieke ID-waarde die is gekoppeld aan het type eenheid dat wordt weergegeven. Kan worden gebruikt voor unitvertaling. Raadpleeg Weerservices in Azure Maps voor meer informatie. |
value |
number (float) |
Afgeronde waarde. |