Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Dodatkowe funkcje, które możesz włączyć. Jeśli podasz dodatkowe obliczenia, w odpowiedzi zostaną zwrócone odpowiednie elementy i pola.
Wartości w polu enum
EXTRA_COMPUTATION_UNSPECIFIED
Wartość domyślna. Serwer ignoruje go, jeśli jest przekazywany jako parametr.
LOCAL_AQI
Określa, czy w odpowiedzi ma być umieszczony lokalny (krajowy) indeks AQI żądanej lokalizacji (kraju).
Jeśli odpowiedź zostanie określona, będzie zawierać strukturę danych „air_quality_index” ze wszystkimi istotnymi danymi dotyczącymi lokalnego indeksu AQI lokalizacji.
HEALTH_RECOMMENDATIONS
Określa, czy odpowiedź będzie zawierać porady zdrowotne i zalecane działania w bieżących warunkach indeksu AQI.
Rekomendacje są dostosowane do ogólnej populacji i 6 osób w grupach ryzyka, które czują się bardziej wrażliwe na zanieczyszczenia niż ogólna populacja.
Jeśli jest ono określone, pole healthRecommendations zostanie wypełnione w odpowiedzi na dostępne dane.
POLLUTANT_ADDITIONAL_INFO
Określa, czy w odpowiedzi ma znaleźć się dodatkowe informacje o każdym zanieczyszczeniu.
Jeśli jest określony, każdy obiekt indeksu jakości powietrza zawarty w odpowiedzi pola „indeksy” zawiera pole additionalInfo, gdy dane są dostępne.
DOMINANT_POLLUTANT_CONCENTRATION
Określa, czy w odpowiedzi będzie stężenie dominujących zanieczyszczeń mierzone zgodnie z globalnymi i lokalnymi indeksami.
Jeśli w żądaniu określono zarówno globalny, jak i lokalny indeks AQI, mogą zostać zwrócone maksymalnie 2 kody zanieczyszczeń.
Jeśli jest określony, dominujący obiekt zanieczyszczeń znajdujący się na liście „zanieczyszczenia” będzie zawierać pole concentration, gdy dane będą dostępne.
POLLUTANT_CONCENTRATION
Określa, czy w odpowiedzi uwzględnione byłyby stężenia wszystkich zanieczyszczeń z dostępnymi pomiarami zgodnie z globalnymi i lokalnymi indeksami.
Jeśli podasz wartość, każdy obiekt zanieczyszczenia umieszczony w polu „zanieczyszczenia” w odpowiedzi będzie zawierać pole concentration, gdy dane będą dostępne.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eYou can optionally enable extra computations to retrieve specific data points in the response.\u003c/p\u003e\n"],["\u003cp\u003eAvailable options include: retrieving the local Air Quality Index (AQI), health recommendations based on the AQI, additional pollutant information, and dominant or all pollutant concentrations.\u003c/p\u003e\n"],["\u003cp\u003eBy default, no extra computations are performed.\u003c/p\u003e\n"],["\u003cp\u003eSpecifying these options enriches the response with relevant details about air quality.\u003c/p\u003e\n"]]],["The content outlines optional extra computations that can be enabled to enrich API responses. These include retrieving the location's local AQI (`LOCAL_AQI`), health advice based on AQI (`HEALTH_RECOMMENDATIONS`), detailed pollutant information (`POLLUTANT_ADDITIONAL_INFO`), dominant pollutant concentrations (`DOMINANT_POLLUTANT_CONCENTRATION`), and concentrations of all measured pollutants (`POLLUTANT_CONCENTRATION`). Enabling these options will add specific fields and data structures to the response, providing more comprehensive information. The `EXTRA_COMPUTATION_UNSPECIFIED` ignores the parameter.\n"],null,["# ExtraComputation\n\nAdditional features that can be optionally enabled. Specifying extra computations will result in the relevant elements and fields to be returned in the response.\n\n| Enums ||\n|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `EXTRA_COMPUTATION_UNSPECIFIED` | The default value. The server ignores it if it is passed as a parameter. |\n| `LOCAL_AQI` | Determines whether to include the local (national) AQI of the requested location (country) in the response. If specified, the response will contain an 'air_quality_index' data structure with all the relevant data on the location's local AQI. |\n| `HEALTH_RECOMMENDATIONS` | Determines whether the response will include the health advice and recommended actions for the current AQI conditions. The recommendations are tailored for the general population and six populations at risk groups with greater sensitivities to pollutants than the general population. If specified, the `healthRecommendations` field will be populated in the response when the relevant data is available. |\n| `POLLUTANT_ADDITIONAL_INFO` | Determines whether to include in the response the additional information of each pollutant. If specified, each air quality index object contained in the 'indexes' field response will include an `additionalInfo` field when the data is available. |\n| `DOMINANT_POLLUTANT_CONCENTRATION` | Determines whether the response would include the concentrations of the dominant pollutants measured according to global and/or local indexes. If the request specified both the global AQI and the local AQI, there may be up to two pollutant codes returned. If specified, the dominant pollutant object contained in the 'pollutants' list will include a `concentration` field when the data is available. |\n| `POLLUTANT_CONCENTRATION` | Determines whether the response would include the concentrations of all pollutants with available measurements according to global and/or local indexes. If specified, each pollutant object contained in the 'pollutants' field in the response will include a `concentration` field when the data is available. |"]]