Crates.io | buerostatus |
lib.rs | buerostatus |
version | 0.1.1 |
source | src |
created_at | 2016-05-26 14:40:35.937864 |
updated_at | 2017-01-24 23:30:15.111696 |
description | A Rust crate that wraps the buerostatus API from https://github.com/fsr |
homepage | https://github.com/Feliix42/buerostatus-rs |
repository | https://github.com/Feliix42/buerostatus-rs |
max_upload_size | |
id | 5192 |
size | 5,098 |
A small Rust crate that wraps the API of fsr/buerostatus and tells wou whether someone is in the office.
if let Ok(is_open) = get_buerostatus() {
if is_open { println!("Someone's inside!"); }
else { println!("No one is there..."); }
}
else {
println!("An error occured!");
}
Please check the documentation for details on certain functions and errors.
This work is licensed under the MIT License. For more information, head over to the LICENSE
file.