Skip to content

fnxln/shinemonitor-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shinemonitor-rs

Rust libary for the shinemonitor.com website

(username and password required)

Example

use shinemonitor::ShineMonitorClient;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>>{
    let client = ShineMonitorClient::default();
    let res = client
    .auth("johnsmith","temp123")
    .await?
    .pid()
    .await?;
    
    println!("Pid Json: {:?}",res);

    Ok(())
}

Cargo.toml

shinemonitor = "0.1.0"
tokio = { version = "1", features = ["full"] }

About

An api wrapper for shinemonitor.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages