community-price-history
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

community-price-history

This project is a fork of scm-price-history by HilliamT. As the original project is no longer maintained, I decided to fork it and add some changes.

Usage

getPriceHistory("AK-47 | Redline (Field-Tested)", "730").then(data => {
  console.log(data);
});

// [
//   ...
//   { time: 1395190800000, value: 29.834, volume: 222 },
//   { time: 1395277200000, value: 29.674, volume: 194 },
//   { time: 1395363600000, value: 31.046, volume: 189 },
//   { time: 1395450000000, value: 30.299, volume: 263 },
//   { time: 1395536400000, value: 28.896, volume: 269 },
//   { time: 1395622800000, value: 29.315, volume: 251 },
//   { time: 1395709200000, value: 30.521, volume: 222 },
//   { time: 1395795600000, value: 29.847, volume: 234 }
//   ...
// ]

Package Sidebar

Install

npm i community-price-history

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

6.48 kB

Total Files

5

Last publish

Collaborators

  • bymykel