joeyism / py-custom-google-search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-custom-google-search

This library is to ease with the usage of custom Google Search API. This means that you can use this library to programatically perform Google searches with the API, without the need for scraping (which means that it is much lighter).

Installation

To install, run

pip install custom-google-search

Usage

Getting CX Number and API Key

Follow this tutorial on how to get your CX Number and API Key

Programmatically

from custom_google_search import search
search("nike logo", key=API_KEY, cx=CX_NUMBER)

where API_KEY and CX_NUMBER are the API Key and CX Number respectively.

About

License:Apache License 2.0


Languages

Language:Python 100.0%