forked from pac12/node-sportsdata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ncousineau
committed
Aug 4, 2022
1 parent
d3510a7
commit 8eb590c
Showing
45 changed files
with
3,815 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
node-sportsdata | ||
https://github.com/pac12/node-sportsdata | ||
Copyright (c) 2013 PAC-12 | ||
Licensed under the MIT license. | ||
*/ | ||
|
||
|
||
(function() { | ||
'use strict'; | ||
var MLB, NCAAFB, NCAAFBv7, NCAAMB, NCAAWB, NFL; | ||
|
||
MLB = require('./v3/mlb'); | ||
|
||
NCAAFB = require('./v1/ncaafb'); | ||
|
||
NCAAMB = require('./v3/ncaamb'); | ||
|
||
NCAAWB = require('./v3/ncaawb'); | ||
|
||
NFL = require('./v1/nfl'); | ||
|
||
NCAAFBv7 = require('./v7/ncaafb'); | ||
|
||
exports.awesome = function() { | ||
return 'awesome'; | ||
}; | ||
|
||
exports.v7 = { | ||
ncaafb: function(apiKey, accessLevel, testLeague) { | ||
return new NCAAFBv7(apiKey, accessLevel, testLeague); | ||
} | ||
}; | ||
|
||
exports.v3 = { | ||
mlb: function(apiKey, accessLevel, testLeague) { | ||
return new MLB(apiKey, accessLevel, testLeague); | ||
}, | ||
ncaamb: function(apiKey, accessLevel, testLeague) { | ||
return new NCAAMB(apiKey, accessLevel, testLeague); | ||
}, | ||
ncaawb: function(apiKey, accessLevel, testLeague) { | ||
return new NCAAWB(apiKey, accessLevel, testLeague); | ||
} | ||
}; | ||
|
||
exports.v2 = {}; | ||
|
||
exports.v1 = { | ||
ncaafb: function(apiKey, accessLevel, testLeague) { | ||
return new NCAAFB(apiKey, accessLevel, testLeague); | ||
}, | ||
nfl: function(apiKey, accessLevel, testLeague) { | ||
return new NFL(apiKey, accessLevel, testLeague); | ||
} | ||
}; | ||
|
||
}).call(this); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.