Pollen API
Pollen API。
服务:polen.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 图片的数据。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-05。
[null,null,["最后更新时间 (UTC):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"]]