Crates.io | jservice |
lib.rs | jservice |
version | 0.1.4 |
source | src |
created_at | 2016-05-23 07:08:35.637093 |
updated_at | 2016-10-04 01:54:12.856716 |
description | A jService API wrapper. |
homepage | |
repository | https://github.com/Vectorious/jservice-rs |
max_upload_size | |
id | 5151 |
size | 19,724 |
A jService API wrapper for Rust.
https://vectorious.github.io/jservice-rs/
extern crate jservice;
use jservice::Clue;
fn main() {
// get 20 random clues
let clues: Vec<Clue> = jservice::get_random(Some(20)).unwrap();
for clue in clues {
println!("{}", clue.question);
}
}