1.0.5 • Published 7 years ago

csgo-tm v1.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

node-csgo-tm

API library for csgo.tm market

Documentation

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/

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago