1.5.0 • Published 5 months ago

@evlmaistrenko/tools-steam-api-client v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@evlmaistrenko/tools-steam-api-client

NPM Version

Steam API client for Javascript.

Usage

npm i @evlmaistrenko/tools-steam-api-client
import { SteamApiClient, openId } from "@evlmaistrenko/tools-steam-api-client";

const client = new SteamApiClient("<your Steam API key>");

// Get user statistics:
await client.ISteamUserStats.GetUserStatsForGame(440, "<users SteamID>");

// Get statistics in Dead by Daylight:
await client.deadByDaylight.getUserStats("<users SteamID>");

// Get url to sign via Steam OpenID:
const url = openid.getUrl("http://localhost:3000");

// Verify OpenID signature and get SteamID:
const steamId = await openId.getSteamUrl("<return url>");

Api docs

1.5.0

5 months ago

1.4.3

5 months ago

1.4.2

5 months ago

1.4.1

5 months ago

1.4.0

5 months ago

1.3.0

9 months ago

1.2.0

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago