Professional Python SDK for JustSerpAPI
Project description
JustSerpAPI Python SDK
The most reliable and high-performance SERP API for Google Search, Maps, News, Shopping, and more.
🌐 Quick Links
- Official Website: justserpapi.com
- API Documentation: docs.justserpapi.com
- User Dashboard: user.justserpapi.com
- Support: support@justserpapi.com
🚀 Overview
JustSerpAPI provides a comprehensive suite of tools to scrape and parse search engine results in real-time. This Python SDK allows you to integrate Google Search, Maps, Images, News, Shopping, and AI-powered overviews directly into your Python applications with full type safety and high performance.
Key Features
- Full Google Coverage: Search, Maps, News, Shopping, Finance, Images, and Patents.
- AI-Powered: Access Google AI Overviews and AI Search modes.
- Easy Integration: Built-in authentication, automatic retries, and clean models.
- Type Safety: Full PEP 484 type hints support for a great developer experience.
🛠 Installation
Install the package via pip:
pip install justserpapi
📖 Getting Started
To start using the SDK, you need an API Key. You can get one from the User Dashboard.
Simple Search Example
import justserpapi
from justserpapi.api.google_api_api import GoogleAPIApi
from pprint import pprint
# Configure the SDK
configuration = justserpapi.Configuration(
host="https://api.justserpapi.com"
)
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY_HERE'
# Initialize the API client
with justserpapi.ApiClient(configuration) as api_client:
# Create an instance of the Google API
api_instance = GoogleAPIApi(api_client)
try:
# Search for "coffee shops in New York"
response = api_instance.search(
query="coffee shops in New York",
location="New York,NY",
language="en"
)
pprint(response)
except justserpapi.ApiException as e:
print(f"Exception when calling API: {e}")
🍱 Supported APIs
| Service | Method | Description |
|---|---|---|
| Google Search | search() |
Core Google search results (Organic, Ads, etc.) |
| Google Maps | maps_search() |
Local business listings and place details |
| Google AI | ai_overview() |
Extract AI-generated summaries from Google |
| Google Images | images_search() |
High-quality image search results |
| Google News | news_search() |
Real-time news results |
| Google Shopping | shopping_search() |
Comprehensive product and price data |
Check out the Full Documentation for a complete list of endpoints and parameters.
🛡️ Authentication
The API uses an API Key passed in the X-API-Key header. In the SDK, this is managed via the Configuration object:
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'
⚖️ License
Distributed under the MIT License. See LICENSE for more information.
Proudly maintained by the JustSerpAPI Team.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file justserpapi-1.0.1.tar.gz.
File metadata
- Download URL: justserpapi-1.0.1.tar.gz
- Upload date:
- Size: 51.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccd180058da34f2c5b33692ad488a22211d8ae10a60490f28e57f48b546d5da4
|
|
| MD5 |
a5d189aa2af2b35947279aeed94ae0c1
|
|
| BLAKE2b-256 |
31307dc8339f403892112d7c2ce3ad01e13b7b44371645ddd776a4b3bfabef0e
|
File details
Details for the file justserpapi-1.0.1-py3-none-any.whl.
File metadata
- Download URL: justserpapi-1.0.1-py3-none-any.whl
- Upload date:
- Size: 52.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a08ef50900186391f40d94e3dd923076f8eb44018e3d058ddf00fd6a51c799
|
|
| MD5 |
e498dba330c7fd69d63f4ec9e801d87b
|
|
| BLAKE2b-256 |
0a784cea039bbae332876f32ba90b2ddfdd8e4ce04bcc22e9a376baa7bd1a348
|