1.0.3 • Published 9 months ago
buff-data v1.0.3
Buff163 Data
This package allows you to use Buff163 API.
Usage:
const fetchItemData = require('buff-data');
async function main() {
try {
const itemData = await fetchItemData(781598);
console.log(itemData);
} catch (error) {
console.error('Error:', error);
}
}
main();
Example Output:
{
name: 'Desert Eagle | Printstream (Field-Tested)',
image: 'https://g.fp.ps.netease.com/market/file/5f2cc5fe6f0494116fe13465R9TfZKuf02',
buy_max_price: '285',
sell_min_price: '297.45',
buy_orders: 193,
sell_orders: 9089,
steam_price: '371.48',
steam_url: 'https://steamcommunity.com/market/listings/730/Desert%20Eagle%20%7C%20Printstream%20%28Field-Tested%29'
}