Crates.io | snoo |
lib.rs | snoo |
version | 0.0.4 |
source | src |
created_at | 2020-05-15 10:12:16.912794 |
updated_at | 2020-05-17 02:23:01.902583 |
description | Reddit client. |
homepage | |
repository | https://github.com/pigeonhands/snoo-rs |
max_upload_size | |
id | 241816 |
size | 89,699 |
Work in progress reddit client for rust.
See /examples for more.
use snoo::Reddit;
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)
}