Reference

Search Client

Main entry points for making requests and working with responses.

Client

A class that handles API requests to SerpApi in a user-friendly manner.

SerpResults

A dictionary-like object that represents the results of a SerpApi request.

Exceptions

Errors raised by the client for API, HTTP, connection, and timeout failures.

SerpApiError

Base class for exceptions in this module.

APIKeyNotProvided

API key is not provided.

SearchIDNotProvided

Search ID is not provided.

HTTPError

HTTP Error.

HTTPConnectionError

Connection Error.

TimeoutError

Timeout Error.