buerostatus 0.1.0

A Rust crate that wraps the buerostatus API from https://github.com/fsr
Documentation

buerostatus-rs

A small Rust crate that wraps the API of fsr/buerostatus and tells wou whether someone is in the office.

Build Status Crates.io

Example

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!");
}

Usage & Documentation

Please check the documentation for details on certain functions and errors.

Roadmap

  • Write some examples
  • Add travis
  • Documentation
  • Maybe add function to get exact light value

License

This work is licensed under the MIT License. For more information, head over to the LICENSE file.