Package Exports
- @j4ckofalltrades/steam-webapi-ts
- @j4ckofalltrades/steam-webapi-ts/cjs/index.js
- @j4ckofalltrades/steam-webapi-ts/esm/index.js
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 (@j4ckofalltrades/steam-webapi-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
![]()
Isomorphic Steam WebAPI wrapper in TypeScript.
Installation
Using npm
$ npm install @j4ckofalltrades/steam-webapi-ts
Using yarn
$ yarn add @j4ckofalltrades/steam-webapi-ts
Using GitHub Packages
This step requires authenticating to GitHub Packages,
then installing the package using npm.
$ npm install @j4ckofalltrades/steam-webapi-ts
via CDN
- jsDelivr cdn.jsdelivr.net/npm/@j4ckofalltrades/steam-webapi-ts/
- unpkg unpkg.com/browse/@j4ckofalltrades/steam-webapi-ts/
Usage
This requires a Steam WebAPI Key, you can get one at https://steamcommunity.com/dev/apikey
You can use either the provided SteamWebApi wrapper
import { SteamWebApi } from "@j4ckofalltrades/steam-webapi-ts"
const steamWebApi = new SteamWebApi("api_key")
await steamWebApi.usersApi.getPlayerSummaries(["steam_ids"])or with a specific interface e.g. ISteamUser
import { ISteamUser } from "@j4ckofalltrades/steam-webapi-ts"
const usersApi = new ISteamUser("api_key")
await usersApi.getPlayerSummaries(["steam_ids"])