Skip to content

iDefineHD/steamapis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to SimpleSteamApis 👋

Version License: MIT

SteamApis.Com Package for easier use of the API

Install

yarn add simplesteamapis

or

npm i simplesteamapis

Query Params

getLegacyInventory(steamID, appID, contextID)
Used to get the legacy version of the users inventory. this includes some information that is not included in the new endpoints data.
compactItems(appID)
Used to gather a compact version of the items from a specific game, provided an appID is provided, for example 730 (CSGO)
CompactItemsWithValue(appID, compact_value)
Used to gather a compact version of the items from a specific game, like above. But with the added feature of allowing a user set timeframe for prices.

Steam Specific

getInventory(steamID, appID, contextID)
Used to gather a users inventory from steam. If supplied with a steamID, appID and contextID, this is used in the example below.
getProfile(steamID)
Used to return all information regarding a steam users profile, such as name, avatar etc.

Market Specific

siteStats()
Used to return the stats of how many items have been scanned/requests that have been served by steamapis.com
app(appID)
Used to return all information on a specific game/application that has been chosen, 730 (CSGO) for example.
apps()
Used to return all information on all games tracked by steamapis.com.
item(appID, market_hash_name)
Used to return specific information for an item on the community market, provided an appID and Market name are provided.
items(appID)
Used to return all information on items for a specific game, that are on the community market. 730 (CSGO) for example.
cards()
used to return card data for all of steam.

Image Specific

itemsImage(appID)
returns images for items from a sepcific game or app, if appID is provided.

Usage

Example:

const steamapis = require("simplesteamapis");
const api = new steamapis("API_KEY");

(async () => {
  try {
    const inventory = await api.getInventory("76561198027608071", 730, 2);
    console.log(inventory);
  } catch (err) {
    console.log(err);
  }
})();

Author

👤 Ashley Bridges

Show your support

Give a ⭐️ if this project helped you!


About

Steamapis npm package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •