Skip to main content

Serpnode.com API client for Python

Project description

Serpnode Python SDK (Unofficial)

Python client for the Serpnode API. Supports authentication via apikey header (default) or apikey query parameter. Implements status, search, options, and locations endpoints.

Install

pip install serpnode

Usage

from serpnode import Client
import os

client = Client(api_key=os.environ["SERPNODE_API_KEY"])  # or auth_in_query=True

print(client.status())
print(client.search({"q": "site:example.com", "engine": "google"}))
print(client.options())
print(client.locations({"q": "United States"}))

Authentication

  • Default: Authorization: Bearer <API_KEY>
  • Alternative: auth_in_query=True adds apikey=<API_KEY> to the query string

License

MIT

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

serpnode-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

serpnode-0.1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file serpnode-0.1.1.tar.gz.

File metadata

  • Download URL: serpnode-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for serpnode-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7092e0b441c5ff1e123fd9722837891e3b2363aff080e0297f226021515e3082
MD5 5f506bbdebe617584ef66075a169ea63
BLAKE2b-256 2d7b23802510c2317508f3eb78b21401ffc11ebf6bb7b44ee24093f9f8a7e649

See more details on using hashes here.

File details

Details for the file serpnode-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: serpnode-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for serpnode-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8708f4c12a0f6bcc03c579dffeb5b21178e613beb6e103b60ed867b5e7f5367
MD5 dc0dd4e6481a01aa991c76293403736c
BLAKE2b-256 bac65bf7e9b9788352c06d6f30cfa2dbb5da66e1bb37d55b9f1610a664b5a3f1

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