Pollen API に関するよくある質問
API にレート制限はありますか?
Pollen API には、1 分あたり 6,000 クエリというデフォルトのレート制限があります。
課金を有効にする必要はありますか?
Pollen API を使用するには、有効な請求先アカウントが必要です。請求先アカウントを使用してプロジェクトを設定するには、課金を有効にするをご覧ください。
サポートされていない地域をクエリするとどうなりますか?
緯度と経度がサポートされている国のリストに含まれていない場合は、レスポンスで 400 エラーコードと「このロケーションでは情報を利用できません。別の場所をお試しください。」
この植物に花粉に関するデータがないものの、対象国でサポートされている場合はどうなりますか?
選択した場所と日付の花粉データがない場合、レスポンスには、リクエストされた場所の対象となるすべての植物の植物コードと表示名が含まれ、他のデータ フィールドは含まれません。次に例を示します。
"dailyInfo": [
{
"date": {
"year": 2023,
"month": 6,
"day": 22
},
"pollenTypeInfo": [
{
"code": "GRASS",
"displayName": "Grass"
},
{
"code": "TREE",
"displayName": "Tree"
},
{
"code": "WEED",
"displayName": "Weed"
}
],
"plantsInfo": [
{
"code": "HAZEL",
"displayName": "Hazel"
}
{
...
}
]
}
]
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-06-26 UTC。
[null,null,["最終更新日 2024-06-26 UTC。"],[[["The Pollen API has a rate limit of 6,000 queries per minute and requires a valid billing account for usage."],["Requests for unsupported locations result in a 400 error, while requests for supported locations with missing pollen data return plant codes and display names without other data fields."]]],["The Pollen API has a default rate limit of 6,000 queries per minute, and a valid billing account is required for use. Querying unsupported locations results in a 400 error. If a location lacks pollen data but is within a supported country, the API returns the plant codes and display names without other data, such as pollen levels or counts. The response format shows date, plant type code, and display name.\n"]]