echovr 0.2.1

Rust bindings for the Echo VR HTTP API
Documentation

echovr-api-rs

Rust bindings for the Echo VR HTTP API.

Requirements

  • Echo VR must be running
  • The API must be enabled in Echo VR's settings
  • Nothing else can be bound to port 6721

If you're having port conflicts, run net stop HTTP in an admin prompt.

Usage

[dependencies]

echovr = "0.2.1"

use echovr::Client;

fn main() {
    let client = Client::new();

    match client.fetch_session() {
        Ok(session) => {
            println!("Blue {} | Orange {}", session.blue_points, session.orange_points);
        }
        Err(e) => eprintln!("Error: {}", e),
    }
}

License

GPL-3.0