Skip to content

EchoTools/echovr-api-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rust bindings for the Echo VR API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages