Skip to main content

gcrawl-sdk

Official Python SDK for GCrawl — Scrape, crawl, screenshot, fetch links, and search web pages with ease.

Installation

pip install gcrawl-sdk

Quick Start

from gcrawl_sdk import GcrawlClient, ScrapeOptions

client = GcrawlClient(api_key="your-api-key")

# Scrape a website (synchronous polling)
result = client.scrape(
    url="https://gramosoft.tech",
    options=ScrapeOptions(markdown_enabled=True, screenshot_enabled=True),
    wait=True
)
print("Scraped Markdown:", result.markdown)
print("Screenshot URL:", result.screenshot_url)

# Search web synchronously
search_res = client.search("gramosoft", limit=5, geo="IN")
for res in search_res.results:
    print(res.position, res.title, res.url)

API Key

Set your API key as an environment variable:

export GCRAWL_API_KEY="your-api-key"

Or pass it directly to the client:

client = GcrawlClient(api_key="your-api-key")

Release files for gcrawl-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 gcrawl-sdk 0.1.0
File Size Uploaded
gcrawl_sdk-0.1.0.tar.gz 8.1 kB Details

Built distribution (wheel)

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

Total release size: 18.5 kB

Release files / gcrawl_sdk-0.1.0.tar.gz

Download URL gcrawl_sdk-0.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a856bd0d6e6e909f0519a6415b1064c49c330609d257554965dd31689555a547
BLAKE2b-256 checksum
How to use checksums
b30530cd44c70b6ac00e872f015e14431d0783c6985691c13eb62e1fa5f3d13a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

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

Download URL gcrawl_sdk-0.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b23f290215ba07394cddf0be013c765e53aa5e41ecf598999f4ec7442d31185
BLAKE2b-256 checksum
How to use checksums
eac63efd28fe056f25c81ec61ca9de218c6e1d24ad816cc5cdf470da38a7053b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

0.5.5

2 release files

0.5.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

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