screenshotbase-python
Python client for the screenshotbase.com API.
- Website:
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
pip install screenshotbase
Quickstart
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:
client = Client(api_key="your_api_key")
client_qs = Client(api_key="your_api_key", auth_in_query=True)
API
status()→ API availability and quotarender(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/
License
MIT
Metadata
Release files for screenshotbase 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| screenshotbase-0.1.1.tar.gz | 2.9 kB | Without provenance | Details for screenshotbase-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| screenshotbase-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for screenshotbase-0.1.1-py3-none-any.whl |
Total release size: 5.9 kB
Release files / screenshotbase-0.1.1.tar.gz
| Download URL | screenshotbase-0.1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e01af5dfcdccf658aa2af6db8b9997ff572d41291982172a8622ee29aa54c87
|
|
BLAKE2b-256 checksum How to use checksums |
1a6144c54228116e319033ad280c8132b4110a233af0d3e6c5655008abb45f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Release files / screenshotbase-0.1.1-py3-none-any.whl
| Download URL | screenshotbase-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a72add7f215997f23ac3e06b0415c4f7c88ed4eaa659bd9266e88d5d811a82b4
|
|
BLAKE2b-256 checksum How to use checksums |
d241e67030291a39c57b647363e84e91653ddd6619219027d88f35856dddce43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Security for screenshotbase 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.