| Crates.io | screenshotbase |
| lib.rs | screenshotbase |
| version | 0.1.0 |
| created_at | 2025-10-02 09:15:18.30281+00 |
| updated_at | 2025-10-02 09:15:18.30281+00 |
| description | Rust client for the screenshotbase.com API |
| homepage | https://screenshotbase.com/ |
| repository | https://github.com/everapihq/screenshotbase-rs |
| max_upload_size | |
| id | 1864075 |
| size | 45,521 |
Rust client for the screenshotbase.com API.
https://screenshotbase.com/https://screenshotbase.com/docs/[dependencies]
screenshotbase = "0.1"
use screenshotbase::{ScreenshotBaseClient, AuthMethod};
# #[tokio::main]
# async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = ScreenshotBaseClient::builder("YOUR_API_KEY")
.with_auth_method(AuthMethod::Header)
.build();
let status = client.status().await?;
println!("{:?}", status);
let render = client.render(&[("url", "https://example.com"), ("format", "png")]).await?;
println!("{:?}", render);
# Ok(())
# }
MIT