jstf

0.12.6 • Public • Published

jstf

An API wrapper for some TF2-related sites. Created by manic. Visit the original python version here.

These methods are designed so I can use this module rather than pasting functions into many blocks of code. It is not intended to be an API wrapper for every tf2 site. If you want to add some methods, feel free to make a pull request.

Installation

npm install jstf --save

Usage

Initialise a jstf Manager object that can be used for all backpack.tf methods:

const jstf = require("jstf");

let manager = new jstf.Manager("backpack.tf api key");
manager.bpGetUserToken().then(function(){
    // your code here
});

Readme

Keywords

Package Sidebar

Install

npm i jstf

Weekly Downloads

2

Version

0.12.6

License

MIT

Unpacked Size

30.8 kB

Total Files

9

Last publish

Collaborators

  • manicc