Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ce document décrit les conditions préalables à l'utilisation de l'API Pollen, comment l'activer et comment effectuer une requête authentifiée.
checklist
Assurez-vous de remplir les conditions préalables.
settings
Activez l'API dans votre projet Google Cloud.
verified_user
Configurez une clé API ou OAuth pour effectuer une requête d'API authentifiée.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/31 (UTC).
[null,null,["Dernière mise à jour le 2025/08/31 (UTC)."],[[["\u003cp\u003eGoogle Maps Platform products are secured using API keys, which are unique alphanumeric strings linked to your billing account for authentication and usage tracking.\u003c/p\u003e\n"],["\u003cp\u003eBefore using the Pollen API, ensure you have a Google Cloud project with billing enabled and the Pollen API activated.\u003c/p\u003e\n"],["\u003cp\u003eYou can create and manage API keys through the Google Cloud Console or the Cloud SDK.\u003c/p\u003e\n"],["\u003cp\u003eRestrict your API keys by limiting their usage to specific APIs and IP addresses to enhance security.\u003c/p\u003e\n"],["\u003cp\u003eInclude your API key in every Pollen API request using HTTPS for secure communication.\u003c/p\u003e\n"]]],["API keys are crucial for securing Google Maps Platform products, linking usage and billing to your project. To create one, go to the Google Maps Platform Credentials page and select \"Create credentials\" then \"API key,\" or use the Cloud SDK `gcloud services api-keys create` command. Restricting keys limits API usage, enhancing security and preventing unauthorized charges. This involves setting application and API restrictions through the Console, or updating restrictions via `gcloud services api-keys update`. Each request to the Pollen API must include the API key.\n"],null,["# Set up the Pollen API\n\nThis document describes the prerequisites for using the Pollen API, how to enable it,\nand then how to make an authenticated request.\n\n|--------------------------------------------------------------------|---|-------------------------------------------------------------------------|---|--------------------------------------------------------------------------------------------------------------|\n| checklist 1. Prerequisites Ensure that you meet the prerequisites. | | settings 2. Enable the API Enable the API in your Google Cloud project. | | verified_user 3. Make your first request Configure an API key or OAuth to make an authenticated API request. |"]]