orca 0.7.0

A Reddit API client for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! This example is the processing of a stream of every comment submitted to Reddit in real time.

extern crate orca;

use orca::App;

fn main() {
	let reddit = App::new("orca_stream_example", "1.0", "/u/IntrepidPig").unwrap();

	for comment in reddit.create_comment_stream("all") {
		println!("{}: {}\n", comment.author, comment.body);
	}
}