-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFantasyDataClient.js
171 lines (166 loc) · 12.3 KB
/
FantasyDataClient.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
"use strict";
const NFLv3PlayByPlayClient = require('./NFLv3/NFLv3PlayByPlay');
const NFLv3ProjectionsClient = require('./NFLv3/NFLv3Projections');
const NFLv3RotoBallerArticlesClient = require('./NFLv3/NFLv3RotoBallerArticles');
const NFLv3RotoBallerPremiumNewsClient = require('./NFLv3/NFLv3RotoBallerPremiumNews');
const NFLv3ScoresClient = require('./NFLv3/NFLv3Scores');
const NFLv3StatsClient = require('./NFLv3/NFLv3Stats');
const NFLv3OddsClient = require('./NFLv3/NFLv3Odds');
const NFLv3AdvancedMetricsClient = require('./NFLv3/NFLv3AdvancedMetrics');
const NFLv3HeadshotsClient = require('./NFLv3/NFLv3Headshots');
const NFLv2BakerPredictiveClient = require('./NFLv3/NFLv2BakerPredictive');
const NFLv3RotoworldPlayerNewsClient = require('./NFLv3/NFLv3RotoworldPlayerNews');
const MLBv2Client = require('./MLB/MLBv2');
const MLBv3PlayByPlayClient = require('./MLB/MLBv3PlayByPlay');
const MLBv3ProjectionsClient = require('./MLB/MLBv3Projections');
const MLBv3RotoBallerArticlesClient = require('./MLB/MLBv3RotoBallerArticles');
const MLBv3RotoBallerPremiumNewsClient = require('./MLB/MLBv3RotoBallerPremiumNews');
const MLBv3ScoresClient = require('./MLB/MLBv3Scores');
const MLBv3StatsClient = require('./MLB/MLBv3Stats');
const MLBv3OddsClient = require('./MLB/MLBv3Odds');
const MLBv3HeadshotsClient = require('./MLB/MLBv3Headshots');
const MLBv3RotoworldPlayerNewsClient = require('./MLB/MLBv3RotoworldPlayerNews');
const MLBv2BakerPredictiveClient = require('./MLB/MLBv2BakerPredictive');
const NBAv2Client = require('./NBA/NBAv2');
const NBAv3PlayByPlayClient = require('./NBA/NBAv3PlayByPlay');
const NBAv3ProjectionsClient = require('./NBA/NBAv3Projections');
const NBAv3RotoBallerArticlesClient = require('./NBA/NBAv3RotoBallerArticles');
const NBAv3RotoBallerPremiumNewsClient = require('./NBA/NBAv3RotoBallerPremiumNews');
const NBAv3ScoresClient = require('./NBA/NBAv3Scores');
const NBAv3StatsClient = require('./NBA/NBAv3Stats');
const NBAv3OddsClient = require('./NBA/NBAv3Odds');
const NBAv3HeadshotsClient = require('./NBA/NBAv3Headshots');
const NBAv3RotoworldPlayerNewsClient = require('./NBA/NBAv3RotoworldPlayerNews');
const NBAv2BakerPredictiveClient = require('./NBA/NBAv2BakerPredictive');
const NHLv2Client = require('./NHL/NHLv2');
const NHLv3PlayByPlayClient = require('./NHL/NHLv3PlayByPlay');
const NHLv3ProjectionsClient = require('./NHL/NHLv3Projections');
const NHLv3ScoresClient = require('./NHL/NHLv3Scores');
const NHLv3StatsClient = require('./NHL/NHLv3Stats');
const NHLv3OddsClient = require('./NHL/NHLv3Odds');
const NHLv3HeadshotsClient = require('./NHL/NHLv3Headshots');
const NHLv3RotoBallerPremiumNewsClient = require('./NHL/NHLv3RotoBallerPremiumNews');
const CFBv3ScoresClient = require('./CFB/CFBv3Scores');
const CFBv3StatsClient = require('./CFB/CFBv3Stats');
const CFBv3OddsClient = require('./CFB/CFBv3Odds');
const CBBv2Client = require('./CBB/CBBv2');
const CBBv3ScoresClient = require('./CBB/CBBv3Scores');
const CBBv3StatsClient = require('./CBB/CBBv3Stats');
const CBBv3OddsClient = require('./CBB/CBBv3Odds');
const Golfv2Client = require('./Golf/Golfv2');
const Golfv3HeadshotsClient = require('./Golf/Golfv3Headshots');
const Golfv3OddsClient = require('./Golf/Golfv3Odds');
const Golfv3RotoBallerPremiumNewsClient = require('./Golf/Golfv3RotoBallerPremiumNews');
const Golfv3RotoworldPlayerNewsClient = require('./Golf/Golfv3RotoworldPlayerNews');
const NASCARv2Client = require('./Nascar/NASCARv2');
const NASCARv3OddsClient = require('./Nascar/NASCARv3Odds');
const Soccerv2Client = require('./Soccer/Soccerv2');
const Soccerv3ProjectionsClient = require('./Soccer/Soccerv3Projections');
const Soccerv3ScoresClient = require('./Soccer/Soccerv3Scores');
const Soccerv3StatsClient = require('./Soccer/Soccerv3Stats');
const Soccerv3OddsClient = require('./Soccer/Soccerv3Odds');
const Soccerv3HeadshotsClient = require('./Soccer/Soccerv3Headshots');
const Soccerv4HeadshotsClient = require('./Soccer/Soccerv4Headshots');
const Soccerv4OddsClient = require('./Soccer/Soccerv4Odds');
const Soccerv4ProjectionsClient = require('./Soccer/Soccerv4Projections');
const Soccerv4ScoresClient = require('./Soccer/Soccerv4Scores');
const Soccerv4StatsClient = require('./Soccer/Soccerv4Stats');
const MMAv3StatsClient = require('./MMA/MMAv3Stats');
const MMAv3ScoresClient = require('./MMA/MMAv3Scores');
const MMAv3OddsClient = require('./MMA/MMAv3Odds');
const WNBAv3ScoresClient = require('./WNBA/WNBAv3Scores');
const CWBBv3ScoresClient = require('./CWBB/CWBBv3Scores');
const Tennisv3ScoresClient = require('./Tennis/Tennisv3Scores');
const Tennisv3StatsClient = require('./Tennis/Tennisv3Stats');
const Tennisv3OddsClient = require('./Tennis/Tennisv3Odds');
const Lolv3ScoresClient = require('./Lol/Lolv3Scores');
const Lolv3ProjectionsClient = require('./Lol/Lolv3Projections');
const Lolv3StatsClient = require('./Lol/Lolv3Stats');
const Csgov3ProjectionsClient = require('./Csgo/Csgov3Projections');
const Csgov3ScoresClient = require('./Csgo/Csgov3Scores');
const Csgov3StatsClient = require('./Csgo/Csgov3Stats');
class FantasyDataClient {
constructor(apiKeys){
this.NFLv3PlayByPlayClient = new NFLv3PlayByPlayClient(apiKeys.NFLv3PlayByPlayClient);
this.NFLv3ProjectionsClient = new NFLv3ProjectionsClient(apiKeys.NFLv3ProjectionsClient);
this.NFLv3RotoBallerArticlesClient = new NFLv3RotoBallerArticlesClient(apiKeys.NFLv3RotoBallerArticlesClient);
this.NFLv3RotoBallerPremiumNewsClient = new NFLv3RotoBallerPremiumNewsClient(apiKeys.NFLv3RotoBallerPremiumNewsClient);
this.NFLv3ScoresClient = new NFLv3ScoresClient(apiKeys.NFLv3ScoresClient);
this.NFLv3StatsClient = new NFLv3StatsClient(apiKeys.NFLv3StatsClient);
this.NFLv3OddsClient = new NFLv3OddsClient(apiKeys.NFLv3OddsClient);
this.NFLv3AdvancedMetricsClient = new NFLv3AdvancedMetricsClient(apiKeys.NFLv3AdvancedMetricsClient);
this.NFLv3HeadshotsClient = new NFLv3HeadshotsClient(apiKeys.NFLv3HeadshotsClient);
this.NFLv2BakerPredictiveClient = new NFLv2BakerPredictiveClient(apiKeys.NFLv2BakerPredictiveClient);
this.NFLv3RotoworldPlayerNewsClient = new NFLv3RotoworldPlayerNewsClient(apiKeys.NFLv3RotoworldPlayerNewsClient);
this.MLBv2Client = new MLBv2Client(apiKeys.MLBv2Client);
this.MLBv3PlayByPlayClient = new MLBv3PlayByPlayClient(apiKeys.MLBv3PlayByPlayClient);
this.MLBv3ProjectionsClient = new MLBv3ProjectionsClient(apiKeys.MLBv3ProjectionsClient);
this.MLBv3RotoBallerArticlesClient = new MLBv3RotoBallerArticlesClient(apiKeys.MLBv3RotoBallerArticlesClient);
this.MLBv3RotoBallerPremiumNewsClient = new MLBv3RotoBallerPremiumNewsClient(apiKeys.MLBv3RotoBallerPremiumNewsClient);
this.MLBv3ScoresClient = new MLBv3ScoresClient(apiKeys.MLBv3ScoresClient);
this.MLBv3StatsClient = new MLBv3StatsClient(apiKeys.MLBv3StatsClient);
this.MLBv3OddsClient = new MLBv3OddsClient(apiKeys.MLBv3OddsClient);
this.MLBv3HeadshotsClient = new MLBv3HeadshotsClient(apiKeys.MLBv3HeadshotsClient);
this.MLBv3RotoworldPlayerNewsClient = new MLBv3RotoworldPlayerNewsClient(apiKeys.MLBv3RotoworldPlayerNewsClient);
this.MLBv2BakerPredictiveClient = new MLBv2BakerPredictiveClient(apiKeys.MLBv2BakerPredictiveClient);
this.NBAv2Client = new NBAv2Client(apiKeys.NBAv2Client);
this.NBAv3PlayByPlayClient = new NBAv3PlayByPlayClient(apiKeys.NBAv3PlayByPlayClient);
this.NBAv3ProjectionsClient = new NBAv3ProjectionsClient(apiKeys.NBAv3ProjectionsClient);
this.NBAv3RotoBallerArticlesClient = new NBAv3RotoBallerArticlesClient(apiKeys.NBAv3RotoBallerArticlesClient);
this.NBAv3RotoBallerPremiumNewsClient = new NBAv3RotoBallerPremiumNewsClient(apiKeys.NBAv3RotoBallerPremiumNewsClient);
this.NBAv3ScoresClient = new NBAv3ScoresClient(apiKeys.NBAv3ScoresClient);
this.NBAv3StatsClient = new NBAv3StatsClient(apiKeys.NBAv3StatsClient);
this.NBAv3OddsClient = new NBAv3OddsClient(apiKeys.NBAv3OddsClient);
this.NBAv3HeadshotsClient = new NBAv3HeadshotsClient(apiKeys.NBAv3HeadshotsClient);
this.NBAv3RotoworldPlayerNewsClient = new NBAv3RotoworldPlayerNewsClient(apiKeys.NBAv3RotoworldPlayerNewsClient);
this.NBAv2BakerPredictiveClient = new NBAv2BakerPredictiveClient(apiKeys.NBAv2BakerPredictiveClient);
this.NHLv2Client = new NHLv2Client(apiKeys.NHLv2Client);
this.NHLv3PlayByPlayClient = new NHLv3PlayByPlayClient(apiKeys.NHLv3PlayByPlayClient);
this.NHLv3ProjectionsClient = new NHLv3ProjectionsClient(apiKeys.NHLv3ProjectionsClient);
this.NHLv3ScoresClient = new NHLv3ScoresClient(apiKeys.NHLv3ScoresClient);
this.NHLv3StatsClient = new NHLv3StatsClient(apiKeys.NHLv3StatsClient);
this.NHLv3OddsClient = new NHLv3OddsClient(apiKeys.NHLv3OddsClient);
this.NHLv3HeadshotsClient = new NHLv3HeadshotsClient(apiKeys.NHLv3HeadshotsClient);
this.NHLv3RotoBallerPremiumNewsClient = new NHLv3RotoBallerPremiumNewsClient(apiKeys.NHLv3RotoBallerPremiumNewsClient);
this.CFBv3ScoresClient = new CFBv3ScoresClient(apiKeys.CFBv3ScoresClient);
this.CFBv3StatsClient = new CFBv3StatsClient(apiKeys.CFBv3StatsClient);
this.CFBv3OddsClient = new CFBv3OddsClient(apiKeys.CFBv3OddsClient);
this.CBBv2Client = new CBBv2Client(apiKeys.CBBv2Client);
this.CBBv3ScoresClient = new CBBv3ScoresClient(apiKeys.CBBv3ScoresClient);
this.CBBv3StatsClient = new CBBv3StatsClient(apiKeys.CBBv3StatsClient);
this.CBBv3OddsClient = new CBBv3OddsClient(apiKeys.CBBv3OddsClient);
this.Golfv2Client = new Golfv2Client(apiKeys.Golfv2Client);
this.Golfv3HeadshotsClient = new Golfv3HeadshotsClient(apiKeys.Golfv3HeadshotsClient);
this.Golfv3OddsClient = new Golfv3OddsClient(apiKeys.Golfv3OddsClient);
this.Golfv3RotoBallerPremiumNewsClient = new Golfv3RotoBallerPremiumNewsClient(apiKeys.Golfv3RotoBallerPremiumNewsClient);
this.Golfv3RotoworldPlayerNewsClient = new Golfv3RotoworldPlayerNewsClient(apiKeys.Golfv3RotoworldPlayerNewsClient);
this.NASCARv2Client = new NASCARv2Client(apiKeys.NASCARv2Client);
this.NASCARv3OddsClient = new NASCARv3OddsClient(apiKeys.NASCARv3OddsClient);
this.Soccerv2Client = new Soccerv2Client(apiKeys.Soccerv2Client);
this.Soccerv3ProjectionsClient = new Soccerv3ProjectionsClient(apiKeys.Soccerv3ProjectionsClient);
this.Soccerv3ScoresClient = new Soccerv3ScoresClient(apiKeys.Soccerv3ScoresClient);
this.Soccerv3StatsClient = new Soccerv3StatsClient(apiKeys.Soccerv3StatsClient);
this.Soccerv3OddsClient = new Soccerv3OddsClient(apiKeys.Soccerv3OddsClient);
this.Soccerv3HeadshotsClient = new Soccerv3HeadshotsClient(apiKeys.Soccerv3HeadshotsClient);
this.Soccerv4HeadshotsClient = new Soccerv4HeadshotsClient(apiKeys.Soccerv4HeadshotsClient);
this.Soccerv4OddsClient = new Soccerv4OddsClient(apiKeys.Soccerv4OddsClient);
this.Soccerv4ProjectionsClient = new Soccerv4ProjectionsClient(apiKeys.Soccerv4ProjectionsClient);
this.Soccerv4ScoresClient = new Soccerv4ScoresClient(apiKeys.Soccerv4ScoresClient);
this.Soccerv4StatsClient = new Soccerv4StatsClient(apiKeys.Soccerv4StatsClient);
this.MMAv3StatsClient = new MMAv3StatsClient(apiKeys.MMAv3StatsClient);
this.MMAv3ScoresClient = new MMAv3ScoresClient(apiKeys.MMAv3ScoresClient);
this.MMAv3OddsClient = new MMAv3OddsClient(apiKeys.MMAv3OddsClient);
this.WNBAv3ScoresClient = new WNBAv3ScoresClient(apiKeys.WNBAv3ScoresClient);
this.CWBBv3ScoresClient = new CWBBv3ScoresClient(apiKeys.CWBBv3ScoresClient);
this.Tennisv3ScoresClient = new Tennisv3ScoresClient(apiKeys.Tennisv3ScoresClient);
this.Tennisv3StatsClient = new Tennisv3StatsClient(apiKeys.Tennisv3StatsClient);
this.Tennisv3OddsClient = new Tennisv3OddsClient(apiKeys.Tennisv3OddsClient);
this.Lolv3ScoresClient = new Lolv3ScoresClient(apiKeys.Lolv3ScoresClient);
this.Lolv3ProjectionsClient = new Lolv3ProjectionsClient(apiKeys.Lolv3ProjectionsClient);
this.Lolv3StatsClient = new Lolv3StatsClient(apiKeys.Lolv3StatsClient);
this.Csgov3ProjectionsClient = new Csgov3ProjectionsClient(apiKeys.Csgov3ProjectionsClient);
this.Csgov3ScoresClient = new Csgov3ScoresClient(apiKeys.Csgov3ScoresClient);
this.Csgov3StatsClient = new Csgov3StatsClient(apiKeys.Csgov3StatsClient);
}
}
module.exports = FantasyDataClient;