Skip to main content

ScrapeIt Python SDK

Official Python client for the ScrapeIt Web Scraping API and product APIs (Google SERP, Google Maps, Amazon, Website Crawler and more). Sync and async clients on httpx, request types generated from the ScrapeIt OpenAPI document.

pip install scrapeit-sdk
from scrapeit import Scrapeit, ScrapeitError

client = Scrapeit()  # reads SCRAPEIT_API_KEY, or pass Scrapeit("YOUR_API_KEY")

page = client.scrape(url="https://example.com", jsRendering=True)
print(page["data"])

results = client.google_search(q="coffee near me", gl="us")
import asyncio
from scrapeit import AsyncScrapeit

async def main() -> None:
    async with AsyncScrapeit() as client:
        job = await client.scrape_async(url="https://example.com")
        done = await client.wait_for_async_scrape(job["data"]["id"])
        print(done["data"]["status"])

asyncio.run(main())

Every method returns the API envelope {"data": ..., "meta": ...} and raises ScrapeitError with the stable API error code (for example INSUFFICIENT_CREDITS). 429, 500 and 503 responses are retried automatically with Retry-After.

Documentation: https://docs.scrapeit.io/guide/sdks

Metadata

Release files for scrapeit-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapeit-sdk 0.1.0
File Size Uploaded Provenance Actions
scrapeit_sdk-0.1.0.tar.gz 16.8 kB Without provenance Details for scrapeit_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scrapeit-sdk 0.1.0
File Interpreter ABI Platform Actions
scrapeit_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for scrapeit_sdk-0.1.0-py3-none-any.whl

Total release size: 31.7 kB

Release files / scrapeit_sdk-0.1.0.tar.gz

Download URL scrapeit_sdk-0.1.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8ce93c4395b9b4442815c72783ea00fc5c7e89abc112680c57ac234f51ba74
BLAKE2b-256 checksum
How to use checksums
b1439cfe3aaa242cb93887f6cc16c9f562ac0b4b9aad94764f923433c035d945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / scrapeit_sdk-0.1.0-py3-none-any.whl

Download URL scrapeit_sdk-0.1.0-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12ca11bfc32638e0c0c217b4a261aa2b246bdc87e1a0a1cc9ab060fec0381720
BLAKE2b-256 checksum
How to use checksums
e3548b0485d31dc4e3e4f0e6c32c2035b1c6696eb6d5e610434de0ce8bbf981b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Security for scrapeit-sdk 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page