2.0.0 • Published 5 years ago

mlbprobablepitchers v2.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

mlbprobablepitchers

Get JSON object with MLB Probable Pitchers for a given day

Install

npm install mlbprobablepitchers

Usage

const Probables = require('mlbprobablepitchers');
const day = '2011/07/23';

Probables.get(day, (err, matchups) => {

  // do something
});

Example matchup

{
    "id": "2011/07/23/houmlb-chnmlb-1",
    "startTime": "2011-07-23T12:05:00",
    "easternTime": "2011-07-23T13:05:00",
    "timezone": "CDT",
    "teams": {
        "away": "112",
        "home": "117"
    },
    "pitchers": {
        "away": {
            "id": "434643",
            "name": "Wandy Rodriguez",
            "throws": "LHP"
        },
        "home": {
            "id": "448694",
            "name": "Randy Wells",
            "throws": "RHP"
        }
    }
}
2.0.0

5 years ago

1.0.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago