-
Notifications
You must be signed in to change notification settings - Fork 0
Data Structures
Sampli edited this page Jun 25, 2021
·
5 revisions
Many of the api's routes require specific variable structures and types to function. When these variables are expected, @skincrib/skincrib-merchant
will require them.
List of variables that @skincrib/skincrib-merchant
will require:
- steamid - A client's SteamID64
- apiKey - A client's Steam APIKey
- tradeUrl - A client's Steam TradeURL
- item - An object containing a minimum of
assetid
,price
, andpercentIncrease
- assetid - A Steam item's AssetID
- price - Price of the item (multiplied by 100 so there are no floats)
- percentIncrease - Integer representing the percentage above base price the item is listed at. Can range from 0-15.
Item example:
{
assetid: '22628833076',
price: 105,
percentIncrease: 5
}