csgo-tm
v1.0.5
Published
API library for csgo.tm market
Downloads
1
Readme
node-csgo-tm
API library for csgo.tm market
Based on https://github.com/Yashko/node-csgotm/
New API methods:
SetPrice
var csgotm = require('csgo-tm');
var market = new csgotm('apiKey');
var item = 'new_[classid]_[instanceid]';
var price = '[price]';
market.api.SetPrice(item, price, (err, data) => {
if(err) return console.error(err);
console.log(data);
});
ItemInfo
var csgotm = require('csgo-tm');
var market = new csgotm('apiKey');
var item = '[classid]_[instanceid]';
var language = 'en';
market.api.ItemInfo(item, language, (err, data) => {
if(err) return console.error(err);
console.log(data);
});
More info about methods: https://csgo.tm/docs/