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=Trueaddsapikey=<API_KEY>to the query string
License
MIT
Metadata
Release files for serpnode 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| serpnode-0.1.2.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| serpnode-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / serpnode-0.1.2.tar.gz
| Download URL | serpnode-0.1.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc85fa859c65bcca5ca0db1200f2b92cfa6f59fa50d9d9b3c2e8ab3b65a0f1dc
|
|
BLAKE2b-256 checksum How to use checksums |
56e23e9f04cb972c28a70d51f0e596b29b9b232c34b64ff71dc9448a10c43454
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Release files / serpnode-0.1.2-py3-none-any.whl
| Download URL | serpnode-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98cc1baadade07d35c228f4bf2f4bb90142f2d8aeda96dec506fe4deb77694a5
|
|
BLAKE2b-256 checksum How to use checksums |
4c5783b3dc46c29d1cb30c2b3d6e8c67ccc057f093c7b759ea86dadd2d4b8c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|