Crates.io | nexusmods-api-rust-client |
lib.rs | nexusmods-api-rust-client |
version | 1.0.2 |
source | src |
created_at | 2023-12-27 13:23:51.367713 |
updated_at | 2023-12-27 13:34:19.26023 |
description | A client for the NexusMods API. |
homepage | |
repository | |
max_upload_size | |
id | 1081663 |
size | 52,289 |
Rust client for the Nexusmods API.
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(())
}