JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q55570F

A node wrapper for OverTrack

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

npm GitHub issues

Installation

npm install --save overtrack.js

Usage

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)