# steam-web-api-key

> Automatically registers and retrieves Steam API key

Latest version **0.0.4** (published 2020-01-28) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install steam-web-api-key
pnpm add steam-web-api-key
yarn add steam-web-api-key
bun add steam-web-api-key
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2020-01-28 |
| First published | 2015-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Alexey Komarov |
| Maintainers | alex7kom |
| Keywords | steam |

## Links

- npm: https://www.npmjs.com/package/steam-web-api-key
- Repository: https://github.com/Alex7Kom/node-steam-web-api-key
- Homepage: https://github.com/Alex7Kom/node-steam-web-api-key#readme
- Issues: https://github.com/Alex7Kom/node-steam-web-api-key/issues
- npm.io page: https://npm.io/package/steam-web-api-key

## Dependencies (2)

- [cheerio](https://npm.io/package/cheerio.md) ^0.22.0
- [request](https://npm.io/package/request.md) ^2.58.0

## Recent versions

- 0.0.4 (latest) — 2020-01-28
- 0.0.3 — 2016-01-02
- 0.0.2 — 2015-09-19
- 0.0.1 — 2015-07-16

## 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

---
_Source: https://npm.io/package/steam-web-api-key · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
