Google API Guide

Written by Art, June 19, 2017

Install Google API Client Library for Python

For more info and documentation:

https://developers.google.com/api-client-library/python/apis/

Installation:

pip install -U google-api-python-client

Create your Google Account

https://accounts.google.com/SignUp?hl=en

Login Google APIs

https://console.developers.google.com/

Create new project

--> Credentials --> Create new project

Create Credentials, Choose API Key Example:

API key = 'ACzaByCjbjVXlEm1Vl1xakoq-vF5tHdxB8rFiQ'

Go to Library, choose Google+ API, click "ENABLE"

Create Custom Search Engine

https://cse.google.com/cse/create/new

Create New Search Engine, enter sites you want to search Example:

*.huffingtonpost.com

Get Search engine ID

--> Edit search engine --> Select --> Search engine ID

Share with:

About author


Art

Art is a FinTech enthusiast who has a great passion for coding and teaching. He earned a M.Sc. from Adelphi University, Garden City, New York. Currently, he develops software for the financial services industry and leads classes and workshops in Python at PracticalProgramming.co

Python 101

This class aims to help beginners to feel justifiably confident to start using Python programming language

Learn more

Python for Data Science

Acquire Crucial Skills for the 21st century, Weekends , Master your analytical skills by working on real life projects

Learn more

Python Immersive

Become a proficient Python programmer, master programming skills by working on real life projects

Learn more

Web Scraping

We go through the whole process of gathering, storing and analyzing data from the Web

Learn more

Essential ML Techniques

Today’s modern machine learning libraries have thoughtful APIs that allow anyone who is comfortable with code to dive into ML

Learn more