Skip to main content

Professional Python SDK for JustSerpAPI

Project description

JustSerpAPI Logo

JustSerpAPI Python SDK

PyPI version Python Versions Documentation License

The most reliable and high-performance SERP API for Google Search, Maps, News, Shopping, and more.


🌐 Quick Links


🚀 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

justserpapi-1.0.2.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

justserpapi-1.0.2-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

Details for the file justserpapi-1.0.2.tar.gz.

File metadata

  • Download URL: justserpapi-1.0.2.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for justserpapi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b24217320b6f9ef801d4288fd67286dac4b38cef1b042815201fa5fb9fecf5cc
MD5 8c7263ee71fd8d5e7f0b437d6e76dd11
BLAKE2b-256 790899e54c60be1969d3132faa25b26ecbba990441d975aaf9773bdbb4f2f517

See more details on using hashes here.

File details

Details for the file justserpapi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: justserpapi-1.0.2-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

Hashes for justserpapi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 845e6ca2d366e07bb5fec0846a20d67add3a2af73ea62fb41704f744b2e80db6
MD5 cac82f3e2813cda0e6b40b4dcd5764f2
BLAKE2b-256 d38e8ea833ba57e7a96efd68fbae007a157666edf1b1438f0c6cb2aa1283d266

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page