npm.io
0.0.19 • Published 5 years ago

steam-fetch-api

Licence
MIT
Version
0.0.19
Deps
1
Size
20 kB
Vulns
0
Weekly
0
Stars
1

Welcome to Steam Fetch API

Version License: MIT

Getting data from known Steam API.

Install

npm install steam-fetch-api

Usage example

import SteamFetchAPI from 'steam-fetch-api';

const steam = new SteamFetchAPI;

const getAllGames = async () => {
  const games = await steam.getAllGames();
}

Available API

steam.getAllGames()
steam.getStrictByName(name: string)
steam.getListByName(name: string)
steam.getListByStartName(name: string)
steam.getGameDetails(appid: number)

Max length limit not includes html tags.

steam.getGameDetails(appid: number, [newsCount: number, maxLength: number])
Remarks
  • This package I created mostly for me. But I'm looking forward to continue develop it and improve both code and documentation;
  • Steam API is not documented officially, so there poor list of endpoints that collected community. Feel free share to share it with me by creating issue;
  • Currently I didn't faced request limits to Steam;

Author

Peter Kulazhenko

Show your support

Give a ️ if this project helped you!


This README was generated with by readme-md-generator

Keywords