protontweaks-api

Crates.ioprotontweaks-api
lib.rsprotontweaks-api
version0.4.2
sourcesrc
created_at2024-03-14 01:18:11.613337
updated_at2024-09-13 17:04:54.554647
descriptionapi for interacting with https://api.protontweaks.com
homepagehttps://protontweaks.com
repositoryhttps://github.com/ribbon-studios/protontweaks-api-rs
max_upload_size
id1172754
size52,425
Ceci (cecilia-sanare)

documentation

https://docs.rs/protontweaks-api/

README

Crates.io docs.rs

Coverage CI Build

protontweaks-api-rs

Rust api for interacting with https://api.protontweaks.com

Usage

// ...

const api = Protontweaks::new();

async fn my_code() -> Result<(), String> {
    let apps: Vec<MicroApp> = api.try_apps().await?;
    let apps: Vec<MicroApp> = api.apps().await;

    let app: App = api.try_app("644930").await?;
    let app: App = api.app("644930").await;

    let system_tweaks: SystemTweaks = app.flatten(); // This detects the local gpu and merges gpu-specific tweaks into the top level tweaks

    Ok(())
}
Commit count: 19

cargo fmt