Package Exports
- steam-web-api-key
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (steam-web-api-key) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Steam Web API Key
Automatically registers and retrieves Steam API key.
Note: By using this library you automatically agree to Steam API Terms of Use
Installation
npm install steam-web-api-keyUsage
Require it...
var getSteamAPIKey = require('steam-web-api-key');...then call:
getSteamAPIKey({ sessionID: sessionID, webCookie: cookies }, callback);The second argument to the callback will be your API key. Optionally, you can also provide a domain to which an API key will be registered (default is localhost).
If failed to retrieve Web API key due to limited account, it will return Access Denied error in the callback.
License
MIT