shinemonitor

Crates.ioshinemonitor
lib.rsshinemonitor
version0.1.2
sourcesrc
created_at2022-08-14 11:00:50.97871
updated_at2022-08-14 21:34:14.669935
descriptionRust library for the shinemonitor.com website
homepage
repositoryhttps://github.com/fnxln/shinemonitor-rs
max_upload_size
id645352
size13,723
Lin (fnxln)

documentation

https://docs.rs/shinemonitor

README

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"] }

Commit count: 8

cargo fmt