Setting up access to the Data Commons API
Creating an API Key
Using the Data Commons API requires you to provision an API key on Google Cloud Platform (GCP). Follow these steps to create your own key.
- Start by creating a GCP Project and enabling billing for that project.
After creating your project, you can navigate to the GCP Console to create an API key.
- Begin by navigating to APIs & Services > Credentials in the side bar or by clicking on this link.
- Click Create Credentials then select API Key.
Once you do this, you’ll be presented a key that you can copy to your clipboard.
Enable the Data Commons API
Additionally, you will need to enable the Data Commons API on GCP. To enable the API, do the following: