semvec/pypi-packages huggingface dataset:
serpnode 0.1.2
Serpnode.com API client for Python
License: MIT
Requires Python: >=3.8
Keywords: serp, search, google, api, client, serpnode

# 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
screenshotbase 0.1.1
Python client for screenshotbase.com API
License: MIT
Requires Python: >=3.8

### screenshotbase-python

Python client for the `screenshotbase.com` API.

- Website: [`https://screenshotbase.com/`](https://screenshotbase.com/)
- Docs: [`https://screenshotbase.com/docs/`](https://screenshotbase.com/docs/)

This SDK wraps the public endpoints and supports authentication via `apikey` header (default) or `apikey` query parameter.

### Installation

```bash
pip install screenshotbase
```

### Quickstart

```python
from screenshotbase.client import Client
import os

client = Client(api_key=os.environ.get("SCREENSHOTBASE_API_KEY"))

# Status
print(client.status())

# Render screenshot
print(client.render({
    "url": "https://example.com",
    "full_page": True,
    "viewport": "1366x768",
    "format": "png",
}))
```

### Authentication

Header (default) vs query parameter auth:

```python
client = Client(api_key="your_api_key")
client_qs = Client(api_key="your_api_key", auth_in_query=True)
```

### API

- `status()` → API availability and quota
- `render(params)` → website screenshot render. Example params: `{ "url": "https://example.com", "viewport": "1366x768", "full_page": True, "format": "png" }`

For full parameters, see docs: [`https://screenshotbase.com/docs/`](https://screenshotbase.com/docs/)

### License

MIT