{"_id":"steam-webapi","_rev":"27-6fe756bd60f29a018017fba2c06229f7","name":"steam-webapi","description":"Steam WebAPI wrapper","dist-tags":{"latest":"0.6.5"},"versions":{"0.5.0":{"name":"steam-webapi","version":"0.5.0","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{},"main":"./lib/Steam.js","bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"_id":"steam-webapi@0.5.0","dist":{"shasum":"da5602c909097a27fa5e58d6d01256b7d11c8a00","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.5.0.tgz","integrity":"sha512-Trwks6RmO/ufS/lWF6F7GJ5pRzTNEWQgEd8CSxUEBw9nWb2oCxzwtgAzdzbj497LtTd06XwmCmvQkFFGcHgoaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDH5DpUM30VxSx96cKMuvEDdAOqqp1CPPk+3X6E/dm/9AiAaKGybiS2JMo5H68v4NGiiUbQ5HuQ9m5Auo1m5Z15nZQ=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}],"directories":{}},"0.5.2":{"name":"steam-webapi","version":"0.5.2","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{},"main":"./lib/Steam.js","bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"_id":"steam-webapi@0.5.2","dist":{"shasum":"fd5e0733af5846cb03f5190cb438d19bd03e3e7f","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.5.2.tgz","integrity":"sha512-uLZMrf3UfNug2G1Tn8Ac9eoxzwUSNw3WPbCM1y6KwfYo5eXyro+Ks8021ecjBlZbM1Iai/M5q3oNfbu2M5YXbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIByszoibNlCnEDhKeZOzJjjhESTlQPURqwg7JChiMsq8AiEA/pPoLx8+wanPxMeG1GQVw+ymWTDIwM0PtGRrXUd9qtQ="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}]},"0.6.0":{"name":"steam-webapi","version":"0.6.0","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{"qs":"~0.6.6"},"devDependencies":{"mocha":"~1.17.1","should":"~3.1.2"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"_id":"steam-webapi@0.6.0","dist":{"shasum":"b8a91fcaca4c5753c47d73ba1b844fe4bc8d301f","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.6.0.tgz","integrity":"sha512-dwMWuG7n1hvwLIwdh4xkQez7DuBS8K1cOGF5Xex20AoDk2X5S9vrhMfRh0qzA4xnZZQkVHkMQU2Ib17OwFYxcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIHF71OP4YHlpRvlXRAfgwp17aj0N7v0nYX8xJUyJkywIhAPRy7jOMN0XTJhnTAJLaZygLjtBB4idrb1J3XbScGIyA"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}]},"0.6.1":{"name":"steam-webapi","version":"0.6.1","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{"qs":"~0.6.6"},"devDependencies":{"mocha":"~1.17.1","should":"~3.1.2"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"homepage":"https://github.com/jonbo/node-steam-webapi","_id":"steam-webapi@0.6.1","dist":{"shasum":"e056fdc2ec9a2cc24b720eabc465a9d5a32e4e49","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.6.1.tgz","integrity":"sha512-R0aket6an70zEt8og/vLtSVIJZ/+dMLM7014FQ9pgVRvKfLXMTt7Hg74RR8ADeaGOz7qckCThq7IuX1KbgWtnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuXks16vdd/x/0vToHWLb0K1ohSSf3EhSK0EgdjARBWwIhAPHZO+yV/0rZ35Om9GZ+BpJuCPYqxsCh+Zoxo4gwsTQx"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}]},"0.6.2":{"name":"steam-webapi","version":"0.6.2","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{"qs":"~0.6.6"},"devDependencies":{"mocha":"~1.17.1","should":"~3.1.2"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"homepage":"https://github.com/jonbo/node-steam-webapi","_id":"steam-webapi@0.6.2","dist":{"shasum":"f15c3b576decaa1e1f6a33a8969771cb3a624699","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.6.2.tgz","integrity":"sha512-XbRBy8SE0JWpYdlFplzjB2ovmH6btHu6GGxon6Zg9prFF8r7/lgDYV+xLonhsaP/Y0zCTQ7A/JOpyoocjAi5Ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGhVZPV2nyPadZYjCSuLq7GyG9TUDv8JB2hLeZGjivUAiA1za1fOSpwZEhbcwfxi20QfLsG4jRs7WbQiS6xG9WFYA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}]},"0.6.3":{"name":"steam-webapi","version":"0.6.3","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{"qs":"~0.6.6"},"devDependencies":{"mocha":"~1.17.1","should":"~3.1.2"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"homepage":"https://github.com/jonbo/node-steam-webapi","_id":"steam-webapi@0.6.3","dist":{"shasum":"aa59f339348c48ab2b2a41c464817170e78230ce","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.6.3.tgz","integrity":"sha512-nuQvDQA/ileIoDN5Ns/Qg1598ZsZtYouXo7WdNyW+WZCzFaWxrK2iYkXLoh0gbpBGstCe+gYQK3JoMA6YdGdFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbYpH8ScD3mHfzdsf5yfXcxYl6IKt8zdHbtE3IaBJfygIgRsZ0lD24Sx78BIebk4bhcfjk/qKs4lNa2UnKmmZQSHw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}]},"0.6.4":{"name":"steam-webapi","version":"0.6.4","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{"qs":"~1.2.2"},"devDependencies":{"mocha":"~1.21.4","should":"~4.0.4"},"license":"MIT","main":"index.js","scripts":{"test":"make test"},"bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"homepage":"https://github.com/jonbo/node-steam-webapi","_id":"steam-webapi@0.6.4","dist":{"shasum":"e3515b2b6420ebec5b19e112f6fd82049a5370e0","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.6.4.tgz","integrity":"sha512-FWEFhoUglQdjeRsbcWSc8KUQ0bhet8EaYCCx8tnQczpsvSDHP9cLuZW206LttJ3MPeXhVtpHsVWIiLPbLlTdaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJgHoqCdBM/j1V0TG2NxFAz0toEu1qOCKrnrQur205QgIhAOCV56jp2XwmwZHeweWBjsnA7ScsootTbd189XjPfChB"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}]},"0.6.5":{"name":"steam-webapi","version":"0.6.5","description":"Steam WebAPI wrapper","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"dependencies":{"qs":"~1.2.2"},"devDependencies":{"mocha":"~1.21.4","should":"~4.0.4"},"license":"MIT","main":"index.js","scripts":{"test":"mocha --require should --harmony-generators --reporter spec --bail","demo1":"node demos/example.js","demo2":"npm install bluebird && node demos/example_with_promises.js","demo3":"npm install bluebird && node --harmony demos/example_with_promises_generators.js","demo4":"node demos/example_games.js","demo5":"node demos/example_league_listing.js","list":"node demos/list_available_methods > api_method_list.md","clean":"rm -rf node_modules"},"gitHead":"2f386faa8ad99b15b3fd9b7dc1aebc68b134571c","bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"homepage":"https://github.com/jonbo/node-steam-webapi","_id":"steam-webapi@0.6.5","_shasum":"76d3f168cf613b68c3c4d4cb9965f3322ca85fe3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonbo","email":"john@johnbartel.us"},"maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}],"dist":{"shasum":"76d3f168cf613b68c3c4d4cb9965f3322ca85fe3","tarball":"https://registry.npmjs.org/steam-webapi/-/steam-webapi-0.6.5.tgz","integrity":"sha512-4b9hLMLSRtMEJW12xReId8AhcMOkU25hK2cuTDRupk+dWXMAvRwVCpJqLEb9PuVYQ5IBOWflWaFnL77NtkkpIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmUr6Ur6lODeHzFrcZJ+iuUs6pAdVyi21Cn24AKbB/FwIhAOOnhMzFqMe1RO12ARUwonZa/7To0wVcEVWEJBfGpLx7"}]}}},"readme":"Steam WebAPI library for node.js\r\n==========================\r\n*Supports Node v0.8.26 (or newer) but might work on older versions*\r\n\r\nA [Steam API Key](http://steamcommunity.com/dev/apikey) is needed for many of the methods in the API and is a requirement for this library.\r\n\r\nAll the methods are created at runtime (available after Steam.ready, which retrieves the API methods), rather than compile-time, so this should theoretically support all (existing and future) Steam API methods.\r\nNo need to worry about calling the correct API version, as it will always be the latest. If you must use a different version simply pass in a {'version': x} option into a method.\r\n\r\n\r\n[List of methods](https://github.com/jonbo/node-steam-webapi/blob/master/api_method_list.md)\r\n\r\nTo install:\r\n\r\n    npm install steam-webapi\r\n\r\n## Example\r\n\r\n```js\r\nvar Steam = require('steam-webapi');\r\n\r\n// Set global Steam API Key\r\nSteam.key = \"YOUR API KEY\";\r\n\r\nSteam.ready(function(err) {\r\n    if (err) return console.log(err);\r\n\r\n    var steam = new Steam();\r\n\r\n    // Retrieve the steam ID from a steam username/communityID\r\n    steam.resolveVanityURL({vanityurl:'jonbo'}, function(err, data) {\r\n        console.log(data);\r\n        // data -> { steamid: '76561197968620915', success: 1 }\r\n\r\n        // Get the Player's TF2 Backpack items\r\n        data.gameid = Steam.TF2;\r\n\r\n        // getPlayerItems requires { gameid, steamid }\r\n        steam.getPlayerItems(data, function (err, data) {\r\n            console.log(data);\r\n            // data -> { status: 1, num_backpack_slots: 1100, items: [...], ...}\r\n\r\n        });\r\n    });\r\n\r\n});\r\n```\r\n\r\n## Example with generators and promises\r\n\r\n```js\r\n// Requires node 0.11+ and \"node --harmony\"\r\n\r\nvar Steam = require('steam-webapi');\r\nvar Promise = require('bluebird');\r\n\r\n// Set global Steam API Key\r\nSteam.key = \"YOUR API KEY\";\r\n\r\nSteam.ready(Promise.coroutine(function*(err) {\r\n    if (err) return console.log(err);\r\n\r\n    // Creates an promise wielding function for every method (with Async attached at the end)\r\n    Promise.promisifyAll(Steam.prototype);\r\n\r\n    var steam = new Steam();\r\n\r\n    // Retrieve the steam ID from a steam username/communityID\r\n    var data = yield steam.resolveVanityURLAsync({vanityurl:'jonbo'});\r\n    console.log(data);\r\n    // data -> { steamid: '76561197968620915', success: 1 }\r\n\r\n    // Get the Player's TF2 Backpack items\r\n    data.gameid = Steam.TF2;\r\n    data = yield steam.getPlayerItemsAsync(data);\r\n    console.log(data);\r\n    // data -> { status: 1, num_backpack_slots: 1100, items: [...], ...}\r\n\r\n}));\r\n```\r\n\r\n\r\nIf you plan on only using this for TF2 data only (or just want to default to it), the first example can be rewritten.\r\n\r\n```js\r\nvar steam = new Steam({gameid: Steam.TF2, appid:Steam.TF2});\r\n\r\nsteam.resolveVanityURL({vanityurl:'jonbo'}, function(err, data) {\r\n\r\n    // No need for data.gameid = Steam.TF2; here\r\n\r\n    steam.getPlayerItems(data, function (err, data) {\r\n        console.log(data);\r\n        // data -> { status: 1, num_backpack_slots: 1100, items: [...], ...}\r\n    });\r\n});\r\n```\r\n\r\nIt works the same for 'key' and other fields.\r\n\r\n# Tests\r\n```\r\n$ npm run test\r\n```\r\n\r\n# License\r\n\r\n  MIT","maintainers":[{"name":"jonbo","email":"john@johnbartel.us"}],"time":{"modified":"2022-06-27T00:16:26.479Z","created":"2014-01-28T05:03:11.692Z","0.5.0":"2014-01-28T05:03:12.549Z","0.5.1":"2014-01-28T05:08:18.194Z","0.5.2":"2014-01-28T05:37:31.040Z","0.6.0":"2014-02-12T06:23:23.068Z","0.6.1":"2014-04-06T02:20:41.778Z","0.6.2":"2014-04-26T23:09:06.983Z","0.6.3":"2014-05-16T19:01:38.983Z","0.6.4":"2014-08-15T20:51:22.601Z","0.6.5":"2015-06-07T21:27:05.122Z"},"readmeFilename":"README.md","repository":{"type":"git","url":"https://github.com/jonbo/node-steam-webapi"},"homepage":"https://github.com/jonbo/node-steam-webapi","keywords":["steam","tf2","team fortress 2","dota2","csgo","portal 2"],"bugs":{"url":"https://github.com/jonbo/node-steam-webapi/issues"},"license":"MIT","users":{"jetbug123":true,"ronin161":true,"pedall":true}}