Download files and collections from Steam Workshop
Install module
npm install steam-workshop
Require the module in your code and create a new Workshop object. It requires one argument for the output folder where downloaded files will be saved.
var SteamWorkshop = require('steam-workshop');
var steamWorkshop = new SteamWorkshop(outputFolder);Download a file to your output folder. Takes a string or integer as argument.
Download files to your output folder. Takes an array of strings or integers as argument.
Download a collection of files to your output folder. Takes a string or integer as argument.
Download collections of files to your output folder. Takes an array of strings or integers as argument.
https://partner.steamgames.com/doc/webapi/ISteamRemoteStorage#GetCollectionDetails
Get details about collections from Steam Workshop. Takes an number, a string or an array of strings or integers as argument.
https://partner.steamgames.com/doc/webapi/ISteamRemoteStorage#GetPublishedFileDetails
Get details about files from Steam Workshop. Takes an number, a string or an array of strings or integers as argument.
https://partner.steamgames.com/doc/webapi/IPublishedFileService#QueryFiles
Search Steam Workshop for files with passed query argument.
key is the only required value for query.
bool values should be passed as a number or string, 1 or 0.
