Skip to main content

Serpnode.com API client for Python (unofficial)

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.0.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.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: serpnode-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 67d908853b5eb71b2d92248d5b896a4b3591ea40fc8ad7290d636c97e0efdbb7
MD5 b3f7590c177a9b1c6e1214b7c283d595
BLAKE2b-256 d527470ab0a41fea652f6688cd57f6ee3c68854785aee3c810c9fe4111efd11a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: serpnode-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b192c29c05d06427afa5e8cdacd8ebc6d903d5f12a9099d748ab9cb1f0143b61
MD5 6a351ad4b778137d4128187b2362a6ab
BLAKE2b-256 0df975c4e4a5cdec89ca3821fa8612ed0fdf6860f63af9153474dcc3162b9666

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