AI-generated Key Takeaways
-
To begin coding your client application, you must first obtain a Google Account, create a project in the Google API Console, and set up your app.
-
Creating a project involves informing Google about your client and activating API access using the Google API Console, where you can register your application and manage settings.
-
Before making requests to the API, ensure you've set up authorization and consider utilizing client libraries if your language is supported.
Before you can start coding your first client application, you need to do three things:
- Get a Google Account
- Create a project
- Set up your app
This guide walks you through those tasks, if you haven't done them already.
1. Get a Google Account
You need a Google Account in order to create a project in the Google API Console. If you already have an account, then you're all set. You may also want a separate Google Account for testing purposes.
2. Create a project for your client
Before you can send requests to the People API, you need to tell Google about your client and activate access to the API. You do this by using the Google API Console to create a project, which is a named collection of settings and API access information, and register your application.
To get started using People API, you need to first use the setup tool, which guides you through creating a project in the Google API Console, enabling the API, and creating credentials.
3. Set up your app
If you are using one of the supported languages, consider using one of the client libraries. Before you can make requests to the API, you must set up authorization.
Take a look at the quick start sample code which shows you how to fetch a list of contacts in a variety of languages.