CrewAI tools for SnapRender Screenshot API — capture websites as PNG, JPEG, WebP, or PDF
Project description
crewai-snaprender
CrewAI tools for SnapRender Screenshot API. Lets your CrewAI agents capture website screenshots as PNG, JPEG, WebP, or PDF.
Install
pip install crewai-snaprender
Setup
export SNAPRENDER_API_KEY="sk_live_your_key_here"
Get a free key at app.snap-render.com — 50 screenshots/month, no credit card.
Usage
from crewai import Agent, Task, Crew
from crewai_snaprender import SnapRenderScreenshotTool, SnapRenderCacheTool, SnapRenderUsageTool
researcher = Agent(
role="Web Researcher",
goal="Capture and analyze website screenshots",
backstory="You are a visual web analyst.",
tools=[SnapRenderScreenshotTool(), SnapRenderCacheTool(), SnapRenderUsageTool()],
)
task = Task(
description="Take a screenshot of stripe.com in dark mode on iPhone",
expected_output="Screenshot file path and metadata",
agent=researcher,
)
crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()
Tools
SnapRenderScreenshotTool
Capture any website as PNG, JPEG, WebP, or PDF with device emulation, dark mode, ad blocking, and more.
SnapRenderCacheTool
Check if a screenshot is cached (free, doesn't count against quota).
SnapRenderUsageTool
Get current month's usage stats.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crewai_snaprender-0.1.0.tar.gz.
File metadata
- Download URL: crewai_snaprender-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b19ba837b48cb4b76f9b3bb450c5b880140ff7911dbb9196d4b65e86642f4d30
|
|
| MD5 |
7a222e38bc53cbd15af06bcc3a705bc8
|
|
| BLAKE2b-256 |
6845f7968d6907770b996956f51cc6593bac4c42b9356fadd9d3d2f5bcd778ec
|
File details
Details for the file crewai_snaprender-0.1.0-py3-none-any.whl.
File metadata
- Download URL: crewai_snaprender-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cef3bcecb49f2b92e4b8e8569c0ce2d9c60c90e128c21c5bc41377636376f337
|
|
| MD5 |
7edcb7656075652885bf8ab02fcf9ac1
|
|
| BLAKE2b-256 |
7104ab201e04176acc2df3a1691e12db53cbbef8ce2e6f77729b5bd80dcf2bc1
|