Metadata-Version: 2.4
Name: serpnode
Version: 0.1.2
Summary: Serpnode.com API client for Python
Author-email: Your Name <you@example.com>
License: MIT
Project-URL: Homepage, https://serpnode.com/
Project-URL: Repository, https://github.com/everapihq/serpnode-python
Project-URL: Issues, https://github.com/everapihq/serpnode-python/issues
Keywords: serp,search,google,api,client,serpnode
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28

# 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

```bash
pip install serpnode
```

## Usage

```python
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
