steam-workshop-api

Crates.iosteam-workshop-api
lib.rssteam-workshop-api
version0.6.0
sourcesrc
created_at2021-06-04 18:16:36.714266
updated_at2024-08-01 00:04:02.905702
descriptionProvides an API wrapper for the steam workshop interfaces (IPublishedFileService and ISteamRemoteStorage) with the addition of proxy and api key support
homepage
repositoryhttps://github.com/Jackzmc/rs-steam-workshop-api
max_upload_size
id406224
size22,155
Jackz (Jackzmc)

documentation

README

rs-steam-workshop-api

A rust api library for the steam web workshop api

Basic Usage

use steam_workshop_api::Workshop;

let mut workshop = Workshop::new();
workshop.set_api_key(Some("yourapikey".to_string()));
let fileids = vec!['121221044', '1643520526'];
let details: Vec<WorkshopItem> = match workshop.get_published_file_details(&fileids) {
    Ok(details) => details,
    Err(err) => { 
        eprintln!("Failed to get file info");
    }
};
Commit count: 38

cargo fmt