Book Image

Yii Project Blueprints

By : Charles R. Portwood ll
Book Image

Yii Project Blueprints

By: Charles R. Portwood ll

Overview of this book

Table of Contents (15 chapters)
Yii Project Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Google APIs


Before we begin work at the frontend of our application, we need to create an API key to interact with Google Maps and the Google Places API.

Enabling Google APIs

To enable the Google APIs our project is using, open up a web browser and navigate to the Google API Console located at https://console.developers.google.com/project. Once we have logged in to a Google account, we click on the Create Project button and fill out the form with a unique project name and project ID, as shown in the following screenshot:

Once the project has been created, we navigate to the newly created project and click on the APIs & auth link in the sidebar. From the list of APIs, we toggle both Google Maps JavaScript API v3 and Places API to ON, as shown in the following screenshot:

Generating an API key

With both APIs enabled for the project, we click on the Credentials link in the sidebar. From this menu, we can create a new API key for our application to use. Once on this page, we are presented with...