Obtaining a Google API key
To work with most of the Google APIs, you must have a Google API key. As such we will go through the steps involved in getting a Google API key.
Google API has certain limitations and constraints. Although most of the APIs are free to use for small- to medium-sized sites, you are bound by some rules. Please refer to each library for its rules and regulations.
Getting ready
To get through this recipe you must have a Google ID; if you do not have one, you will need to create one.
How to do it...
Let's list the steps required to gain access to the Google API:
Log in to the API console at https://code.google.com/apis/console.
Select the Services option from the left-hand side menu:
Activate the API that you want to use (for example, in the next recipe Building a Google map we will use the Google Maps API v3 service):
Again in the left-hand side menu select the API Access option. You will have to copy the API key and replace it in future Google API projects:
This is the only...