#api-client #nexusmods #nexus-mods

yanked nexusmods-api-rust-client

A client for the NexusMods API

1.0.2 Dec 27, 2023

#1718 in #api-client

MIT license

21KB
437 lines

Nexusmods API.rs

Rust client for the Nexusmods API.

Example

use nexusmods_api_rust_client::*;
use tokio;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let nexusmods = NexusMods::new().await?;

    let mods = nexusmods.get_trending_mods("skyrim").await?;

    println!("{:?}", mods);

    Ok(())
}

Dependencies

~7–19MB
~263K SLoC