Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Alex7Kom/node-steam-web-api-key
Automatically registers and retrieves Steam API key **NO LONGER MAINTAINED**
https://github.com/Alex7Kom/node-steam-web-api-key
javascript nodejs steam
Last synced: 3 months ago
JSON representation
Automatically registers and retrieves Steam API key **NO LONGER MAINTAINED**
- Host: GitHub
- URL: https://github.com/Alex7Kom/node-steam-web-api-key
- Owner: alex7kom
- Archived: true
- Created: 2015-07-16T19:36:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T15:23:07.000Z (almost 5 years ago)
- Last Synced: 2024-06-20T06:24:48.747Z (5 months ago)
- Topics: javascript, nodejs, steam
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 22
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-steam - steam-web-api-key - Automatically registers and retrieves Steam API key. (Packages / Node.js)
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](https://steamcommunity.com/dev/apiterms)
## Installation
```
npm install steam-web-api-key
```## Usage
Require it...
```js
var getSteamAPIKey = require('steam-web-api-key');
```...then call:
```js
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](https://support.steampowered.com/kb_article.php?ref=3330-IAGK-7663), it will return `Access Denied` error in the callback.
## License
MIT