Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pigeonhands/snoo-rs

Work in progress async reddit client for rust
https://github.com/pigeonhands/snoo-rs

reddit reddit-api reddit-bot reddit-client rust rustlang

Last synced: about 1 month ago
JSON representation

Work in progress async reddit client for rust

Awesome Lists containing this project

README

        

# Snoo

[![](https://img.shields.io/crates/v/snoo?style=for-the-badge)](https://crates.io/crates/snoo)

Work in progress reddit client for rust.

See [/examples](https://github.com/pigeonhands/snoo-rs/tree/master/examples) for more.

```Rust
use snoo::Reddit;
```

```Rust
let r = Reddit::new()?;

let rust_subreddit = r.subreddit("rust");
let top_posts = rust_subreddit.top().await?;

for p in top_posts {
println!("{}", p.info().title)
}
```