Package Exports
- overtrack.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (overtrack.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
OverTrack.js
Installation
npm install --save overtrack.jsUsage
const ot = require('overtrack.js');
// latest client version
ot.version()
.then(console.log)
.catch(console.error)
// simple endpoint for getting current sr
ot.sr('eeveea')
.then(sr => console.log('Current Skill Rating:', sr))
.catch(console.error)
// main endpoint
ot.user('eeveea')
.then(games => games[0].detailed())
.then(game => console.log(game))
.catch(console.error)