Skip to main content

Serpnode.com API client for Python

Project description

Serpnode Python SDK

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: serpnode-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 cc85fa859c65bcca5ca0db1200f2b92cfa6f59fa50d9d9b3c2e8ab3b65a0f1dc
MD5 5e623b25c35e6fb2b31c62d3309ebeef
BLAKE2b-256 56e23e9f04cb972c28a70d51f0e596b29b9b232c34b64ff71dc9448a10c43454

See more details on using hashes here.

File details

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

File metadata

  • Download URL: serpnode-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 98cc1baadade07d35c228f4bf2f4bb90142f2d8aeda96dec506fe4deb77694a5
MD5 ac4eb70e03b7706d7c495a58162511f1
BLAKE2b-256 4c5783b3dc46c29d1cb30c2b3d6e8c67ccc057f093c7b759ea86dadd2d4b8c83

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