Are you in the process of developing an application designed to incorporate one one or more of the Google APIs? Do you already have an application and want to add Google data to it? Before you can access most of the Google APIs you must register your project on Google Developer console. In this post we will look at how to create your first project and set up the consent screen.
This article is part of a 6 part series designed to help you on your way to becoming a Google Developer.
Let us get started ….
What is the Google Developer console?
The Google Developers Console is a site used by developers for for managing and viewing traffic data, authentication, and billing information for the Google APIs that their projects uses.
Within the Google Developers Console, you can find all the settings, credentials, and metadata about the application or applications you’re working on that make use of Google APIs. The Developers Console is where you manage the settings for your project, such as generating API credentials, activating APIs, and managing billing information for your project.
To access most Google APIs your project must be registered on the Google Developer console.
Why do I need to register my application?
By creating a project on the Google Developers console Google can keep track of which applications are making requests to their APIs. They can track the number of request that are being sent by each application and make sure that the API is not being excessively spammed by one application.
They can keep track of Quota (the number of requests being sent) in order to require billing if necessary.
Creating a new project
Once you click on Create a progress window will appear in the bottom right corner of your browser
Once it is complete click on the link and come to your new project.
One of the most important things to remember to set up first is the consent screen. Under APIs & auths -> credentials select the second tab oauth consent screen
Make sure that an email has been selected and give your project a name. This is the name that will appear to the users when they authenticate your application, the email address will also be shown to them for support.
Failure to supply this normally results in an Error: invalid_client no application name error from Google.
We have now created our first project on Google Developers console. Remember it is very important to set the information on the consent screen to avoid an invalid_client error from Google when making requests.
Join me in the next post where we will look at adding APIs to our project and discuss the quota for the APIs.
Remember to check the previous post in this series. Google Development for Beginners