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

Web Scraping w/Python Livestream

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

RSVP NOW

Python Fundamentals

Easy way to learn fundamentals of Python for complete beginners

RSVP NOW