Google-Search-API-Wrapper
PythonPython wrapper for Google Search API.
A simple Python wrapper for Google's Custom Search JSON API. Enables programmatic web and image searches with customizable queries and result limits.
python google search api
[features]
Web Search
Programmatic Google web searches
Image Search
Search for images via API
Formatted Results
Titles, links, snippets, images
Customizable
Query options and result limits
[install]
git clone https://github.com/RMNCLDYO/Google-Search-API-Wrapper.git
cd Google-Search-API-Wrapper
pip install -r requirements.txt [usage]
from search import GoogleSearch
search = GoogleSearch()
results = search.web("Python programming", max_results=10)
images = search.images("cats", max_results=5) [requirements]
- Python 3.x
- Google Custom Search API key
- Programmable Search Engine ID
[license]
This project is licensed under the MIT license.