-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This library is designed to take the median prices from the trading platform Steam.
Before use, you need to install the library from npm:
require('steam-market-util')
#Methods
- getCSGOItemPrice(marketHash[, isMedian, currency])
This method get prices for Counter-Strike: Global Offensive items.
isMedian (by default - true) allows you to choose what price you want to learn: median or lowest.
notice: If the the currency parameter is empty, it will be replaced by USD.
- getDota2ItemPrice(marketHash[, isMedian, currency])
This method get prices for DOTA 2 items.
isMedian (by default - true) allows you to choose what price you want to learn: median or lowest.
notice: If the the currency parameter is empty, it will be replaced by USD.
- getCustomItemPrice(appID, marketHash[, isMedian, currency])
This method get prices for any game items you want.
Required argument - the number of game (appId) from Steam.
isMedian (by default - true) allows you to choose what price you want to learn: median or lowest.
notice: If the the currency parameter is empty, it will be replaced by USD
- getCustomItemsPrices(appId, marketHashes[, isMedian, currency])
This method get prices for any game items you want. marketHashes is an array of marketHash elements.
Required argument - the number of game (appId) from Steam.
isMedian (by default - true) allows you to choose what price you want to learn: median or lowest.
notice: If the the currency parameter is empty, it will be replaced by USD
#Miscellaneous You can take the option marketHash from https://steamcommunity.com/market/