Skip to content

A NodeJS wrapper for the Stattleship sports analytics API

License

Notifications You must be signed in to change notification settings

stattleship/node-stattleship

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-stattleship

A NodeJS wrapper for the Stattleship sports analytics API

Install

npm install node-stattleship

Usage

var StattleshipAPI = require('node-stattleship');

var stattleship = new StattleshipAPI('YOUR_ACCESS_TOKEN');

var params = {
  team_id: "mlb-bos"
};

stattleship.players('baseball', 'mlb', params).then(function(players) {
  players.forEach(function(element, index, array) {
    console.log(element.name);
  });
});

Stattleship API Documentation

The Stattleship API can be found at http://developers.stattleship.com

Contributing

Please open issues with feature requests and bugs.

License

MIT

About

A NodeJS wrapper for the Stattleship sports analytics API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%