#com #api #protontweaks

protontweaks-api

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

7 unstable releases (3 breaking)

0.4.2 Sep 13, 2024
0.4.1 May 1, 2024
0.3.1 Mar 26, 2024
0.2.0 Mar 20, 2024
0.1.0 Mar 14, 2024

#82 in #com

Download history 7/week @ 2024-07-27 103/week @ 2024-09-07 68/week @ 2024-09-14 18/week @ 2024-09-21 10/week @ 2024-09-28

309 downloads per month

Custom license

18KB
308 lines

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(())
}

Dependencies

~7–41MB
~650K SLoC