https://github.com/zemse/scrapebadger-rust
Async Rust SDK and CLI for the ScrapeBadger web-scraping API (Amazon, Google, Twitter/X, Reddit, Vinted, Web Scraping) — 137 endpoints, generated from OpenAPI, plus real-time Twitter Streams.
https://github.com/zemse/scrapebadger-rust
Last synced: 17 days ago
JSON representation
Async Rust SDK and CLI for the ScrapeBadger web-scraping API (Amazon, Google, Twitter/X, Reddit, Vinted, Web Scraping) — 137 endpoints, generated from OpenAPI, plus real-time Twitter Streams.
- Host: GitHub
- URL: https://github.com/zemse/scrapebadger-rust
- Owner: zemse
- License: mit
- Created: 2026-06-09T08:01:56.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2026-06-09T08:04:53.000Z (17 days ago)
- Last Synced: 2026-06-09T10:05:35.194Z (17 days ago)
- Language: Rust
- Size: 270 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# scrapebadger (Rust)
Async Rust SDK and CLI for the [ScrapeBadger](https://scrapebadger.com)
web-scraping API — **137 endpoints** across Amazon, Google, Twitter/X, Reddit,
Vinted, Web Scraping, and Account, plus real-time Twitter Streams.
One crate, a library and a binary both named `scrapebadger`. Typed models are
generated from ScrapeBadger's OpenAPI specs; the namespace layer is hand-written.
- 📦 **Crate usage & quickstart:** [`crates/scrapebadger/README.md`](crates/scrapebadger/README.md)
- 🏗️ **Design + full endpoint reference:** [`ARCHITECTURE.md`](ARCHITECTURE.md)
- ✅ **Build status:** [`TASKS.md`](TASKS.md)
## Layout
```
crates/scrapebadger/ the published crate (lib + bin)
specs/ vendored OpenAPI specs (codegen source of truth)
xtask/ the OpenAPI → Rust generator
```
## Quick start
```bash
# regenerate the typed bindings + CLI command tree from specs/
cargo run -p xtask -- gen
# build & test
cargo build --workspace
cargo test -p scrapebadger
# use the CLI — every endpoint is a nested subcommand
export SCRAPEBADGER_API_KEY=sb_live_xxx
cargo run -p scrapebadger -- account me
cargo run -p scrapebadger -- reddit subreddits posts sneakers --sort new
cargo run -p scrapebadger -- reddit --help # lists every reddit command at once
```
See [`crates/scrapebadger/docs/CLI.md`](crates/scrapebadger/docs/CLI.md) for the
full 137-command reference.
## License
MIT — see [LICENSE](LICENSE).