Pollen API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pollen API.
Usługa: pyłki.googleapis.com
Do wywołania tej usługi zalecamy użycie dostarczonych przez Google bibliotek klienta. Jeśli do wywoływania tej usługi aplikacja musi używać Twoich własnych bibliotek, podczas tworzenia żądań do interfejsu API użyj podanych niżej informacji.
Punkt końcowy usługi
Punkt końcowy usługi to podstawowy adres URL, który określa adres sieciowy usługi interfejsu API. Jedna usługa może mieć wiele punktów końcowych. Ta usługa ma następujący punkt końcowy i wszystkie poniższe identyfikatory URI są względne wobec tego punktu końcowego:
https://pollen.googleapis.com
Metody |
lookup |
GET /v1/forecast:lookup
Zwraca dane o stężeniu pyłków dziennie z maksymalnie 5 dni w ponad 65 krajach (z dokładnością do 1 km). |
Metody |
lookupHeatmapTile |
GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y} Zwraca tablicę bajtów zawierającą dane kafelka obrazu PNG. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-29 UTC."],[[["\u003cp\u003eThe Pollen API provides daily pollen information with up to 1km resolution in over 65 countries using the \u003ccode\u003ev1.forecast\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers heatmap tile data through the \u003ccode\u003ev1.mapTypes.heatmapTiles\u003c/code\u003e resource, allowing retrieval of pollen visualization images.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoint for the Pollen API is \u003ccode\u003ehttps://pollen.googleapis.com\u003c/code\u003e, and it is recommended to use Google-provided client libraries for interaction.\u003c/p\u003e\n"]]],["The Pollen API, accessible via `pollen.googleapis.com`, offers two main resources: `v1.forecast` and `v1.mapTypes.heatmapTiles`. The `v1.forecast` resource, using the `lookup` method, retrieves up to five days of daily pollen data across 65+ countries, at a resolution of up to 1km. The `v1.mapTypes.heatmapTiles` resource, via the `lookupHeatmapTile` method, returns a PNG image byte array for pollen heatmap tiles, specified by map type, zoom, and x/y coordinates. These calls are made via GET methods.\n"],null,["# Pollen API\n\nThe Pollen API.\n\n- [REST Resource: v1.forecast](#v1.forecast)\n- [REST Resource: v1.mapTypes.heatmapTiles](#v1.mapTypes.heatmapTiles)\n\nService: pollen.googleapis.com\n------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://pollen.googleapis.com`\n\nREST Resource: [v1.forecast](/maps/documentation/pollen/reference/rest/v1/forecast)\n-----------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [lookup](/maps/documentation/pollen/reference/rest/v1/forecast/lookup) | `GET /v1/forecast:lookup` Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution. |\n\nREST Resource: [v1.mapTypes.heatmapTiles](/maps/documentation/pollen/reference/rest/v1/mapTypes.heatmapTiles)\n-------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [lookupHeatmapTile](/maps/documentation/pollen/reference/rest/v1/mapTypes.heatmapTiles/lookupHeatmapTile) | `GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}` Returns a byte array containing the data of the tile PNG image. |"]]