8 releases (3 stable)

1.2.0 Jan 1, 2023
1.1.0 Aug 9, 2022
1.0.0 May 26, 2022
1.0.0-beta.0 Apr 22, 2022
0.0.2 Jun 21, 2021

#15 in #reddit

38 downloads per month

MIT license


RRAW crates.io Documentation Rust

Rust Reddit API Wrapper is a basic Rust Wrapper for Reddit. It gives simple and easy use to common tasks done via the Reddit API. It also does very little processing of the Reddit API giving you near raw results from the Reddit API.


  • Support for Anonymous and Logged in Browsing
  • Async Backend powered by Tokio and Reqwest
  • Raw Data results from Reddit API
  • Made for Rust 2021

How to get started

Here is a small crash course. However, please review the tests directory for more examples

    pub async fn main() -> anyhow::Result<()> {
    // Create a Client passing a Authenticator into it. Also give the Client a user agent
    let client =
        Client::login(AnonymousAuthenticator::new(), "RRAW Test (by u/KingTuxWH)").await?;
    /// Get the about page of the user
    let user = client.user("KingTuxWH").await?;
    /// About pages implement Display giving you their name
    println!("Username: {}", user.about);


~253K SLoC