New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-stattleship

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-stattleship

A NodeJS wrapper for the Stattleship API (http://developers.stattleship.com/)

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

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

Keywords

stattleship

FAQs

Package last updated on 15 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts