buff-data

1.0.3 • Public • Published

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'
}

Readme

Keywords

Package Sidebar

Install

npm i buff-data

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

2.54 kB

Total Files

5

Last publish

Collaborators

  • thourcs