SDK Overview
Official Capture API SDKs for Node.js, Python, Go, Rust, Ruby, and PHP. Integrate screenshot, PDF, and content capture capabilities with language-native tooling and comprehensive examples.
Capture API provides official SDKs for popular programming languages, making it easy to integrate screenshot, PDF, and content capture capabilities into your applications.
Available SDKs
Node.js SDK
- Repository: techulus/capture-node
- Package:
capture-node - Language: JavaScript/TypeScript
- Features: Full API coverage, TypeScript support, Promise-based
Python SDK
- Repository: techulus/capture-py
- Package:
capture-sdk - Language: Python
- Features: Async/await support, type hints, URL builders and direct fetch methods
Go SDK
- Repository: techulus/capture-go
- Package:
github.com/techulus/capture-go - Language: Go
- Features: Idiomatic Go interfaces, comprehensive error handling
Rust SDK
- Repository: techulus/capture-rust
- Package:
capture-rust - Language: Rust
- Features: Memory-safe, async/await support, strong typing
Ruby SDK
- Repository: techulus/capture-ruby
- Package:
capture_page - Language: Ruby
- Features: Simple API, Rails-friendly, edge endpoint support
PHP SDK
- Repository: techulus/capture-php
- Package:
techulus/capture - Language: PHP
- Install:
composer require techulus/capture - Features: Composer-friendly distribution, lightweight request URL generation, simple API authentication flow
Need help deciding? Check out the individual SDK guides for comprehensive examples and integration patterns.
Execute a Capture action POST
Executes a deterministic browser action against the session's active page. If the request lands on a non-owner API instance, Capture routes the action to the owning instance through Redis. Responses for existing sessions include `expiresInSeconds`, the remaining lifetime at the time the action response is sent.
Capture CLI
Command-line interface for Capture API. Take screenshots, generate PDFs, extract content and metadata from any URL directly from your terminal.