npm install wtf-mlb
wtf-mlb is a wrapper of wtf_wikipedia that supports a bunch of different variants of mlb game log variations, that are used sometimes in the wild.
wtfMLB//[{// date: 'April 1',// team: 'Reds',// home: false,// result: { us: 6, them: 5, win: true },// record: { wins: 3, losses: 0, games: 3// },// .... //or if you already have the doc,var json = wtfMLB
to do a bunch of years in a row:
wtfMLBhistory'St. Louis Cardinals' 1992 1997
(work-in-progress)
MIT