scrapebadger 0.2.0

Async Rust SDK and CLI for the ScrapeBadger web-scraping API (Amazon, Google, Twitter/X, Reddit, Vinted, Web Scraping).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Reddit posts, comments, subreddits, users, and wiki content.
//!
//! The upstream OpenAPI spec does not type its 200 bodies, so the response
//! models in [`models`] were reverse-engineered from live API responses (see
//! `scripts/collect_reddit_samples.py`). The generated [`Reddit`] methods return
//! those typed structs; each tolerates missing/null/unknown fields.
//!
//! See <https://docs.scrapebadger.com/reddit/overview>.

mod generated;
pub use generated::*;

pub mod models;
pub use models::*;

/// Hand-written `*_stream` pagination adapters (methods on [`Reddit`]).
mod pagination;