‚̧Newborn Programming Monsters
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    steam-inventories

    0.2.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    steam-inventories

    Steam Inventories is a forked version of steam-user-inventory the uses unirest and has a bit better configuration.

    npm version npm Maintenance

    NPM

    WARNING: This module uses the steam community inventory method which means that your ip will get an HTTP 429 after a certain number of calls. Be advised and cache the hell out of it.

    Install

    npm install --save steam-inventories
    

    Options

    • appID Is the Steam Application ID. There is no default value and it has to be declared.
    • contextID The default value is 2. Probably you wont have to change it.
    • steamUser Is the username of the user that you want to load the inventory
    • steamID The SteamID 64. It cam be used instead of steamUser

    Usage

    var SteamInventories = require('steam-inventories');
     
    SteamInventories.get({
        appID: 730,
        steamID: '76561198040824008'
    }, function(err, items) {
        if(err) {
            throw err;
        }
        console.log(JSON.stringify(items))
    });

    Install

    npm i steam-inventories

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • avatar