node-opskins-trade

1.2.4 • Public • Published

Trade offer management library for Trade.OPSkins.com

Usage

const OPSkinsTrade = require('node-opskins-trade');
 
const tradeBot = new OPSkinsTrade('your-api-key', 'your-2fa-secret');
 
tradeBot.pollTrades();
 
tradeBot.on('newOffer', (offer) => {
  console.log(offer);
});
 
tradeBot.on('sentOffer', (offer) => {
  console.log(offer);
});
 
tradeBot.on('offerUpdated', (offer) => {
  console.log(offer);
});

For further documentation please click here.

Package Sidebar

Install

npm i node-opskins-trade

Weekly Downloads

9

Version

1.2.4

License

ISC

Unpacked Size

9.62 kB

Total Files

12

Last publish

Collaborators

  • jack-flux