Pollen API
Pollen API。
服務:voteen.googleapis.com
如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果應用程式需要使用您自己的程式庫呼叫這項服務,請在發出 API 要求時使用下列資訊。
服務端點
服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:
https://pollen.googleapis.com
方法 |
lookup |
GET /v1/forecast:lookup
可在超過 65 個國家/地區傳回 5 天的每日花粉資訊,解析度最高可達 1 公里。 |
方法 |
lookupHeatmapTile |
GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}
傳回位元組陣列,其中包含圖塊 PNG 圖片的資料。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-05 (世界標準時間)。
[null,null,["上次更新時間:2024-08-05 (世界標準時間)。"],[[["The Pollen API provides daily pollen information with up to 1km resolution in over 65 countries using the `v1.forecast` resource."],["The API offers heatmap tile data through the `v1.mapTypes.heatmapTiles` resource, allowing retrieval of pollen visualization images."],["The service endpoint for the Pollen API is `https://pollen.googleapis.com`, and it is recommended to use Google-provided client libraries for interaction."]]],["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"]]