cfbd 5.4.8-alpha.0 → 5.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cfbd-5.8.2.tgz +0 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +63 -59
- package/dist/sdk.gen.js +68 -345
- package/dist/types.gen.d.ts +1394 -1861
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/sdk.gen.ts +241 -573
- package/src/types.gen.ts +1429 -1898
- package/cfbd-5.4.8-alpha.0.tgz +0 -0
package/src/types.gen.ts
CHANGED
|
@@ -41,192 +41,71 @@ export type AdjustedTeamMetrics = {
|
|
|
41
41
|
explosivenessAllowed: number;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
export type
|
|
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
|
-
state: string | null;
|
|
70
|
-
zip: string | null;
|
|
71
|
-
countryCode: string | null;
|
|
72
|
-
timezone: string | null;
|
|
73
|
-
latitude: number | null;
|
|
74
|
-
longitude: number | null;
|
|
75
|
-
elevation: string | null;
|
|
76
|
-
capacity: number | null;
|
|
77
|
-
constructionYear: number | null;
|
|
78
|
-
grass?: boolean | null;
|
|
79
|
-
dome?: boolean | null;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export type Team = {
|
|
83
|
-
id: number;
|
|
84
|
-
school: string;
|
|
85
|
-
mascot: string | null;
|
|
86
|
-
abbreviation: string | null;
|
|
87
|
-
alternateNames: Array<string> | null;
|
|
88
|
-
conference: string | null;
|
|
89
|
-
division: string | null;
|
|
90
|
-
classification: string | null;
|
|
91
|
-
color: string | null;
|
|
92
|
-
alternateColor: string | null;
|
|
93
|
-
logos: Array<string> | null;
|
|
94
|
-
twitter: string | null;
|
|
95
|
-
location: Venue | null;
|
|
44
|
+
export type AdvancedBoxScore = {
|
|
45
|
+
gameInfo: {
|
|
46
|
+
excitement: number;
|
|
47
|
+
homeWinner: boolean;
|
|
48
|
+
awayWinProb: number;
|
|
49
|
+
awayPoints: number;
|
|
50
|
+
awayTeam: string;
|
|
51
|
+
homeWinProb: number;
|
|
52
|
+
homePoints: number;
|
|
53
|
+
homeTeam: string;
|
|
54
|
+
};
|
|
55
|
+
teams: {
|
|
56
|
+
fieldPosition: Array<TeamFieldPosition>;
|
|
57
|
+
scoringOpportunities: Array<TeamScoringOpportunities>;
|
|
58
|
+
havoc: Array<TeamHavoc>;
|
|
59
|
+
rushing: Array<TeamRushingStats>;
|
|
60
|
+
explosiveness: Array<TeamExplosiveness>;
|
|
61
|
+
successRates: Array<TeamSuccessRates>;
|
|
62
|
+
cumulativePpa: Array<TeamPPA>;
|
|
63
|
+
ppa: Array<TeamPPA>;
|
|
64
|
+
};
|
|
65
|
+
players: {
|
|
66
|
+
ppa: Array<PlayerPPA>;
|
|
67
|
+
usage: Array<PlayerGameUsage>;
|
|
68
|
+
};
|
|
96
69
|
};
|
|
97
70
|
|
|
98
|
-
export type
|
|
71
|
+
export type AdvancedGameStat = {
|
|
72
|
+
gameId: number;
|
|
99
73
|
season: number;
|
|
100
74
|
week: number;
|
|
101
|
-
seasonType: string;
|
|
102
|
-
date: string;
|
|
103
|
-
neutralSite: boolean;
|
|
104
|
-
venue: string;
|
|
105
|
-
homeTeam: string;
|
|
106
|
-
homeScore: number;
|
|
107
|
-
awayTeam: string;
|
|
108
|
-
awayScore: number;
|
|
109
|
-
winner: string | null;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
export type Matchup = {
|
|
113
|
-
team1: string;
|
|
114
|
-
team2: string;
|
|
115
|
-
startYear?: number;
|
|
116
|
-
endYear?: number;
|
|
117
|
-
team1Wins: number;
|
|
118
|
-
team2Wins: number;
|
|
119
|
-
ties: number;
|
|
120
|
-
games: Array<MatchupGame>;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export type RosterPlayer = {
|
|
124
|
-
id: string;
|
|
125
|
-
firstName: string;
|
|
126
|
-
lastName: string;
|
|
127
|
-
team: string;
|
|
128
|
-
height: number | null;
|
|
129
|
-
weight: number | null;
|
|
130
|
-
jersey: number | null;
|
|
131
|
-
year: number;
|
|
132
|
-
position: string | null;
|
|
133
|
-
homeCity: string | null;
|
|
134
|
-
homeState: string | null;
|
|
135
|
-
homeCountry: string | null;
|
|
136
|
-
homeLatitude: number | null;
|
|
137
|
-
homeLongitude: number | null;
|
|
138
|
-
homeCountyFIPS: string | null;
|
|
139
|
-
recruitIds: Array<string> | null;
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
|
|
143
|
-
|
|
144
|
-
export type Conference = {
|
|
145
|
-
id: number;
|
|
146
|
-
name: string;
|
|
147
|
-
shortName: string | null;
|
|
148
|
-
abbreviation: string | null;
|
|
149
|
-
classification: DivisionClassification | null;
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
export type TeamTalent = {
|
|
153
|
-
year: number;
|
|
154
|
-
team: string;
|
|
155
|
-
talent: number;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export type PlayerStat = {
|
|
159
|
-
season: number;
|
|
160
|
-
playerId: string;
|
|
161
|
-
player: string;
|
|
162
75
|
team: string;
|
|
163
|
-
|
|
164
|
-
category: string;
|
|
165
|
-
statType: string;
|
|
166
|
-
stat: string;
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
export type SeasonType = 'regular' | 'postseason' | 'both' | 'allstar' | 'spring_regular' | 'spring_postseason';
|
|
170
|
-
|
|
171
|
-
export type TeamStat = {
|
|
172
|
-
season: number;
|
|
173
|
-
team: string;
|
|
174
|
-
conference: string;
|
|
175
|
-
statName: string;
|
|
176
|
-
statValue: string | number;
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
export type AdvancedSeasonStat = {
|
|
180
|
-
season: number;
|
|
181
|
-
team: string;
|
|
182
|
-
conference: string;
|
|
76
|
+
opponent: string;
|
|
183
77
|
offense: {
|
|
184
78
|
passingPlays: {
|
|
185
|
-
explosiveness: number;
|
|
79
|
+
explosiveness: (number) | null;
|
|
186
80
|
successRate: number;
|
|
187
81
|
totalPPA: number;
|
|
188
82
|
ppa: number;
|
|
189
|
-
rate: number;
|
|
190
83
|
};
|
|
191
84
|
rushingPlays: {
|
|
192
|
-
explosiveness: number;
|
|
85
|
+
explosiveness: (number) | null;
|
|
193
86
|
successRate: number;
|
|
194
87
|
totalPPA: number;
|
|
195
88
|
ppa: number;
|
|
196
|
-
rate: number;
|
|
197
89
|
};
|
|
198
90
|
passingDowns: {
|
|
199
|
-
explosiveness: number;
|
|
91
|
+
explosiveness: (number) | null;
|
|
200
92
|
successRate: number;
|
|
201
93
|
ppa: number;
|
|
202
|
-
rate: number;
|
|
203
94
|
};
|
|
204
95
|
standardDowns: {
|
|
205
|
-
explosiveness: number;
|
|
96
|
+
explosiveness: (number) | null;
|
|
206
97
|
successRate: number;
|
|
207
98
|
ppa: number;
|
|
208
|
-
rate: number;
|
|
209
99
|
};
|
|
210
|
-
havoc: {
|
|
211
|
-
db: number | null;
|
|
212
|
-
frontSeven: number | null;
|
|
213
|
-
total: number | null;
|
|
214
|
-
};
|
|
215
|
-
fieldPosition: {
|
|
216
|
-
averagePredictedPoints: number | null;
|
|
217
|
-
averageStart: number | null;
|
|
218
|
-
};
|
|
219
|
-
pointsPerOpportunity: number;
|
|
220
|
-
totalOpportunies: number;
|
|
221
100
|
openFieldYardsTotal: number;
|
|
222
|
-
openFieldYards: number;
|
|
101
|
+
openFieldYards: (number) | null;
|
|
223
102
|
secondLevelYardsTotal: number;
|
|
224
103
|
secondLevelYards: number;
|
|
225
104
|
lineYardsTotal: number;
|
|
226
105
|
lineYards: number;
|
|
227
106
|
stuffRate: number;
|
|
228
|
-
powerSuccess: number;
|
|
229
|
-
explosiveness: number;
|
|
107
|
+
powerSuccess: (number) | null;
|
|
108
|
+
explosiveness: (number) | null;
|
|
230
109
|
successRate: number;
|
|
231
110
|
totalPPA: number;
|
|
232
111
|
ppa: number;
|
|
@@ -235,51 +114,35 @@ export type AdvancedSeasonStat = {
|
|
|
235
114
|
};
|
|
236
115
|
defense: {
|
|
237
116
|
passingPlays: {
|
|
238
|
-
explosiveness: number;
|
|
117
|
+
explosiveness: (number) | null;
|
|
239
118
|
successRate: number;
|
|
240
119
|
totalPPA: number;
|
|
241
120
|
ppa: number;
|
|
242
|
-
rate: number;
|
|
243
121
|
};
|
|
244
122
|
rushingPlays: {
|
|
245
|
-
explosiveness: number;
|
|
123
|
+
explosiveness: (number) | null;
|
|
246
124
|
successRate: number;
|
|
247
125
|
totalPPA: number;
|
|
248
126
|
ppa: number;
|
|
249
|
-
rate: number;
|
|
250
127
|
};
|
|
251
128
|
passingDowns: {
|
|
252
|
-
explosiveness: number;
|
|
129
|
+
explosiveness: (number) | null;
|
|
253
130
|
successRate: number;
|
|
254
|
-
totalPPA: number;
|
|
255
131
|
ppa: number;
|
|
256
|
-
rate: number;
|
|
257
132
|
};
|
|
258
133
|
standardDowns: {
|
|
259
|
-
explosiveness: number;
|
|
134
|
+
explosiveness: (number) | null;
|
|
260
135
|
successRate: number;
|
|
261
136
|
ppa: number;
|
|
262
|
-
rate: number;
|
|
263
|
-
};
|
|
264
|
-
havoc: {
|
|
265
|
-
db: number | null;
|
|
266
|
-
frontSeven: number | null;
|
|
267
|
-
total: number | null;
|
|
268
|
-
};
|
|
269
|
-
fieldPosition: {
|
|
270
|
-
averagePredictedPoints: number | null;
|
|
271
|
-
averageStart: number | null;
|
|
272
137
|
};
|
|
273
|
-
|
|
274
|
-
totalOpportunies: number;
|
|
275
|
-
openFieldYardsTotal: number;
|
|
138
|
+
openFieldYardsTotal: (number) | null;
|
|
276
139
|
openFieldYards: number;
|
|
277
140
|
secondLevelYardsTotal: number;
|
|
278
141
|
secondLevelYards: number;
|
|
279
142
|
lineYardsTotal: number;
|
|
280
143
|
lineYards: number;
|
|
281
144
|
stuffRate: number;
|
|
282
|
-
powerSuccess: number;
|
|
145
|
+
powerSuccess: (number) | null;
|
|
283
146
|
explosiveness: number;
|
|
284
147
|
successRate: number;
|
|
285
148
|
totalPPA: number;
|
|
@@ -289,35 +152,48 @@ export type AdvancedSeasonStat = {
|
|
|
289
152
|
};
|
|
290
153
|
};
|
|
291
154
|
|
|
292
|
-
export type
|
|
293
|
-
gameId: number;
|
|
155
|
+
export type AdvancedSeasonStat = {
|
|
294
156
|
season: number;
|
|
295
|
-
week: number;
|
|
296
157
|
team: string;
|
|
297
|
-
|
|
158
|
+
conference: string;
|
|
298
159
|
offense: {
|
|
299
160
|
passingPlays: {
|
|
300
|
-
explosiveness: number;
|
|
161
|
+
explosiveness: (number) | null;
|
|
301
162
|
successRate: number;
|
|
302
163
|
totalPPA: number;
|
|
303
164
|
ppa: number;
|
|
165
|
+
rate: number;
|
|
304
166
|
};
|
|
305
167
|
rushingPlays: {
|
|
306
|
-
explosiveness: number;
|
|
168
|
+
explosiveness: (number) | null;
|
|
307
169
|
successRate: number;
|
|
308
170
|
totalPPA: number;
|
|
309
171
|
ppa: number;
|
|
172
|
+
rate: number;
|
|
310
173
|
};
|
|
311
174
|
passingDowns: {
|
|
312
|
-
explosiveness: number;
|
|
175
|
+
explosiveness: (number) | null;
|
|
313
176
|
successRate: number;
|
|
314
177
|
ppa: number;
|
|
178
|
+
rate: number;
|
|
315
179
|
};
|
|
316
180
|
standardDowns: {
|
|
317
|
-
explosiveness: number;
|
|
181
|
+
explosiveness: (number) | null;
|
|
318
182
|
successRate: number;
|
|
319
183
|
ppa: number;
|
|
184
|
+
rate: number;
|
|
185
|
+
};
|
|
186
|
+
havoc: {
|
|
187
|
+
db: (number) | null;
|
|
188
|
+
frontSeven: (number) | null;
|
|
189
|
+
total: (number) | null;
|
|
320
190
|
};
|
|
191
|
+
fieldPosition: {
|
|
192
|
+
averagePredictedPoints: (number) | null;
|
|
193
|
+
averageStart: (number) | null;
|
|
194
|
+
};
|
|
195
|
+
pointsPerOpportunity: number;
|
|
196
|
+
totalOpportunies: number;
|
|
321
197
|
openFieldYardsTotal: number;
|
|
322
198
|
openFieldYards: number;
|
|
323
199
|
secondLevelYardsTotal: number;
|
|
@@ -325,8 +201,8 @@ export type AdvancedGameStat = {
|
|
|
325
201
|
lineYardsTotal: number;
|
|
326
202
|
lineYards: number;
|
|
327
203
|
stuffRate: number;
|
|
328
|
-
powerSuccess: number;
|
|
329
|
-
explosiveness: number;
|
|
204
|
+
powerSuccess: (number) | null;
|
|
205
|
+
explosiveness: (number) | null;
|
|
330
206
|
successRate: number;
|
|
331
207
|
totalPPA: number;
|
|
332
208
|
ppa: number;
|
|
@@ -335,27 +211,43 @@ export type AdvancedGameStat = {
|
|
|
335
211
|
};
|
|
336
212
|
defense: {
|
|
337
213
|
passingPlays: {
|
|
338
|
-
explosiveness: number;
|
|
214
|
+
explosiveness: (number) | null;
|
|
339
215
|
successRate: number;
|
|
340
216
|
totalPPA: number;
|
|
341
217
|
ppa: number;
|
|
218
|
+
rate: number;
|
|
342
219
|
};
|
|
343
220
|
rushingPlays: {
|
|
344
|
-
explosiveness: number;
|
|
221
|
+
explosiveness: (number) | null;
|
|
345
222
|
successRate: number;
|
|
346
223
|
totalPPA: number;
|
|
347
224
|
ppa: number;
|
|
225
|
+
rate: number;
|
|
348
226
|
};
|
|
349
227
|
passingDowns: {
|
|
350
|
-
explosiveness: number;
|
|
228
|
+
explosiveness: (number) | null;
|
|
351
229
|
successRate: number;
|
|
230
|
+
totalPPA: number;
|
|
352
231
|
ppa: number;
|
|
232
|
+
rate: number;
|
|
353
233
|
};
|
|
354
234
|
standardDowns: {
|
|
355
|
-
explosiveness: number;
|
|
235
|
+
explosiveness: (number) | null;
|
|
356
236
|
successRate: number;
|
|
357
237
|
ppa: number;
|
|
238
|
+
rate: number;
|
|
239
|
+
};
|
|
240
|
+
havoc: {
|
|
241
|
+
db: (number) | null;
|
|
242
|
+
frontSeven: (number) | null;
|
|
243
|
+
total: (number) | null;
|
|
358
244
|
};
|
|
245
|
+
fieldPosition: {
|
|
246
|
+
averagePredictedPoints: (number) | null;
|
|
247
|
+
averageStart: (number) | null;
|
|
248
|
+
};
|
|
249
|
+
pointsPerOpportunity: number;
|
|
250
|
+
totalOpportunies: number;
|
|
359
251
|
openFieldYardsTotal: number;
|
|
360
252
|
openFieldYards: number;
|
|
361
253
|
secondLevelYardsTotal: number;
|
|
@@ -363,8 +255,8 @@ export type AdvancedGameStat = {
|
|
|
363
255
|
lineYardsTotal: number;
|
|
364
256
|
lineYards: number;
|
|
365
257
|
stuffRate: number;
|
|
366
|
-
powerSuccess: number;
|
|
367
|
-
explosiveness: number;
|
|
258
|
+
powerSuccess: (number) | null;
|
|
259
|
+
explosiveness: (number) | null;
|
|
368
260
|
successRate: number;
|
|
369
261
|
totalPPA: number;
|
|
370
262
|
ppa: number;
|
|
@@ -373,384 +265,493 @@ export type AdvancedGameStat = {
|
|
|
373
265
|
};
|
|
374
266
|
};
|
|
375
267
|
|
|
376
|
-
export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
|
|
377
|
-
|
|
378
|
-
export type Recruit = {
|
|
379
|
-
id: string;
|
|
380
|
-
athleteId: string | null;
|
|
381
|
-
recruitType: RecruitClassification;
|
|
382
|
-
year: number;
|
|
383
|
-
ranking: number | null;
|
|
384
|
-
name: string;
|
|
385
|
-
school: string | null;
|
|
386
|
-
committedTo: string | null;
|
|
387
|
-
position: string | null;
|
|
388
|
-
height: number | null;
|
|
389
|
-
weight: number | null;
|
|
390
|
-
stars: number;
|
|
391
|
-
rating: number;
|
|
392
|
-
city: string | null;
|
|
393
|
-
stateProvince: string | null;
|
|
394
|
-
country: string | null;
|
|
395
|
-
hometownInfo: {
|
|
396
|
-
fipsCode: string | null;
|
|
397
|
-
longitude: number | null;
|
|
398
|
-
latitude: number | null;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
export type TeamRecruitingRanking = {
|
|
403
|
-
year: number;
|
|
404
|
-
rank: number;
|
|
405
|
-
team: string;
|
|
406
|
-
points: number;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
268
|
export type AggregatedTeamRecruiting = {
|
|
410
269
|
team: string;
|
|
411
270
|
conference: string;
|
|
412
|
-
positionGroup: string | null;
|
|
271
|
+
positionGroup: (string) | null;
|
|
413
272
|
averageRating: number;
|
|
414
273
|
totalRating: number;
|
|
415
274
|
commits: number;
|
|
416
275
|
averageStars: number;
|
|
417
276
|
};
|
|
418
277
|
|
|
419
|
-
export type
|
|
278
|
+
export type BettingGame = {
|
|
279
|
+
id: number;
|
|
280
|
+
season: number;
|
|
281
|
+
seasonType: SeasonType;
|
|
282
|
+
week: number;
|
|
283
|
+
startDate: string;
|
|
284
|
+
homeTeam: string;
|
|
285
|
+
homeConference: (string) | null;
|
|
286
|
+
homeClassification: ((DivisionClassification) | null);
|
|
287
|
+
homeScore: (number) | null;
|
|
288
|
+
awayTeam: string;
|
|
289
|
+
awayConference: (string) | null;
|
|
290
|
+
awayClassification: ((DivisionClassification) | null);
|
|
291
|
+
awayScore: (number) | null;
|
|
292
|
+
lines: Array<GameLine>;
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
export type CalendarWeek = {
|
|
296
|
+
season: number;
|
|
297
|
+
week: number;
|
|
298
|
+
seasonType: SeasonType;
|
|
299
|
+
startDate: string;
|
|
300
|
+
endDate: string;
|
|
301
|
+
/**
|
|
302
|
+
* @deprecated
|
|
303
|
+
*/
|
|
304
|
+
firstGameStart: string;
|
|
305
|
+
/**
|
|
306
|
+
* @deprecated
|
|
307
|
+
*/
|
|
308
|
+
lastGameStart: string;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
export type Coach = {
|
|
312
|
+
firstName: string;
|
|
313
|
+
lastName: string;
|
|
314
|
+
hireDate: (string) | null;
|
|
315
|
+
seasons: Array<CoachSeason>;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
export type CoachSeason = {
|
|
319
|
+
school: string;
|
|
420
320
|
year: number;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
defense: {
|
|
440
|
-
havoc: {
|
|
441
|
-
db: number | null;
|
|
442
|
-
frontSeven: number | null;
|
|
443
|
-
total: number | null;
|
|
444
|
-
};
|
|
445
|
-
passingDowns: number | null;
|
|
446
|
-
standardDowns: number | null;
|
|
447
|
-
passing: number | null;
|
|
448
|
-
rushing: number | null;
|
|
449
|
-
explosiveness: number | null;
|
|
450
|
-
success: number | null;
|
|
451
|
-
rating: number;
|
|
452
|
-
ranking: number;
|
|
453
|
-
};
|
|
454
|
-
specialTeams: {
|
|
455
|
-
rating: number | null;
|
|
456
|
-
};
|
|
321
|
+
games: number;
|
|
322
|
+
wins: number;
|
|
323
|
+
losses: number;
|
|
324
|
+
ties: number;
|
|
325
|
+
preseasonRank: (number) | null;
|
|
326
|
+
postseasonRank: (number) | null;
|
|
327
|
+
srs: (number) | null;
|
|
328
|
+
spOverall: (number) | null;
|
|
329
|
+
spOffense: (number) | null;
|
|
330
|
+
spDefense: (number) | null;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export type Conference = {
|
|
334
|
+
id: number;
|
|
335
|
+
name: string;
|
|
336
|
+
shortName: (string) | null;
|
|
337
|
+
abbreviation: (string) | null;
|
|
338
|
+
classification: ((DivisionClassification) | null);
|
|
457
339
|
};
|
|
458
340
|
|
|
459
|
-
export type
|
|
341
|
+
export type ConferenceSP = {
|
|
460
342
|
year: number;
|
|
461
343
|
conference: string;
|
|
462
344
|
rating: number;
|
|
463
|
-
secondOrderWins: number | null;
|
|
464
|
-
sos: number | null;
|
|
345
|
+
secondOrderWins: (number) | null;
|
|
346
|
+
sos: (number) | null;
|
|
465
347
|
offense: {
|
|
466
|
-
pace: number | null;
|
|
467
|
-
runRate: number | null;
|
|
468
|
-
passingDowns: number | null;
|
|
469
|
-
standardDowns: number | null;
|
|
470
|
-
passing: number | null;
|
|
471
|
-
rushing: number | null;
|
|
472
|
-
explosiveness: number | null;
|
|
473
|
-
success: number | null;
|
|
348
|
+
pace: (number) | null;
|
|
349
|
+
runRate: (number) | null;
|
|
350
|
+
passingDowns: (number) | null;
|
|
351
|
+
standardDowns: (number) | null;
|
|
352
|
+
passing: (number) | null;
|
|
353
|
+
rushing: (number) | null;
|
|
354
|
+
explosiveness: (number) | null;
|
|
355
|
+
success: (number) | null;
|
|
474
356
|
rating: number;
|
|
475
357
|
};
|
|
476
358
|
defense: {
|
|
477
359
|
havoc: {
|
|
478
|
-
db: number | null;
|
|
479
|
-
frontSeven: number | null;
|
|
480
|
-
total: number | null;
|
|
360
|
+
db: (number) | null;
|
|
361
|
+
frontSeven: (number) | null;
|
|
362
|
+
total: (number) | null;
|
|
481
363
|
};
|
|
482
|
-
passingDowns: number | null;
|
|
483
|
-
standardDowns: number | null;
|
|
484
|
-
passing: number | null;
|
|
485
|
-
rushing: number | null;
|
|
486
|
-
explosiveness: number | null;
|
|
487
|
-
success: number | null;
|
|
364
|
+
passingDowns: (number) | null;
|
|
365
|
+
standardDowns: (number) | null;
|
|
366
|
+
passing: (number) | null;
|
|
367
|
+
rushing: (number) | null;
|
|
368
|
+
explosiveness: (number) | null;
|
|
369
|
+
success: (number) | null;
|
|
488
370
|
rating: number;
|
|
489
371
|
};
|
|
490
372
|
specialTeams: {
|
|
491
|
-
rating: number | null;
|
|
373
|
+
rating: (number) | null;
|
|
492
374
|
};
|
|
493
375
|
};
|
|
494
376
|
|
|
495
|
-
export type
|
|
496
|
-
year: number;
|
|
497
|
-
team: string;
|
|
498
|
-
conference: string | null;
|
|
499
|
-
division: string | null;
|
|
500
|
-
rating: number;
|
|
501
|
-
ranking: number;
|
|
502
|
-
};
|
|
377
|
+
export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
|
|
503
378
|
|
|
504
|
-
export type
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
379
|
+
export type DraftPick = {
|
|
380
|
+
collegeAthleteId: (number) | null;
|
|
381
|
+
nflAthleteId: number;
|
|
382
|
+
collegeId: number;
|
|
383
|
+
collegeTeam: string;
|
|
384
|
+
collegeConference: (string) | null;
|
|
385
|
+
nflTeamId: number;
|
|
386
|
+
nflTeam: string;
|
|
512
387
|
year: number;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
388
|
+
overall: number;
|
|
389
|
+
round: number;
|
|
390
|
+
pick: number;
|
|
391
|
+
name: string;
|
|
392
|
+
position: string;
|
|
393
|
+
height: (number) | null;
|
|
394
|
+
weight: (number) | null;
|
|
395
|
+
preDraftRanking: (number) | null;
|
|
396
|
+
preDraftPositionRanking: (number) | null;
|
|
397
|
+
preDraftGrade: (number) | null;
|
|
398
|
+
hometownInfo: {
|
|
399
|
+
countyFips: (string) | null;
|
|
400
|
+
longitude: (string) | null;
|
|
401
|
+
latitude: (string) | null;
|
|
402
|
+
country: (string) | null;
|
|
403
|
+
state: (string) | null;
|
|
404
|
+
city: (string) | null;
|
|
529
405
|
};
|
|
530
406
|
};
|
|
531
407
|
|
|
532
|
-
export type
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
conference: string | null;
|
|
536
|
-
firstPlaceVotes: number | null;
|
|
537
|
-
points: number | null;
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
export type Poll = {
|
|
541
|
-
poll: string;
|
|
542
|
-
ranks: Array<PollRank>;
|
|
408
|
+
export type DraftPosition = {
|
|
409
|
+
name: string;
|
|
410
|
+
abbreviation: string;
|
|
543
411
|
};
|
|
544
412
|
|
|
545
|
-
export type
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
413
|
+
export type DraftTeam = {
|
|
414
|
+
location: string;
|
|
415
|
+
nickname: (string) | null;
|
|
416
|
+
displayName: (string) | null;
|
|
417
|
+
logo: (string) | null;
|
|
550
418
|
};
|
|
551
419
|
|
|
552
|
-
export type
|
|
553
|
-
id: string;
|
|
554
|
-
driveId: string;
|
|
555
|
-
gameId: number;
|
|
556
|
-
driveNumber: number | null;
|
|
557
|
-
playNumber: number | null;
|
|
420
|
+
export type Drive = {
|
|
558
421
|
offense: string;
|
|
559
|
-
offenseConference: string | null;
|
|
560
|
-
offenseScore: number;
|
|
422
|
+
offenseConference: (string) | null;
|
|
561
423
|
defense: string;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
424
|
+
defenseConference: (string) | null;
|
|
425
|
+
gameId: number;
|
|
426
|
+
id: string;
|
|
427
|
+
driveNumber: (number) | null;
|
|
428
|
+
scoring: boolean;
|
|
429
|
+
startPeriod: number;
|
|
430
|
+
startYardline: number;
|
|
431
|
+
startYardsToGoal: number;
|
|
432
|
+
startTime: {
|
|
433
|
+
seconds: (number) | null;
|
|
434
|
+
minutes: (number) | null;
|
|
570
435
|
};
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
436
|
+
endPeriod: number;
|
|
437
|
+
endYardline: number;
|
|
438
|
+
endYardsToGoal: number;
|
|
439
|
+
endTime: {
|
|
440
|
+
seconds: (number) | null;
|
|
441
|
+
minutes: (number) | null;
|
|
442
|
+
};
|
|
443
|
+
plays: number;
|
|
444
|
+
yards: number;
|
|
445
|
+
driveResult: string;
|
|
446
|
+
isHomeOffense: boolean;
|
|
447
|
+
startOffenseScore: number;
|
|
448
|
+
startDefenseScore: number;
|
|
449
|
+
endOffenseScore: number;
|
|
450
|
+
endDefenseScore: number;
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
export type FieldGoalEP = {
|
|
574
454
|
yardsToGoal: number;
|
|
575
|
-
down: number;
|
|
576
455
|
distance: number;
|
|
577
|
-
|
|
578
|
-
scoring: boolean;
|
|
579
|
-
playType: string;
|
|
580
|
-
playText: string | null;
|
|
581
|
-
ppa: number | null;
|
|
582
|
-
wallclock: string | null;
|
|
456
|
+
expectedPoints: number;
|
|
583
457
|
};
|
|
584
458
|
|
|
585
|
-
export type
|
|
459
|
+
export type Game = {
|
|
586
460
|
id: number;
|
|
587
|
-
|
|
588
|
-
|
|
461
|
+
season: number;
|
|
462
|
+
week: number;
|
|
463
|
+
seasonType: SeasonType;
|
|
464
|
+
startDate: string;
|
|
465
|
+
startTimeTBD: boolean;
|
|
466
|
+
completed: boolean;
|
|
467
|
+
neutralSite: boolean;
|
|
468
|
+
conferenceGame: boolean;
|
|
469
|
+
attendance: (number) | null;
|
|
470
|
+
venueId: (number) | null;
|
|
471
|
+
venue: (string) | null;
|
|
472
|
+
homeId: number;
|
|
473
|
+
homeTeam: string;
|
|
474
|
+
homeConference: (string) | null;
|
|
475
|
+
homeClassification: ((DivisionClassification) | null);
|
|
476
|
+
homePoints: (number) | null;
|
|
477
|
+
homeLineScores: Array<(number)> | null;
|
|
478
|
+
homePostgameWinProbability: (number) | null;
|
|
479
|
+
homePregameElo: (number) | null;
|
|
480
|
+
homePostgameElo: (number) | null;
|
|
481
|
+
awayId: number;
|
|
482
|
+
awayTeam: string;
|
|
483
|
+
awayConference: (string) | null;
|
|
484
|
+
awayClassification: ((DivisionClassification) | null);
|
|
485
|
+
awayPoints: (number) | null;
|
|
486
|
+
awayLineScores: Array<(number)> | null;
|
|
487
|
+
awayPostgameWinProbability: (number) | null;
|
|
488
|
+
awayPregameElo: (number) | null;
|
|
489
|
+
awayPostgameElo: (number) | null;
|
|
490
|
+
excitementIndex: (number) | null;
|
|
491
|
+
highlights: (string) | null;
|
|
492
|
+
notes: (string) | null;
|
|
589
493
|
};
|
|
590
494
|
|
|
591
|
-
export type
|
|
592
|
-
|
|
495
|
+
export type GameLine = {
|
|
496
|
+
provider: string;
|
|
497
|
+
spread: (number) | null;
|
|
498
|
+
formattedSpread: string;
|
|
499
|
+
spreadOpen: (number) | null;
|
|
500
|
+
overUnder: (number) | null;
|
|
501
|
+
overUnderOpen: (number) | null;
|
|
502
|
+
homeMoneyline: (number) | null;
|
|
503
|
+
awayMoneyline: (number) | null;
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
export type GameMedia = {
|
|
507
|
+
id: number;
|
|
593
508
|
season: number;
|
|
594
509
|
week: number;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
seconds: number | null;
|
|
605
|
-
minutes: number | null;
|
|
606
|
-
};
|
|
607
|
-
yardsToGoal: number;
|
|
608
|
-
down: number;
|
|
609
|
-
distance: number;
|
|
610
|
-
athleteId: string;
|
|
611
|
-
athleteName: string;
|
|
612
|
-
statType: string;
|
|
613
|
-
stat: number;
|
|
510
|
+
seasonType: SeasonType;
|
|
511
|
+
startTime: string;
|
|
512
|
+
isStartTimeTBD: boolean;
|
|
513
|
+
homeTeam: string;
|
|
514
|
+
homeConference: (string) | null;
|
|
515
|
+
awayTeam: string;
|
|
516
|
+
awayConference: (string) | null;
|
|
517
|
+
mediaType: MediaType;
|
|
518
|
+
outlet: string;
|
|
614
519
|
};
|
|
615
520
|
|
|
616
|
-
export type
|
|
617
|
-
id: number;
|
|
521
|
+
export type GamePlayerStatCategories = {
|
|
618
522
|
name: string;
|
|
523
|
+
types: Array<GamePlayerStatTypes>;
|
|
619
524
|
};
|
|
620
525
|
|
|
621
|
-
export type
|
|
526
|
+
export type GamePlayerStatPlayer = {
|
|
622
527
|
id: string;
|
|
623
|
-
team: string;
|
|
624
528
|
name: string;
|
|
625
|
-
|
|
626
|
-
lastName: string | null;
|
|
627
|
-
weight: number | null;
|
|
628
|
-
height: number | null;
|
|
629
|
-
jersey: number | null;
|
|
630
|
-
position: string;
|
|
631
|
-
hometown: string;
|
|
632
|
-
teamColor: string;
|
|
633
|
-
teamColorSecondary: string;
|
|
529
|
+
stat: string;
|
|
634
530
|
};
|
|
635
531
|
|
|
636
|
-
export type
|
|
637
|
-
|
|
638
|
-
|
|
532
|
+
export type GamePlayerStats = {
|
|
533
|
+
id: number;
|
|
534
|
+
teams: Array<GamePlayerStatsTeam>;
|
|
639
535
|
};
|
|
640
536
|
|
|
641
|
-
export type
|
|
642
|
-
|
|
643
|
-
|
|
537
|
+
export type GamePlayerStatsTeam = {
|
|
538
|
+
team: string;
|
|
539
|
+
conference: (string) | null;
|
|
540
|
+
homeAway: 'home' | 'away';
|
|
541
|
+
points: (number) | null;
|
|
542
|
+
categories: Array<GamePlayerStatCategories>;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
export type homeAway = 'home' | 'away';
|
|
546
|
+
|
|
547
|
+
export type GamePlayerStatTypes = {
|
|
644
548
|
name: string;
|
|
645
|
-
|
|
549
|
+
athletes: Array<GamePlayerStatPlayer>;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
|
|
553
|
+
|
|
554
|
+
export type GameTeamStats = {
|
|
555
|
+
id: number;
|
|
556
|
+
teams: Array<GameTeamStatsTeam>;
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
export type GameTeamStatsTeam = {
|
|
560
|
+
teamId: number;
|
|
646
561
|
team: string;
|
|
647
|
-
conference: string;
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
thirdDown: number;
|
|
652
|
-
secondDown: number;
|
|
653
|
-
firstDown: number;
|
|
654
|
-
rush: number;
|
|
655
|
-
pass: number;
|
|
656
|
-
overall: number;
|
|
657
|
-
};
|
|
562
|
+
conference: (string) | null;
|
|
563
|
+
homeAway: 'home' | 'away';
|
|
564
|
+
points: (number) | null;
|
|
565
|
+
stats: Array<GameTeamStatsTeamStat>;
|
|
658
566
|
};
|
|
659
567
|
|
|
660
|
-
export type
|
|
568
|
+
export type GameTeamStatsTeamStat = {
|
|
569
|
+
category: string;
|
|
570
|
+
stat: string;
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
export type GameWeather = {
|
|
574
|
+
id: number;
|
|
661
575
|
season: number;
|
|
576
|
+
week: number;
|
|
577
|
+
seasonType: SeasonType;
|
|
578
|
+
startTime: string;
|
|
579
|
+
gameIndoors: boolean;
|
|
580
|
+
homeTeam: string;
|
|
581
|
+
homeConference: (string) | null;
|
|
582
|
+
awayTeam: string;
|
|
583
|
+
awayConference: (string) | null;
|
|
584
|
+
venueId: number;
|
|
585
|
+
venue: string;
|
|
586
|
+
temperature: (number) | null;
|
|
587
|
+
dewPoint: (number) | null;
|
|
588
|
+
humidity: (number) | null;
|
|
589
|
+
precipitation: (number) | null;
|
|
590
|
+
snowfall: (number) | null;
|
|
591
|
+
windDirection: (number) | null;
|
|
592
|
+
windSpeed: (number) | null;
|
|
593
|
+
pressure: (number) | null;
|
|
594
|
+
weatherConditionCode: (number) | null;
|
|
595
|
+
weatherCondition: (string) | null;
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
export type KickerPAAR = {
|
|
599
|
+
year: number;
|
|
600
|
+
athleteId: string;
|
|
601
|
+
athleteName: string;
|
|
662
602
|
team: string;
|
|
663
603
|
conference: string;
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
totalReceivingPPA: number;
|
|
667
|
-
totalRushingPPA: number;
|
|
668
|
-
percentPPA: number;
|
|
669
|
-
percentPassingPPA: number;
|
|
670
|
-
percentReceivingPPA: number;
|
|
671
|
-
percentRushingPPA: number;
|
|
672
|
-
usage: number;
|
|
673
|
-
passingUsage: number;
|
|
674
|
-
receivingUsage: number;
|
|
675
|
-
rushingUsage: number;
|
|
604
|
+
paar: number;
|
|
605
|
+
attempts: number;
|
|
676
606
|
};
|
|
677
607
|
|
|
678
|
-
export type
|
|
608
|
+
export type LiveGame = {
|
|
609
|
+
id: number;
|
|
610
|
+
status: string;
|
|
611
|
+
period: (number) | null;
|
|
612
|
+
clock: string;
|
|
613
|
+
possession: string;
|
|
614
|
+
down: (number) | null;
|
|
615
|
+
distance: (number) | null;
|
|
616
|
+
yardsToGoal: (number) | null;
|
|
617
|
+
teams: Array<LiveGameTeam>;
|
|
618
|
+
drives: Array<LiveGameDrive>;
|
|
619
|
+
};
|
|
679
620
|
|
|
680
|
-
export type
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
621
|
+
export type LiveGameDrive = {
|
|
622
|
+
id: string;
|
|
623
|
+
offenseId: number;
|
|
624
|
+
offense: string;
|
|
625
|
+
defenseId: number;
|
|
626
|
+
defense: string;
|
|
627
|
+
playCount: number;
|
|
628
|
+
yards: number;
|
|
629
|
+
startPeriod: number;
|
|
630
|
+
startClock: (string) | null;
|
|
631
|
+
startYardsToGoal: number;
|
|
632
|
+
endPeriod: (number) | null;
|
|
633
|
+
endClock: (string) | null;
|
|
634
|
+
endYardsToGoal: (number) | null;
|
|
635
|
+
duration: (string) | null;
|
|
636
|
+
scoringOpportunity: boolean;
|
|
637
|
+
result: string;
|
|
638
|
+
pointsGained: number;
|
|
639
|
+
plays: Array<LiveGamePlay>;
|
|
691
640
|
};
|
|
692
641
|
|
|
693
|
-
export type
|
|
694
|
-
|
|
695
|
-
|
|
642
|
+
export type LiveGamePlay = {
|
|
643
|
+
id: string;
|
|
644
|
+
homeScore: number;
|
|
645
|
+
awayScore: number;
|
|
646
|
+
period: number;
|
|
647
|
+
clock: string;
|
|
648
|
+
wallClock: string;
|
|
649
|
+
teamId: number;
|
|
650
|
+
team: string;
|
|
651
|
+
down: number;
|
|
652
|
+
distance: number;
|
|
653
|
+
yardsToGoal: number;
|
|
654
|
+
yardsGained: number;
|
|
655
|
+
playTypeId: number;
|
|
656
|
+
playType: string;
|
|
657
|
+
epa: (number) | null;
|
|
658
|
+
garbageTime: boolean;
|
|
659
|
+
success: boolean;
|
|
660
|
+
rushPash: 'rush' | 'pass' | 'other';
|
|
661
|
+
downType: 'passing' | 'standard';
|
|
662
|
+
playText: string;
|
|
696
663
|
};
|
|
697
664
|
|
|
698
|
-
export type
|
|
699
|
-
|
|
700
|
-
|
|
665
|
+
export type rushPash = 'rush' | 'pass' | 'other';
|
|
666
|
+
|
|
667
|
+
export type downType = 'passing' | 'standard';
|
|
668
|
+
|
|
669
|
+
export type LiveGameTeam = {
|
|
670
|
+
teamId: number;
|
|
701
671
|
team: string;
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
passing: number;
|
|
726
|
-
overall: number;
|
|
727
|
-
};
|
|
672
|
+
homeAway: 'home' | 'away';
|
|
673
|
+
lineScores: Array<(number)>;
|
|
674
|
+
points: number;
|
|
675
|
+
drives: number;
|
|
676
|
+
scoringOpportunities: number;
|
|
677
|
+
pointsPerOpportunity: number;
|
|
678
|
+
plays: number;
|
|
679
|
+
lineYards: number;
|
|
680
|
+
lineYardsPerRush: number;
|
|
681
|
+
secondLevelYards: number;
|
|
682
|
+
secondLevelYardsPerRush: number;
|
|
683
|
+
openFieldYards: number;
|
|
684
|
+
openFieldYardsPerRush: number;
|
|
685
|
+
epaPerPlay: number;
|
|
686
|
+
totalEpa: number;
|
|
687
|
+
passingEpa: number;
|
|
688
|
+
epaPerPass: number;
|
|
689
|
+
rushingEpa: number;
|
|
690
|
+
epaPerRush: number;
|
|
691
|
+
successRate: number;
|
|
692
|
+
standardDownSuccessRate: number;
|
|
693
|
+
passingDownSuccessRate: number;
|
|
694
|
+
explosiveness: number;
|
|
728
695
|
};
|
|
729
696
|
|
|
730
|
-
export type
|
|
731
|
-
|
|
697
|
+
export type Matchup = {
|
|
698
|
+
team1: string;
|
|
699
|
+
team2: string;
|
|
700
|
+
startYear?: number;
|
|
701
|
+
endYear?: number;
|
|
702
|
+
team1Wins: number;
|
|
703
|
+
team2Wins: number;
|
|
704
|
+
ties: number;
|
|
705
|
+
games: Array<MatchupGame>;
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
export type MatchupGame = {
|
|
732
709
|
season: number;
|
|
733
710
|
week: number;
|
|
734
|
-
seasonType:
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
711
|
+
seasonType: string;
|
|
712
|
+
date: string;
|
|
713
|
+
neutralSite: boolean;
|
|
714
|
+
venue: (string) | null;
|
|
715
|
+
homeTeam: string;
|
|
716
|
+
homeScore: (number) | null;
|
|
717
|
+
awayTeam: string;
|
|
718
|
+
awayScore: (number) | null;
|
|
719
|
+
winner: (string) | null;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
export type MediaType = 'tv' | 'radio' | 'web' | 'ppv' | 'mobile';
|
|
723
|
+
|
|
724
|
+
export type Play = {
|
|
725
|
+
id: string;
|
|
726
|
+
driveId: string;
|
|
727
|
+
gameId: number;
|
|
728
|
+
driveNumber: (number) | null;
|
|
729
|
+
playNumber: (number) | null;
|
|
730
|
+
offense: string;
|
|
731
|
+
offenseConference: (string) | null;
|
|
732
|
+
offenseScore: number;
|
|
733
|
+
defense: string;
|
|
734
|
+
home: string;
|
|
735
|
+
away: string;
|
|
736
|
+
defenseConference: (string) | null;
|
|
737
|
+
defenseScore: number;
|
|
738
|
+
period: number;
|
|
739
|
+
clock: {
|
|
740
|
+
seconds: (number) | null;
|
|
741
|
+
minutes: (number) | null;
|
|
753
742
|
};
|
|
743
|
+
offenseTimeouts: (number) | null;
|
|
744
|
+
defenseTimeouts: (number) | null;
|
|
745
|
+
yardline: number;
|
|
746
|
+
yardsToGoal: number;
|
|
747
|
+
down: number;
|
|
748
|
+
distance: number;
|
|
749
|
+
yardsGained: number;
|
|
750
|
+
scoring: boolean;
|
|
751
|
+
playType: string;
|
|
752
|
+
playText: (string) | null;
|
|
753
|
+
ppa: (number) | null;
|
|
754
|
+
wallclock: (string) | null;
|
|
754
755
|
};
|
|
755
756
|
|
|
756
757
|
export type PlayerGamePredictedPointsAdded = {
|
|
@@ -769,6 +770,47 @@ export type PlayerGamePredictedPointsAdded = {
|
|
|
769
770
|
};
|
|
770
771
|
};
|
|
771
772
|
|
|
773
|
+
export type PlayerGameUsage = {
|
|
774
|
+
total: number;
|
|
775
|
+
quarter1: (number) | null;
|
|
776
|
+
quarter2: (number) | null;
|
|
777
|
+
quarter3: (number) | null;
|
|
778
|
+
quarter4: (number) | null;
|
|
779
|
+
rushing: number;
|
|
780
|
+
passing: number;
|
|
781
|
+
player: string;
|
|
782
|
+
team: string;
|
|
783
|
+
position: string;
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
export type PlayerPPA = {
|
|
787
|
+
player: string;
|
|
788
|
+
team: string;
|
|
789
|
+
position: string;
|
|
790
|
+
average: PlayerStatsByQuarter;
|
|
791
|
+
cumulative: PlayerStatsByQuarter;
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
export type PlayerPPAChartItem = {
|
|
795
|
+
playNumber: number;
|
|
796
|
+
avgPPA: number;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
export type PlayerSearchResult = {
|
|
800
|
+
id: string;
|
|
801
|
+
team: string;
|
|
802
|
+
name: string;
|
|
803
|
+
firstName: (string) | null;
|
|
804
|
+
lastName: (string) | null;
|
|
805
|
+
weight: (number) | null;
|
|
806
|
+
height: (number) | null;
|
|
807
|
+
jersey: (number) | null;
|
|
808
|
+
position: string;
|
|
809
|
+
hometown: string;
|
|
810
|
+
teamColor: string;
|
|
811
|
+
teamColorSecondary: string;
|
|
812
|
+
};
|
|
813
|
+
|
|
772
814
|
export type PlayerSeasonPredictedPointsAdded = {
|
|
773
815
|
season: number;
|
|
774
816
|
id: string;
|
|
@@ -798,476 +840,375 @@ export type PlayerSeasonPredictedPointsAdded = {
|
|
|
798
840
|
};
|
|
799
841
|
};
|
|
800
842
|
|
|
801
|
-
export type
|
|
802
|
-
gameId: number;
|
|
803
|
-
playId: string;
|
|
804
|
-
playText: string;
|
|
805
|
-
homeId: number;
|
|
806
|
-
home: string;
|
|
807
|
-
awayId: number;
|
|
808
|
-
away: string;
|
|
809
|
-
spread: number;
|
|
810
|
-
homeBall: boolean;
|
|
811
|
-
homeScore: number;
|
|
812
|
-
awayScore: number;
|
|
813
|
-
yardLine: number;
|
|
814
|
-
down: number;
|
|
815
|
-
distance: number;
|
|
816
|
-
homeWinProbability: number;
|
|
817
|
-
playNumber: number;
|
|
818
|
-
};
|
|
819
|
-
|
|
820
|
-
export type PregameWinProbability = {
|
|
843
|
+
export type PlayerStat = {
|
|
821
844
|
season: number;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
845
|
+
playerId: string;
|
|
846
|
+
player: string;
|
|
847
|
+
position: string;
|
|
848
|
+
team: string;
|
|
849
|
+
conference: string;
|
|
850
|
+
category: string;
|
|
851
|
+
statType: string;
|
|
852
|
+
stat: string;
|
|
829
853
|
};
|
|
830
854
|
|
|
831
|
-
export type
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
855
|
+
export type PlayerStatsByQuarter = {
|
|
856
|
+
total: number;
|
|
857
|
+
quarter1: (number) | null;
|
|
858
|
+
quarter2: (number) | null;
|
|
859
|
+
quarter3: (number) | null;
|
|
860
|
+
quarter4: (number) | null;
|
|
861
|
+
rushing: number;
|
|
862
|
+
passing: number;
|
|
835
863
|
};
|
|
836
864
|
|
|
837
|
-
export type
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
lineYardsPerRush: number;
|
|
849
|
-
secondLevelYards: number;
|
|
850
|
-
secondLevelYardsPerRush: number;
|
|
851
|
-
openFieldYards: number;
|
|
852
|
-
openFieldYardsPerRush: number;
|
|
853
|
-
epaPerPlay: number;
|
|
854
|
-
totalEpa: number;
|
|
855
|
-
passingEpa: number;
|
|
856
|
-
epaPerPass: number;
|
|
857
|
-
rushingEpa: number;
|
|
858
|
-
epaPerRush: number;
|
|
859
|
-
successRate: number;
|
|
860
|
-
standardDownSuccessRate: number;
|
|
861
|
-
passingDownSuccessRate: number;
|
|
862
|
-
explosiveness: number;
|
|
865
|
+
export type PlayerTransfer = {
|
|
866
|
+
season: number;
|
|
867
|
+
firstName: string;
|
|
868
|
+
lastName: string;
|
|
869
|
+
position: string;
|
|
870
|
+
origin: string;
|
|
871
|
+
destination: (string) | null;
|
|
872
|
+
transferDate: (string) | null;
|
|
873
|
+
rating: (number) | null;
|
|
874
|
+
stars: (number) | null;
|
|
875
|
+
eligibility: ((TransferEligibility) | null);
|
|
863
876
|
};
|
|
864
877
|
|
|
865
|
-
export type
|
|
878
|
+
export type PlayerUsage = {
|
|
879
|
+
season: number;
|
|
866
880
|
id: string;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
period: number;
|
|
870
|
-
clock: string;
|
|
871
|
-
wallClock: string;
|
|
872
|
-
teamId: number;
|
|
881
|
+
name: string;
|
|
882
|
+
position: string;
|
|
873
883
|
team: string;
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
playText: string;
|
|
886
|
-
};
|
|
887
|
-
|
|
888
|
-
export type LiveGameDrive = {
|
|
889
|
-
id: string;
|
|
890
|
-
offenseId: number;
|
|
891
|
-
offense: string;
|
|
892
|
-
defenseId: number;
|
|
893
|
-
defense: string;
|
|
894
|
-
playCount: number;
|
|
895
|
-
yards: number;
|
|
896
|
-
startPeriod: number;
|
|
897
|
-
startClock: string | null;
|
|
898
|
-
startYardsToGoal: number;
|
|
899
|
-
endPeriod: number | null;
|
|
900
|
-
endClock: string | null;
|
|
901
|
-
endYardsToGoal: number | null;
|
|
902
|
-
duration: string | null;
|
|
903
|
-
scoringOpportunity: boolean;
|
|
904
|
-
result: string;
|
|
905
|
-
pointsGained: number;
|
|
906
|
-
plays: Array<LiveGamePlay>;
|
|
907
|
-
};
|
|
908
|
-
|
|
909
|
-
export type LiveGame = {
|
|
910
|
-
id: number;
|
|
911
|
-
status: string;
|
|
912
|
-
period: number | null;
|
|
913
|
-
clock: string;
|
|
914
|
-
possession: string;
|
|
915
|
-
down: number | null;
|
|
916
|
-
distance: number | null;
|
|
917
|
-
yardsToGoal: number | null;
|
|
918
|
-
teams: Array<LiveGameTeam>;
|
|
919
|
-
drives: Array<LiveGameDrive>;
|
|
920
|
-
};
|
|
921
|
-
|
|
922
|
-
export type GameLine = {
|
|
923
|
-
provider: string;
|
|
924
|
-
spread: number | null;
|
|
925
|
-
formattedSpread: string;
|
|
926
|
-
spreadOpen: number | null;
|
|
927
|
-
overUnder: number | null;
|
|
928
|
-
overUnderOpen: number | null;
|
|
929
|
-
homeMoneyline: number | null;
|
|
930
|
-
awayMoneyline: number | null;
|
|
884
|
+
conference: string;
|
|
885
|
+
usage: {
|
|
886
|
+
passingDowns: (number) | null;
|
|
887
|
+
standardDowns: (number) | null;
|
|
888
|
+
thirdDown: (number) | null;
|
|
889
|
+
secondDown: (number) | null;
|
|
890
|
+
firstDown: (number) | null;
|
|
891
|
+
rush: (number) | null;
|
|
892
|
+
pass: (number) | null;
|
|
893
|
+
overall: (number) | null;
|
|
894
|
+
};
|
|
931
895
|
};
|
|
932
896
|
|
|
933
|
-
export type
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
homeScore: number | null;
|
|
943
|
-
awayTeam: string;
|
|
944
|
-
awayConference: string | null;
|
|
945
|
-
awayClassification: DivisionClassification | null;
|
|
946
|
-
awayScore: number | null;
|
|
947
|
-
lines: Array<GameLine>;
|
|
897
|
+
export type PlayerWeightedEPA = {
|
|
898
|
+
year: number;
|
|
899
|
+
athleteId: string;
|
|
900
|
+
athleteName: string;
|
|
901
|
+
position: string;
|
|
902
|
+
team: string;
|
|
903
|
+
conference: string;
|
|
904
|
+
wepa: number;
|
|
905
|
+
plays: number;
|
|
948
906
|
};
|
|
949
907
|
|
|
950
|
-
export type
|
|
951
|
-
|
|
908
|
+
export type PlayStat = {
|
|
909
|
+
gameId: number;
|
|
952
910
|
season: number;
|
|
953
911
|
week: number;
|
|
954
|
-
seasonType: SeasonType;
|
|
955
|
-
startDate: string;
|
|
956
|
-
startTimeTBD: boolean;
|
|
957
|
-
completed: boolean;
|
|
958
|
-
neutralSite: boolean;
|
|
959
|
-
conferenceGame: boolean;
|
|
960
|
-
attendance: number | null;
|
|
961
|
-
venueId: number | null;
|
|
962
|
-
venue: string | null;
|
|
963
|
-
homeId: number;
|
|
964
|
-
homeTeam: string;
|
|
965
|
-
homeConference: string | null;
|
|
966
|
-
homeClassification: DivisionClassification | null;
|
|
967
|
-
homePoints: number | null;
|
|
968
|
-
homeLineScores: Array<number> | null;
|
|
969
|
-
homePostgameWinProbability: number | null;
|
|
970
|
-
homePregameElo: number | null;
|
|
971
|
-
homePostgameElo: number | null;
|
|
972
|
-
awayId: number;
|
|
973
|
-
awayTeam: string;
|
|
974
|
-
awayConference: string | null;
|
|
975
|
-
awayClassification: DivisionClassification | null;
|
|
976
|
-
awayPoints: number | null;
|
|
977
|
-
awayLineScores: Array<number> | null;
|
|
978
|
-
awayPostgameWinProbability: number | null;
|
|
979
|
-
awayPregameElo: number | null;
|
|
980
|
-
awayPostgameElo: number | null;
|
|
981
|
-
excitementIndex: number | null;
|
|
982
|
-
highlights: string | null;
|
|
983
|
-
notes: string | null;
|
|
984
|
-
};
|
|
985
|
-
|
|
986
|
-
export type GameTeamStatsTeamStat = {
|
|
987
|
-
category: string;
|
|
988
|
-
stat: string;
|
|
989
|
-
};
|
|
990
|
-
|
|
991
|
-
export type GameTeamStatsTeam = {
|
|
992
|
-
teamId: number;
|
|
993
912
|
team: string;
|
|
994
|
-
conference: string
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
913
|
+
conference: string;
|
|
914
|
+
opponent: string;
|
|
915
|
+
teamScore: number;
|
|
916
|
+
opponentScore: number;
|
|
917
|
+
driveId: string;
|
|
918
|
+
playId: string;
|
|
919
|
+
period: number;
|
|
920
|
+
clock: {
|
|
921
|
+
seconds: (number) | null;
|
|
922
|
+
minutes: (number) | null;
|
|
923
|
+
};
|
|
924
|
+
yardsToGoal: number;
|
|
925
|
+
down: number;
|
|
926
|
+
distance: number;
|
|
927
|
+
athleteId: string;
|
|
928
|
+
athleteName: string;
|
|
929
|
+
statType: string;
|
|
930
|
+
stat: number;
|
|
998
931
|
};
|
|
999
932
|
|
|
1000
|
-
export type
|
|
933
|
+
export type PlayStatType = {
|
|
1001
934
|
id: number;
|
|
1002
|
-
teams: Array<GameTeamStatsTeam>;
|
|
1003
|
-
};
|
|
1004
|
-
|
|
1005
|
-
export type GamePlayerStatPlayer = {
|
|
1006
|
-
id: string;
|
|
1007
|
-
name: string;
|
|
1008
|
-
stat: string;
|
|
1009
|
-
};
|
|
1010
|
-
|
|
1011
|
-
export type GamePlayerStatTypes = {
|
|
1012
935
|
name: string;
|
|
1013
|
-
athletes: Array<GamePlayerStatPlayer>;
|
|
1014
936
|
};
|
|
1015
937
|
|
|
1016
|
-
export type
|
|
1017
|
-
|
|
1018
|
-
|
|
938
|
+
export type PlayType = {
|
|
939
|
+
id: number;
|
|
940
|
+
text: string;
|
|
941
|
+
abbreviation: (string) | null;
|
|
1019
942
|
};
|
|
1020
943
|
|
|
1021
|
-
export type
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
944
|
+
export type PlayWinProbability = {
|
|
945
|
+
gameId: number;
|
|
946
|
+
playId: string;
|
|
947
|
+
playText: string;
|
|
948
|
+
homeId: number;
|
|
949
|
+
home: string;
|
|
950
|
+
awayId: number;
|
|
951
|
+
away: string;
|
|
952
|
+
spread: number;
|
|
953
|
+
homeBall: boolean;
|
|
954
|
+
homeScore: number;
|
|
955
|
+
awayScore: number;
|
|
956
|
+
yardLine: number;
|
|
957
|
+
down: number;
|
|
958
|
+
distance: number;
|
|
959
|
+
homeWinProbability: number;
|
|
960
|
+
playNumber: number;
|
|
1027
961
|
};
|
|
1028
962
|
|
|
1029
|
-
export type
|
|
1030
|
-
|
|
1031
|
-
|
|
963
|
+
export type Poll = {
|
|
964
|
+
poll: string;
|
|
965
|
+
ranks: Array<PollRank>;
|
|
1032
966
|
};
|
|
1033
967
|
|
|
1034
|
-
export type
|
|
968
|
+
export type PollRank = {
|
|
969
|
+
rank: (number) | null;
|
|
970
|
+
school: string;
|
|
971
|
+
conference: (string) | null;
|
|
972
|
+
firstPlaceVotes: (number) | null;
|
|
973
|
+
points: (number) | null;
|
|
974
|
+
};
|
|
1035
975
|
|
|
1036
|
-
export type
|
|
1037
|
-
id: number;
|
|
976
|
+
export type PollWeek = {
|
|
1038
977
|
season: number;
|
|
1039
|
-
week: number;
|
|
1040
978
|
seasonType: SeasonType;
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
homeTeam: string;
|
|
1044
|
-
homeConference: string | null;
|
|
1045
|
-
awayTeam: string;
|
|
1046
|
-
awayConference: string | null;
|
|
1047
|
-
mediaType: MediaType;
|
|
1048
|
-
outlet: string;
|
|
979
|
+
week: number;
|
|
980
|
+
polls: Array<Poll>;
|
|
1049
981
|
};
|
|
1050
982
|
|
|
1051
|
-
export type
|
|
1052
|
-
|
|
983
|
+
export type PredictedPointsValue = {
|
|
984
|
+
yardLine: number;
|
|
985
|
+
predictedPoints: number;
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
export type PregameWinProbability = {
|
|
1053
989
|
season: number;
|
|
1054
|
-
week: number;
|
|
1055
990
|
seasonType: SeasonType;
|
|
1056
|
-
|
|
1057
|
-
|
|
991
|
+
week: number;
|
|
992
|
+
gameId: number;
|
|
1058
993
|
homeTeam: string;
|
|
1059
|
-
homeConference: string | null;
|
|
1060
994
|
awayTeam: string;
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
venue: string;
|
|
1064
|
-
temperature: number | null;
|
|
1065
|
-
dewPoint: number | null;
|
|
1066
|
-
humidity: number | null;
|
|
1067
|
-
precipitation: number | null;
|
|
1068
|
-
snowfall: number | null;
|
|
1069
|
-
windDirection: number | null;
|
|
1070
|
-
windSpeed: number | null;
|
|
1071
|
-
pressure: number | null;
|
|
1072
|
-
weatherConditionCode: number | null;
|
|
1073
|
-
weatherCondition: string | null;
|
|
995
|
+
spread: number;
|
|
996
|
+
homeWinProbability: number;
|
|
1074
997
|
};
|
|
1075
998
|
|
|
1076
|
-
export type
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
999
|
+
export type Recruit = {
|
|
1000
|
+
id: string;
|
|
1001
|
+
athleteId: (string) | null;
|
|
1002
|
+
recruitType: RecruitClassification;
|
|
1003
|
+
year: number;
|
|
1004
|
+
ranking: (number) | null;
|
|
1005
|
+
name: string;
|
|
1006
|
+
school: (string) | null;
|
|
1007
|
+
committedTo: (string) | null;
|
|
1008
|
+
position: (string) | null;
|
|
1009
|
+
height: (number) | null;
|
|
1010
|
+
weight: (number) | null;
|
|
1011
|
+
stars: number;
|
|
1012
|
+
rating: number;
|
|
1013
|
+
city: (string) | null;
|
|
1014
|
+
stateProvince: (string) | null;
|
|
1015
|
+
country: (string) | null;
|
|
1016
|
+
hometownInfo: {
|
|
1017
|
+
fipsCode: (string) | null;
|
|
1018
|
+
longitude: (number) | null;
|
|
1019
|
+
latitude: (number) | null;
|
|
1020
|
+
};
|
|
1081
1021
|
};
|
|
1082
1022
|
|
|
1083
|
-
export type
|
|
1084
|
-
|
|
1085
|
-
|
|
1023
|
+
export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
|
|
1024
|
+
|
|
1025
|
+
export type ReturningProduction = {
|
|
1026
|
+
season: number;
|
|
1086
1027
|
team: string;
|
|
1087
|
-
classification: DivisionClassification | null;
|
|
1088
1028
|
conference: string;
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1029
|
+
totalPPA: number;
|
|
1030
|
+
totalPassingPPA: number;
|
|
1031
|
+
totalReceivingPPA: number;
|
|
1032
|
+
totalRushingPPA: number;
|
|
1033
|
+
percentPPA: number;
|
|
1034
|
+
percentPassingPPA: number;
|
|
1035
|
+
percentReceivingPPA: number;
|
|
1036
|
+
percentRushingPPA: number;
|
|
1037
|
+
usage: number;
|
|
1038
|
+
passingUsage: number;
|
|
1039
|
+
receivingUsage: number;
|
|
1040
|
+
rushingUsage: number;
|
|
1098
1041
|
};
|
|
1099
1042
|
|
|
1100
|
-
export type
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
*/
|
|
1109
|
-
firstGameStart: string;
|
|
1043
|
+
export type RosterPlayer = {
|
|
1044
|
+
id: string;
|
|
1045
|
+
firstName: string;
|
|
1046
|
+
lastName: string;
|
|
1047
|
+
team: string;
|
|
1048
|
+
height: (number) | null;
|
|
1049
|
+
weight: (number) | null;
|
|
1050
|
+
jersey: (number) | null;
|
|
1110
1051
|
/**
|
|
1111
1052
|
* @deprecated
|
|
1112
1053
|
*/
|
|
1113
|
-
|
|
1054
|
+
year: number;
|
|
1055
|
+
position: (string) | null;
|
|
1056
|
+
homeCity: (string) | null;
|
|
1057
|
+
homeState: (string) | null;
|
|
1058
|
+
homeCountry: (string) | null;
|
|
1059
|
+
homeLatitude: (number) | null;
|
|
1060
|
+
homeLongitude: (number) | null;
|
|
1061
|
+
homeCountyFIPS: (string) | null;
|
|
1062
|
+
recruitIds: Array<(string)> | null;
|
|
1114
1063
|
};
|
|
1115
1064
|
|
|
1116
|
-
export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
|
|
1117
|
-
|
|
1118
1065
|
export type ScoreboardGame = {
|
|
1119
1066
|
id: number;
|
|
1120
1067
|
startDate: string;
|
|
1121
1068
|
startTimeTBD: boolean;
|
|
1122
|
-
tv: string | null;
|
|
1069
|
+
tv: (string) | null;
|
|
1123
1070
|
neutralSite: boolean;
|
|
1124
1071
|
conferenceGame: boolean;
|
|
1125
1072
|
status: GameStatus;
|
|
1126
|
-
period: number | null;
|
|
1127
|
-
clock: string | null;
|
|
1128
|
-
situation: string | null;
|
|
1129
|
-
possession: string | null;
|
|
1130
|
-
lastPlay: string | null;
|
|
1073
|
+
period: (number) | null;
|
|
1074
|
+
clock: (string) | null;
|
|
1075
|
+
situation: (string) | null;
|
|
1076
|
+
possession: (string) | null;
|
|
1077
|
+
lastPlay: (string) | null;
|
|
1131
1078
|
venue: {
|
|
1132
|
-
state: string | null;
|
|
1133
|
-
city: string | null;
|
|
1134
|
-
name: string | null;
|
|
1079
|
+
state: (string) | null;
|
|
1080
|
+
city: (string) | null;
|
|
1081
|
+
name: (string) | null;
|
|
1135
1082
|
};
|
|
1136
1083
|
homeTeam: {
|
|
1137
|
-
lineScores: Array<number> | null;
|
|
1138
|
-
points: number | null;
|
|
1139
|
-
classification: DivisionClassification | null;
|
|
1140
|
-
conference: string | null;
|
|
1084
|
+
lineScores: Array<(number)> | null;
|
|
1085
|
+
points: (number) | null;
|
|
1086
|
+
classification: ((DivisionClassification) | null);
|
|
1087
|
+
conference: (string) | null;
|
|
1141
1088
|
name: string;
|
|
1142
1089
|
id: number;
|
|
1143
1090
|
};
|
|
1144
1091
|
awayTeam: {
|
|
1145
|
-
lineScores: Array<number> | null;
|
|
1146
|
-
points: number | null;
|
|
1147
|
-
classification: DivisionClassification | null;
|
|
1148
|
-
conference: string | null;
|
|
1092
|
+
lineScores: Array<(number)> | null;
|
|
1093
|
+
points: (number) | null;
|
|
1094
|
+
classification: ((DivisionClassification) | null);
|
|
1095
|
+
conference: (string) | null;
|
|
1149
1096
|
name: string;
|
|
1150
1097
|
id: number;
|
|
1151
1098
|
};
|
|
1152
1099
|
weather: {
|
|
1153
|
-
windDirection: number | null;
|
|
1154
|
-
windSpeed: number | null;
|
|
1155
|
-
description: string | null;
|
|
1156
|
-
temperature: number | null;
|
|
1100
|
+
windDirection: (number) | null;
|
|
1101
|
+
windSpeed: (number) | null;
|
|
1102
|
+
description: (string) | null;
|
|
1103
|
+
temperature: (number) | null;
|
|
1157
1104
|
};
|
|
1158
1105
|
betting: {
|
|
1159
|
-
awayMoneyline: number | null;
|
|
1160
|
-
homeMoneyline: number | null;
|
|
1161
|
-
overUnder: number | null;
|
|
1162
|
-
spread: number | null;
|
|
1106
|
+
awayMoneyline: (number) | null;
|
|
1107
|
+
homeMoneyline: (number) | null;
|
|
1108
|
+
overUnder: (number) | null;
|
|
1109
|
+
spread: (number) | null;
|
|
1163
1110
|
};
|
|
1164
1111
|
};
|
|
1165
1112
|
|
|
1166
|
-
export type
|
|
1167
|
-
offense: string;
|
|
1168
|
-
offenseConference: string | null;
|
|
1169
|
-
defense: string;
|
|
1170
|
-
defenseConference: string | null;
|
|
1171
|
-
gameId: number;
|
|
1172
|
-
id: string;
|
|
1173
|
-
driveNumber: number | null;
|
|
1174
|
-
scoring: boolean;
|
|
1175
|
-
startPeriod: number;
|
|
1176
|
-
startYardline: number;
|
|
1177
|
-
startYardsToGoal: number;
|
|
1178
|
-
startTime: {
|
|
1179
|
-
seconds: number | null;
|
|
1180
|
-
minutes: number | null;
|
|
1181
|
-
};
|
|
1182
|
-
endPeriod: number;
|
|
1183
|
-
endYardline: number;
|
|
1184
|
-
endYardsToGoal: number;
|
|
1185
|
-
endTime: {
|
|
1186
|
-
seconds: number | null;
|
|
1187
|
-
minutes: number | null;
|
|
1188
|
-
};
|
|
1189
|
-
plays: number;
|
|
1190
|
-
yards: number;
|
|
1191
|
-
driveResult: string;
|
|
1192
|
-
isHomeOffense: boolean;
|
|
1193
|
-
startOffenseScore: number;
|
|
1194
|
-
startDefenseScore: number;
|
|
1195
|
-
endOffenseScore: number;
|
|
1196
|
-
endDefenseScore: number;
|
|
1197
|
-
};
|
|
1113
|
+
export type SeasonType = 'regular' | 'postseason' | 'both' | 'allstar' | 'spring_regular' | 'spring_postseason';
|
|
1198
1114
|
|
|
1199
|
-
export type
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1115
|
+
export type StatsByQuarter = {
|
|
1116
|
+
total: number;
|
|
1117
|
+
quarter1: (number) | null;
|
|
1118
|
+
quarter2: (number) | null;
|
|
1119
|
+
quarter3: (number) | null;
|
|
1120
|
+
quarter4: (number) | null;
|
|
1204
1121
|
};
|
|
1205
1122
|
|
|
1206
|
-
export type
|
|
1207
|
-
|
|
1208
|
-
|
|
1123
|
+
export type Team = {
|
|
1124
|
+
id: number;
|
|
1125
|
+
school: string;
|
|
1126
|
+
mascot: (string) | null;
|
|
1127
|
+
abbreviation: (string) | null;
|
|
1128
|
+
alternateNames: Array<(string)> | null;
|
|
1129
|
+
conference: (string) | null;
|
|
1130
|
+
division: (string) | null;
|
|
1131
|
+
classification: (string) | null;
|
|
1132
|
+
color: (string) | null;
|
|
1133
|
+
alternateColor: (string) | null;
|
|
1134
|
+
logos: Array<(string)> | null;
|
|
1135
|
+
twitter: (string) | null;
|
|
1136
|
+
location: ((Venue) | null);
|
|
1209
1137
|
};
|
|
1210
1138
|
|
|
1211
|
-
export type
|
|
1212
|
-
collegeAthleteId: number | null;
|
|
1213
|
-
nflAthleteId: number;
|
|
1214
|
-
collegeId: number;
|
|
1215
|
-
collegeTeam: string;
|
|
1216
|
-
collegeConference: string | null;
|
|
1217
|
-
nflTeamId: number;
|
|
1218
|
-
nflTeam: string;
|
|
1139
|
+
export type TeamElo = {
|
|
1219
1140
|
year: number;
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
name: string;
|
|
1224
|
-
position: string;
|
|
1225
|
-
height: number | null;
|
|
1226
|
-
weight: number | null;
|
|
1227
|
-
preDraftRanking: number | null;
|
|
1228
|
-
preDraftPositionRanking: number | null;
|
|
1229
|
-
preDraftGrade: number | null;
|
|
1230
|
-
hometownInfo: {
|
|
1231
|
-
countyFips: string | null;
|
|
1232
|
-
longitude: string | null;
|
|
1233
|
-
latitude: string | null;
|
|
1234
|
-
country: string | null;
|
|
1235
|
-
state: string | null;
|
|
1236
|
-
city: string | null;
|
|
1237
|
-
};
|
|
1141
|
+
team: string;
|
|
1142
|
+
conference: string;
|
|
1143
|
+
elo: (number) | null;
|
|
1238
1144
|
};
|
|
1239
1145
|
|
|
1240
|
-
export type
|
|
1241
|
-
|
|
1146
|
+
export type TeamExplosiveness = {
|
|
1147
|
+
team: string;
|
|
1148
|
+
overall: StatsByQuarter;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
export type TeamFieldPosition = {
|
|
1152
|
+
team: string;
|
|
1153
|
+
averageStart: number;
|
|
1154
|
+
averageStartingPredictedPoints: number;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
export type TeamFPI = {
|
|
1242
1158
|
year: number;
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1159
|
+
team: string;
|
|
1160
|
+
conference: (string) | null;
|
|
1161
|
+
fpi: (number) | null;
|
|
1162
|
+
resumeRanks: {
|
|
1163
|
+
gameControl: (number) | null;
|
|
1164
|
+
remainingStrengthOfSchedule: (number) | null;
|
|
1165
|
+
strengthOfSchedule: (number) | null;
|
|
1166
|
+
averageWinProbability: (number) | null;
|
|
1167
|
+
fpi: (number) | null;
|
|
1168
|
+
strengthOfRecord: (number) | null;
|
|
1169
|
+
};
|
|
1170
|
+
efficiencies: {
|
|
1171
|
+
specialTeams: (number) | null;
|
|
1172
|
+
defense: (number) | null;
|
|
1173
|
+
offense: (number) | null;
|
|
1174
|
+
overall: (number) | null;
|
|
1175
|
+
};
|
|
1253
1176
|
};
|
|
1254
1177
|
|
|
1255
|
-
export type
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1178
|
+
export type TeamGamePredictedPointsAdded = {
|
|
1179
|
+
gameId: number;
|
|
1180
|
+
season: number;
|
|
1181
|
+
week: number;
|
|
1182
|
+
seasonType: SeasonType;
|
|
1183
|
+
team: string;
|
|
1184
|
+
conference: string;
|
|
1185
|
+
opponent: string;
|
|
1186
|
+
offense: {
|
|
1187
|
+
thirdDown: number;
|
|
1188
|
+
secondDown: number;
|
|
1189
|
+
firstDown: number;
|
|
1190
|
+
rushing: number;
|
|
1191
|
+
passing: number;
|
|
1192
|
+
overall: number;
|
|
1193
|
+
};
|
|
1194
|
+
defense: {
|
|
1195
|
+
thirdDown: number;
|
|
1196
|
+
secondDown: number;
|
|
1197
|
+
firstDown: number;
|
|
1198
|
+
rushing: number;
|
|
1199
|
+
passing: number;
|
|
1200
|
+
overall: number;
|
|
1201
|
+
};
|
|
1260
1202
|
};
|
|
1261
1203
|
|
|
1262
|
-
export type
|
|
1204
|
+
export type TeamHavoc = {
|
|
1205
|
+
team: string;
|
|
1263
1206
|
total: number;
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
quarter3: number;
|
|
1267
|
-
quarter4: number;
|
|
1207
|
+
frontSeven: number;
|
|
1208
|
+
db: number;
|
|
1268
1209
|
};
|
|
1269
1210
|
|
|
1270
|
-
export type
|
|
1211
|
+
export type TeamPPA = {
|
|
1271
1212
|
team: string;
|
|
1272
1213
|
plays: number;
|
|
1273
1214
|
overall: StatsByQuarter;
|
|
@@ -1275,16 +1216,35 @@ export type TeamPpa = {
|
|
|
1275
1216
|
rushing: StatsByQuarter;
|
|
1276
1217
|
};
|
|
1277
1218
|
|
|
1278
|
-
export type
|
|
1219
|
+
export type TeamRecord = {
|
|
1220
|
+
games: number;
|
|
1221
|
+
wins: number;
|
|
1222
|
+
losses: number;
|
|
1223
|
+
ties: number;
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
export type TeamRecords = {
|
|
1227
|
+
year: number;
|
|
1228
|
+
teamId: number;
|
|
1279
1229
|
team: string;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1230
|
+
classification: ((DivisionClassification) | null);
|
|
1231
|
+
conference: string;
|
|
1232
|
+
division: string;
|
|
1233
|
+
expectedWins: (number) | null;
|
|
1234
|
+
total: TeamRecord;
|
|
1235
|
+
conferenceGames: TeamRecord;
|
|
1236
|
+
homeGames: TeamRecord;
|
|
1237
|
+
awayGames: TeamRecord;
|
|
1238
|
+
neutralSiteGames: TeamRecord;
|
|
1239
|
+
regularSeason: TeamRecord;
|
|
1240
|
+
postseason: TeamRecord;
|
|
1283
1241
|
};
|
|
1284
1242
|
|
|
1285
|
-
export type
|
|
1243
|
+
export type TeamRecruitingRanking = {
|
|
1244
|
+
year: number;
|
|
1245
|
+
rank: number;
|
|
1286
1246
|
team: string;
|
|
1287
|
-
|
|
1247
|
+
points: number;
|
|
1288
1248
|
};
|
|
1289
1249
|
|
|
1290
1250
|
export type TeamRushingStats = {
|
|
@@ -1299,13 +1259,6 @@ export type TeamRushingStats = {
|
|
|
1299
1259
|
openFieldYardsAverage: number;
|
|
1300
1260
|
};
|
|
1301
1261
|
|
|
1302
|
-
export type TeamHavoc = {
|
|
1303
|
-
team: string;
|
|
1304
|
-
total: number;
|
|
1305
|
-
frontSeven: number;
|
|
1306
|
-
db: number;
|
|
1307
|
-
};
|
|
1308
|
-
|
|
1309
1262
|
export type TeamScoringOpportunities = {
|
|
1310
1263
|
team: string;
|
|
1311
1264
|
opportunities: number;
|
|
@@ -1313,111 +1266,155 @@ export type TeamScoringOpportunities = {
|
|
|
1313
1266
|
pointsPerOpportunity: number;
|
|
1314
1267
|
};
|
|
1315
1268
|
|
|
1316
|
-
export type
|
|
1269
|
+
export type TeamSeasonPredictedPointsAdded = {
|
|
1270
|
+
season: number;
|
|
1271
|
+
conference: string;
|
|
1317
1272
|
team: string;
|
|
1318
|
-
|
|
1319
|
-
|
|
1273
|
+
offense: {
|
|
1274
|
+
cumulative: {
|
|
1275
|
+
rushing: number;
|
|
1276
|
+
passing: number;
|
|
1277
|
+
total: number;
|
|
1278
|
+
};
|
|
1279
|
+
thirdDown: number;
|
|
1280
|
+
secondDown: number;
|
|
1281
|
+
firstDown: number;
|
|
1282
|
+
rushing: number;
|
|
1283
|
+
passing: number;
|
|
1284
|
+
overall: number;
|
|
1285
|
+
};
|
|
1286
|
+
defense: {
|
|
1287
|
+
cumulative: {
|
|
1288
|
+
rushing: number;
|
|
1289
|
+
passing: number;
|
|
1290
|
+
total: number;
|
|
1291
|
+
};
|
|
1292
|
+
thirdDown: number;
|
|
1293
|
+
secondDown: number;
|
|
1294
|
+
firstDown: number;
|
|
1295
|
+
rushing: number;
|
|
1296
|
+
passing: number;
|
|
1297
|
+
overall: number;
|
|
1298
|
+
};
|
|
1320
1299
|
};
|
|
1321
1300
|
|
|
1322
|
-
export type
|
|
1323
|
-
|
|
1324
|
-
quarter1: number;
|
|
1325
|
-
quarter2: number;
|
|
1326
|
-
quarter3: number;
|
|
1327
|
-
quarter4: number;
|
|
1328
|
-
rushing: number;
|
|
1329
|
-
passing: number;
|
|
1330
|
-
player: string;
|
|
1301
|
+
export type TeamSP = {
|
|
1302
|
+
year: number;
|
|
1331
1303
|
team: string;
|
|
1332
|
-
|
|
1304
|
+
conference: (string) | null;
|
|
1305
|
+
rating: number;
|
|
1306
|
+
ranking: (number) | null;
|
|
1307
|
+
secondOrderWins: (number) | null;
|
|
1308
|
+
sos: (number) | null;
|
|
1309
|
+
offense: {
|
|
1310
|
+
pace: (number) | null;
|
|
1311
|
+
runRate: (number) | null;
|
|
1312
|
+
passingDowns: (number) | null;
|
|
1313
|
+
standardDowns: (number) | null;
|
|
1314
|
+
passing: (number) | null;
|
|
1315
|
+
rushing: (number) | null;
|
|
1316
|
+
explosiveness: (number) | null;
|
|
1317
|
+
success: (number) | null;
|
|
1318
|
+
rating: number;
|
|
1319
|
+
ranking: (number) | null;
|
|
1320
|
+
};
|
|
1321
|
+
defense: {
|
|
1322
|
+
havoc: {
|
|
1323
|
+
db: (number) | null;
|
|
1324
|
+
frontSeven: (number) | null;
|
|
1325
|
+
total: (number) | null;
|
|
1326
|
+
};
|
|
1327
|
+
passingDowns: (number) | null;
|
|
1328
|
+
standardDowns: (number) | null;
|
|
1329
|
+
passing: (number) | null;
|
|
1330
|
+
rushing: (number) | null;
|
|
1331
|
+
explosiveness: (number) | null;
|
|
1332
|
+
success: (number) | null;
|
|
1333
|
+
rating: number;
|
|
1334
|
+
ranking: (number) | null;
|
|
1335
|
+
};
|
|
1336
|
+
specialTeams: {
|
|
1337
|
+
rating: (number) | null;
|
|
1338
|
+
};
|
|
1333
1339
|
};
|
|
1334
1340
|
|
|
1335
|
-
export type
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
passing: number;
|
|
1341
|
+
export type TeamSRS = {
|
|
1342
|
+
year: number;
|
|
1343
|
+
team: string;
|
|
1344
|
+
conference: (string) | null;
|
|
1345
|
+
division: (string) | null;
|
|
1346
|
+
rating: number;
|
|
1347
|
+
ranking: (number) | null;
|
|
1343
1348
|
};
|
|
1344
1349
|
|
|
1345
|
-
export type
|
|
1346
|
-
|
|
1350
|
+
export type TeamStat = {
|
|
1351
|
+
season: number;
|
|
1347
1352
|
team: string;
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1353
|
+
conference: string;
|
|
1354
|
+
statName: string;
|
|
1355
|
+
statValue: (string | number);
|
|
1351
1356
|
};
|
|
1352
1357
|
|
|
1353
|
-
export type
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1358
|
+
export type TeamSuccessRates = {
|
|
1359
|
+
team: string;
|
|
1360
|
+
overall: StatsByQuarter;
|
|
1361
|
+
standardDowns: StatsByQuarter;
|
|
1362
|
+
passingDowns: StatsByQuarter;
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
export type TeamTalent = {
|
|
1366
|
+
year: number;
|
|
1367
|
+
team: string;
|
|
1368
|
+
talent: number;
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
export type TransferEligibility = 'Withdrawn' | 'TBD' | 'PendingAppeal' | 'SittingOne' | 'Immediate';
|
|
1372
|
+
|
|
1373
|
+
export type UserInfo = {
|
|
1374
|
+
patronLevel: number;
|
|
1375
|
+
remainingCalls: number;
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
export type Venue = {
|
|
1379
|
+
id: (number) | null;
|
|
1380
|
+
name: (string) | null;
|
|
1381
|
+
city: (string) | null;
|
|
1382
|
+
state: (string) | null;
|
|
1383
|
+
zip: (string) | null;
|
|
1384
|
+
countryCode: (string) | null;
|
|
1385
|
+
timezone: (string) | null;
|
|
1386
|
+
latitude: (number) | null;
|
|
1387
|
+
longitude: (number) | null;
|
|
1388
|
+
elevation: (string) | null;
|
|
1389
|
+
capacity: (number) | null;
|
|
1390
|
+
constructionYear: (number) | null;
|
|
1391
|
+
grass?: (boolean) | null;
|
|
1392
|
+
dome?: (boolean) | null;
|
|
1378
1393
|
};
|
|
1379
1394
|
|
|
1380
1395
|
export type GetAdjustedTeamSeasonStatsData = {
|
|
1381
|
-
body?: never;
|
|
1382
|
-
path?: never;
|
|
1383
1396
|
query?: {
|
|
1384
1397
|
/**
|
|
1385
|
-
* Optional
|
|
1398
|
+
* Optional conference filter
|
|
1386
1399
|
*/
|
|
1387
|
-
|
|
1400
|
+
conference?: string;
|
|
1388
1401
|
/**
|
|
1389
1402
|
* Optional team filter
|
|
1390
1403
|
*/
|
|
1391
1404
|
team?: string;
|
|
1392
1405
|
/**
|
|
1393
|
-
* Optional
|
|
1406
|
+
* Optional year filter
|
|
1394
1407
|
*/
|
|
1395
|
-
|
|
1408
|
+
year?: number;
|
|
1396
1409
|
};
|
|
1397
|
-
url: '/wepa/team/season';
|
|
1398
1410
|
};
|
|
1399
1411
|
|
|
1400
|
-
export type
|
|
1401
|
-
/**
|
|
1402
|
-
* Ok
|
|
1403
|
-
*/
|
|
1404
|
-
200: Array<AdjustedTeamMetrics>;
|
|
1405
|
-
};
|
|
1412
|
+
export type GetAdjustedTeamSeasonStatsResponse = (Array<AdjustedTeamMetrics>);
|
|
1406
1413
|
|
|
1407
|
-
export type
|
|
1414
|
+
export type GetAdjustedTeamSeasonStatsError = unknown;
|
|
1408
1415
|
|
|
1409
1416
|
export type GetAdjustedPlayerPassingStatsData = {
|
|
1410
|
-
body?: never;
|
|
1411
|
-
path?: never;
|
|
1412
1417
|
query?: {
|
|
1413
|
-
/**
|
|
1414
|
-
* Optional year filter
|
|
1415
|
-
*/
|
|
1416
|
-
year?: number;
|
|
1417
|
-
/**
|
|
1418
|
-
* Optional team filter
|
|
1419
|
-
*/
|
|
1420
|
-
team?: string;
|
|
1421
1418
|
/**
|
|
1422
1419
|
* Optional conference abbreviation filter
|
|
1423
1420
|
*/
|
|
@@ -1426,31 +1423,23 @@ export type GetAdjustedPlayerPassingStatsData = {
|
|
|
1426
1423
|
* Optional position abbreviation filter
|
|
1427
1424
|
*/
|
|
1428
1425
|
position?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Optional team filter
|
|
1428
|
+
*/
|
|
1429
|
+
team?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* Optional year filter
|
|
1432
|
+
*/
|
|
1433
|
+
year?: number;
|
|
1429
1434
|
};
|
|
1430
|
-
url: '/wepa/players/passing';
|
|
1431
1435
|
};
|
|
1432
1436
|
|
|
1433
|
-
export type
|
|
1434
|
-
/**
|
|
1435
|
-
* Ok
|
|
1436
|
-
*/
|
|
1437
|
-
200: Array<PlayerWeightedEpa>;
|
|
1438
|
-
};
|
|
1437
|
+
export type GetAdjustedPlayerPassingStatsResponse = (Array<PlayerWeightedEPA>);
|
|
1439
1438
|
|
|
1440
|
-
export type
|
|
1439
|
+
export type GetAdjustedPlayerPassingStatsError = unknown;
|
|
1441
1440
|
|
|
1442
1441
|
export type GetAdjustedPlayerRushingStatsData = {
|
|
1443
|
-
body?: never;
|
|
1444
|
-
path?: never;
|
|
1445
1442
|
query?: {
|
|
1446
|
-
/**
|
|
1447
|
-
* Optional year filter
|
|
1448
|
-
*/
|
|
1449
|
-
year?: number;
|
|
1450
|
-
/**
|
|
1451
|
-
* Optional team filter
|
|
1452
|
-
*/
|
|
1453
|
-
team?: string;
|
|
1454
1443
|
/**
|
|
1455
1444
|
* Optional conference abbreviation filter
|
|
1456
1445
|
*/
|
|
@@ -1459,51 +1448,43 @@ export type GetAdjustedPlayerRushingStatsData = {
|
|
|
1459
1448
|
* Optional position abbreviation filter
|
|
1460
1449
|
*/
|
|
1461
1450
|
position?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Optional team filter
|
|
1453
|
+
*/
|
|
1454
|
+
team?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* Optional year filter
|
|
1457
|
+
*/
|
|
1458
|
+
year?: number;
|
|
1462
1459
|
};
|
|
1463
|
-
url: '/wepa/players/rushing';
|
|
1464
1460
|
};
|
|
1465
1461
|
|
|
1466
|
-
export type
|
|
1467
|
-
/**
|
|
1468
|
-
* Ok
|
|
1469
|
-
*/
|
|
1470
|
-
200: Array<PlayerWeightedEpa>;
|
|
1471
|
-
};
|
|
1462
|
+
export type GetAdjustedPlayerRushingStatsResponse = (Array<PlayerWeightedEPA>);
|
|
1472
1463
|
|
|
1473
|
-
export type
|
|
1464
|
+
export type GetAdjustedPlayerRushingStatsError = unknown;
|
|
1474
1465
|
|
|
1475
1466
|
export type GetKickerPaarData = {
|
|
1476
|
-
body?: never;
|
|
1477
|
-
path?: never;
|
|
1478
1467
|
query?: {
|
|
1479
1468
|
/**
|
|
1480
|
-
* Optional
|
|
1469
|
+
* Optional conference abbreviation filter
|
|
1481
1470
|
*/
|
|
1482
|
-
|
|
1471
|
+
conference?: string;
|
|
1483
1472
|
/**
|
|
1484
1473
|
* Optional team filter
|
|
1485
1474
|
*/
|
|
1486
1475
|
team?: string;
|
|
1487
1476
|
/**
|
|
1488
|
-
* Optional
|
|
1477
|
+
* Optional year filter
|
|
1489
1478
|
*/
|
|
1490
|
-
|
|
1479
|
+
year?: number;
|
|
1491
1480
|
};
|
|
1492
|
-
url: '/wepa/players/kicking';
|
|
1493
1481
|
};
|
|
1494
1482
|
|
|
1495
|
-
export type
|
|
1496
|
-
/**
|
|
1497
|
-
* Ok
|
|
1498
|
-
*/
|
|
1499
|
-
200: Array<KickerPaar>;
|
|
1500
|
-
};
|
|
1483
|
+
export type GetKickerPaarResponse = (Array<KickerPAAR>);
|
|
1501
1484
|
|
|
1502
|
-
export type
|
|
1485
|
+
export type GetKickerPaarError = unknown;
|
|
1503
1486
|
|
|
1504
1487
|
export type GetTeamsData = {
|
|
1505
|
-
body?: never;
|
|
1506
|
-
path?: never;
|
|
1507
1488
|
query?: {
|
|
1508
1489
|
/**
|
|
1509
1490
|
* Optional conference abbreviation filter
|
|
@@ -1514,75 +1495,51 @@ export type GetTeamsData = {
|
|
|
1514
1495
|
*/
|
|
1515
1496
|
year?: number;
|
|
1516
1497
|
};
|
|
1517
|
-
url: '/teams';
|
|
1518
1498
|
};
|
|
1519
1499
|
|
|
1520
|
-
export type
|
|
1521
|
-
/**
|
|
1522
|
-
* Ok
|
|
1523
|
-
*/
|
|
1524
|
-
200: Array<Team>;
|
|
1525
|
-
};
|
|
1500
|
+
export type GetTeamsResponse = (Array<Team>);
|
|
1526
1501
|
|
|
1527
|
-
export type
|
|
1502
|
+
export type GetTeamsError = unknown;
|
|
1528
1503
|
|
|
1529
1504
|
export type GetFbsTeamsData = {
|
|
1530
|
-
body?: never;
|
|
1531
|
-
path?: never;
|
|
1532
1505
|
query?: {
|
|
1533
1506
|
/**
|
|
1534
1507
|
* Year or season
|
|
1535
1508
|
*/
|
|
1536
1509
|
year?: number;
|
|
1537
1510
|
};
|
|
1538
|
-
url: '/teams/fbs';
|
|
1539
1511
|
};
|
|
1540
1512
|
|
|
1541
|
-
export type
|
|
1542
|
-
/**
|
|
1543
|
-
* Ok
|
|
1544
|
-
*/
|
|
1545
|
-
200: Array<Team>;
|
|
1546
|
-
};
|
|
1513
|
+
export type GetFbsTeamsResponse = (Array<Team>);
|
|
1547
1514
|
|
|
1548
|
-
export type
|
|
1515
|
+
export type GetFbsTeamsError = unknown;
|
|
1549
1516
|
|
|
1550
1517
|
export type GetMatchupData = {
|
|
1551
|
-
body?: never;
|
|
1552
|
-
path?: never;
|
|
1553
1518
|
query: {
|
|
1554
1519
|
/**
|
|
1555
|
-
*
|
|
1556
|
-
*/
|
|
1557
|
-
team1: string;
|
|
1558
|
-
/**
|
|
1559
|
-
* Second team to compare
|
|
1520
|
+
* Optional ending year
|
|
1560
1521
|
*/
|
|
1561
|
-
|
|
1522
|
+
maxYear?: number;
|
|
1562
1523
|
/**
|
|
1563
1524
|
* Optional starting year
|
|
1564
1525
|
*/
|
|
1565
1526
|
minYear?: number;
|
|
1566
1527
|
/**
|
|
1567
|
-
*
|
|
1528
|
+
* First team to compare
|
|
1568
1529
|
*/
|
|
1569
|
-
|
|
1530
|
+
team1: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* Second team to compare
|
|
1533
|
+
*/
|
|
1534
|
+
team2: string;
|
|
1570
1535
|
};
|
|
1571
|
-
url: '/teams/matchup';
|
|
1572
1536
|
};
|
|
1573
1537
|
|
|
1574
|
-
export type
|
|
1575
|
-
/**
|
|
1576
|
-
* Ok
|
|
1577
|
-
*/
|
|
1578
|
-
200: Matchup;
|
|
1579
|
-
};
|
|
1538
|
+
export type GetMatchupResponse = (Matchup);
|
|
1580
1539
|
|
|
1581
|
-
export type
|
|
1540
|
+
export type GetMatchupError = unknown;
|
|
1582
1541
|
|
|
1583
1542
|
export type GetRosterData = {
|
|
1584
|
-
body?: never;
|
|
1585
|
-
path?: never;
|
|
1586
1543
|
query?: {
|
|
1587
1544
|
/**
|
|
1588
1545
|
* Optional team filter
|
|
@@ -1593,91 +1550,43 @@ export type GetRosterData = {
|
|
|
1593
1550
|
*/
|
|
1594
1551
|
year?: number;
|
|
1595
1552
|
};
|
|
1596
|
-
url: '/roster';
|
|
1597
|
-
};
|
|
1598
|
-
|
|
1599
|
-
export type GetRosterResponses = {
|
|
1600
|
-
/**
|
|
1601
|
-
* Ok
|
|
1602
|
-
*/
|
|
1603
|
-
200: Array<RosterPlayer>;
|
|
1604
1553
|
};
|
|
1605
1554
|
|
|
1606
|
-
export type GetRosterResponse =
|
|
1555
|
+
export type GetRosterResponse = (Array<RosterPlayer>);
|
|
1607
1556
|
|
|
1608
|
-
export type
|
|
1609
|
-
body?: never;
|
|
1610
|
-
path?: never;
|
|
1611
|
-
query?: never;
|
|
1612
|
-
url: '/conferences';
|
|
1613
|
-
};
|
|
1557
|
+
export type GetRosterError = unknown;
|
|
1614
1558
|
|
|
1615
|
-
export type
|
|
1616
|
-
/**
|
|
1617
|
-
* Ok
|
|
1618
|
-
*/
|
|
1619
|
-
200: Array<Conference>;
|
|
1620
|
-
};
|
|
1559
|
+
export type GetConferencesResponse = (Array<Conference>);
|
|
1621
1560
|
|
|
1622
|
-
export type
|
|
1561
|
+
export type GetConferencesError = unknown;
|
|
1623
1562
|
|
|
1624
1563
|
export type GetTalentData = {
|
|
1625
|
-
body?: never;
|
|
1626
|
-
path?: never;
|
|
1627
1564
|
query: {
|
|
1628
1565
|
/**
|
|
1629
1566
|
* Year filter
|
|
1630
1567
|
*/
|
|
1631
1568
|
year: number;
|
|
1632
1569
|
};
|
|
1633
|
-
url: '/talent';
|
|
1634
|
-
};
|
|
1635
|
-
|
|
1636
|
-
export type GetTalentResponses = {
|
|
1637
|
-
/**
|
|
1638
|
-
* Ok
|
|
1639
|
-
*/
|
|
1640
|
-
200: Array<TeamTalent>;
|
|
1641
1570
|
};
|
|
1642
1571
|
|
|
1643
|
-
export type GetTalentResponse =
|
|
1572
|
+
export type GetTalentResponse = (Array<TeamTalent>);
|
|
1644
1573
|
|
|
1645
|
-
export type
|
|
1646
|
-
body?: never;
|
|
1647
|
-
path?: never;
|
|
1648
|
-
query?: never;
|
|
1649
|
-
url: '/venues';
|
|
1650
|
-
};
|
|
1574
|
+
export type GetTalentError = unknown;
|
|
1651
1575
|
|
|
1652
|
-
export type
|
|
1653
|
-
/**
|
|
1654
|
-
* Ok
|
|
1655
|
-
*/
|
|
1656
|
-
200: Array<Venue>;
|
|
1657
|
-
};
|
|
1576
|
+
export type GetVenuesResponse = (Array<Venue>);
|
|
1658
1577
|
|
|
1659
|
-
export type
|
|
1578
|
+
export type GetVenuesError = unknown;
|
|
1660
1579
|
|
|
1661
1580
|
export type GetPlayerSeasonStatsData = {
|
|
1662
|
-
body?: never;
|
|
1663
|
-
path?: never;
|
|
1664
1581
|
query: {
|
|
1665
1582
|
/**
|
|
1666
|
-
*
|
|
1583
|
+
* Optional category filter
|
|
1667
1584
|
*/
|
|
1668
|
-
|
|
1585
|
+
category?: string;
|
|
1669
1586
|
/**
|
|
1670
1587
|
* Optional conference filter
|
|
1671
1588
|
*/
|
|
1672
1589
|
conference?: string;
|
|
1673
|
-
/**
|
|
1674
|
-
* Optional team filter
|
|
1675
|
-
*/
|
|
1676
|
-
team?: string;
|
|
1677
|
-
/**
|
|
1678
|
-
* Optional starting week range
|
|
1679
|
-
*/
|
|
1680
|
-
startWeek?: number;
|
|
1681
1590
|
/**
|
|
1682
1591
|
* Optional ending week range
|
|
1683
1592
|
*/
|
|
@@ -1687,87 +1596,63 @@ export type GetPlayerSeasonStatsData = {
|
|
|
1687
1596
|
*/
|
|
1688
1597
|
seasonType?: SeasonType;
|
|
1689
1598
|
/**
|
|
1690
|
-
* Optional
|
|
1599
|
+
* Optional starting week range
|
|
1691
1600
|
*/
|
|
1692
|
-
|
|
1601
|
+
startWeek?: number;
|
|
1602
|
+
/**
|
|
1603
|
+
* Optional team filter
|
|
1604
|
+
*/
|
|
1605
|
+
team?: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* Required year filter
|
|
1608
|
+
*/
|
|
1609
|
+
year: number;
|
|
1693
1610
|
};
|
|
1694
|
-
url: '/stats/player/season';
|
|
1695
1611
|
};
|
|
1696
1612
|
|
|
1697
|
-
export type
|
|
1698
|
-
/**
|
|
1699
|
-
* Ok
|
|
1700
|
-
*/
|
|
1701
|
-
200: Array<PlayerStat>;
|
|
1702
|
-
};
|
|
1613
|
+
export type GetPlayerSeasonStatsResponse = (Array<PlayerStat>);
|
|
1703
1614
|
|
|
1704
|
-
export type
|
|
1615
|
+
export type GetPlayerSeasonStatsError = unknown;
|
|
1705
1616
|
|
|
1706
1617
|
export type GetTeamStatsData = {
|
|
1707
|
-
body?: never;
|
|
1708
|
-
path?: never;
|
|
1709
1618
|
query?: {
|
|
1710
1619
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
*/
|
|
1713
|
-
year?: number;
|
|
1714
|
-
/**
|
|
1715
|
-
* Team filter, required if year not specified
|
|
1620
|
+
* Optional conference filter
|
|
1716
1621
|
*/
|
|
1717
|
-
|
|
1622
|
+
conference?: string;
|
|
1718
1623
|
/**
|
|
1719
|
-
* Optional
|
|
1624
|
+
* Optional week end range filter
|
|
1720
1625
|
*/
|
|
1721
|
-
|
|
1626
|
+
endWeek?: number;
|
|
1722
1627
|
/**
|
|
1723
1628
|
* Optional week start range filter
|
|
1724
1629
|
*/
|
|
1725
1630
|
startWeek?: number;
|
|
1726
1631
|
/**
|
|
1727
|
-
*
|
|
1632
|
+
* Team filter, required if year not specified
|
|
1728
1633
|
*/
|
|
1729
|
-
|
|
1634
|
+
team?: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* Year filter, required if team not specified
|
|
1637
|
+
*/
|
|
1638
|
+
year?: number;
|
|
1730
1639
|
};
|
|
1731
|
-
url: '/stats/season';
|
|
1732
|
-
};
|
|
1733
|
-
|
|
1734
|
-
export type GetTeamStatsResponses = {
|
|
1735
|
-
/**
|
|
1736
|
-
* Ok
|
|
1737
|
-
*/
|
|
1738
|
-
200: Array<TeamStat>;
|
|
1739
1640
|
};
|
|
1740
1641
|
|
|
1741
|
-
export type GetTeamStatsResponse =
|
|
1642
|
+
export type GetTeamStatsResponse = (Array<TeamStat>);
|
|
1742
1643
|
|
|
1743
|
-
export type
|
|
1744
|
-
body?: never;
|
|
1745
|
-
path?: never;
|
|
1746
|
-
query?: never;
|
|
1747
|
-
url: '/stats/categories';
|
|
1748
|
-
};
|
|
1644
|
+
export type GetTeamStatsError = unknown;
|
|
1749
1645
|
|
|
1750
|
-
export type
|
|
1751
|
-
/**
|
|
1752
|
-
* Ok
|
|
1753
|
-
*/
|
|
1754
|
-
200: Array<string>;
|
|
1755
|
-
};
|
|
1646
|
+
export type GetCategoriesResponse = (Array<(string)>);
|
|
1756
1647
|
|
|
1757
|
-
export type
|
|
1648
|
+
export type GetCategoriesError = unknown;
|
|
1758
1649
|
|
|
1759
1650
|
export type GetAdvancedSeasonStatsData = {
|
|
1760
|
-
body?: never;
|
|
1761
|
-
path?: never;
|
|
1762
1651
|
query?: {
|
|
1763
1652
|
/**
|
|
1764
|
-
*
|
|
1765
|
-
*/
|
|
1766
|
-
year?: number;
|
|
1767
|
-
/**
|
|
1768
|
-
* Team filter, required if year not specified
|
|
1653
|
+
* Optional end week range filter
|
|
1769
1654
|
*/
|
|
1770
|
-
|
|
1655
|
+
endWeek?: number;
|
|
1771
1656
|
/**
|
|
1772
1657
|
* Garbage time exclusion filter, defaults to false
|
|
1773
1658
|
*/
|
|
@@ -1777,75 +1662,59 @@ export type GetAdvancedSeasonStatsData = {
|
|
|
1777
1662
|
*/
|
|
1778
1663
|
startWeek?: number;
|
|
1779
1664
|
/**
|
|
1780
|
-
*
|
|
1665
|
+
* Team filter, required if year not specified
|
|
1781
1666
|
*/
|
|
1782
|
-
|
|
1667
|
+
team?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Year filter, required if team not specified
|
|
1670
|
+
*/
|
|
1671
|
+
year?: number;
|
|
1783
1672
|
};
|
|
1784
|
-
url: '/stats/season/advanced';
|
|
1785
1673
|
};
|
|
1786
1674
|
|
|
1787
|
-
export type
|
|
1788
|
-
/**
|
|
1789
|
-
* Ok
|
|
1790
|
-
*/
|
|
1791
|
-
200: Array<AdvancedSeasonStat>;
|
|
1792
|
-
};
|
|
1675
|
+
export type GetAdvancedSeasonStatsResponse = (Array<AdvancedSeasonStat>);
|
|
1793
1676
|
|
|
1794
|
-
export type
|
|
1677
|
+
export type GetAdvancedSeasonStatsError = unknown;
|
|
1795
1678
|
|
|
1796
1679
|
export type GetAdvancedGameStatsData = {
|
|
1797
|
-
body?: never;
|
|
1798
|
-
path?: never;
|
|
1799
1680
|
query?: {
|
|
1800
1681
|
/**
|
|
1801
|
-
*
|
|
1682
|
+
* Garbage time exclusion filter, defaults to false
|
|
1802
1683
|
*/
|
|
1803
|
-
|
|
1684
|
+
excludeGarbageTime?: boolean;
|
|
1804
1685
|
/**
|
|
1805
|
-
*
|
|
1686
|
+
* Optional opponent filter
|
|
1806
1687
|
*/
|
|
1807
|
-
|
|
1688
|
+
opponent?: string;
|
|
1808
1689
|
/**
|
|
1809
|
-
* Optional
|
|
1690
|
+
* Optional season type filter
|
|
1810
1691
|
*/
|
|
1811
|
-
|
|
1692
|
+
seasonType?: SeasonType;
|
|
1812
1693
|
/**
|
|
1813
|
-
*
|
|
1694
|
+
* Team filter, required if year not specified
|
|
1814
1695
|
*/
|
|
1815
|
-
|
|
1696
|
+
team?: string;
|
|
1816
1697
|
/**
|
|
1817
|
-
*
|
|
1698
|
+
* Optional week filter
|
|
1818
1699
|
*/
|
|
1819
|
-
|
|
1700
|
+
week?: number;
|
|
1820
1701
|
/**
|
|
1821
|
-
*
|
|
1702
|
+
* Year filter, required if team not specified
|
|
1822
1703
|
*/
|
|
1823
|
-
|
|
1704
|
+
year?: number;
|
|
1824
1705
|
};
|
|
1825
|
-
url: '/stats/game/advanced';
|
|
1826
1706
|
};
|
|
1827
1707
|
|
|
1828
|
-
export type
|
|
1829
|
-
/**
|
|
1830
|
-
* Ok
|
|
1831
|
-
*/
|
|
1832
|
-
200: Array<AdvancedGameStat>;
|
|
1833
|
-
};
|
|
1708
|
+
export type GetAdvancedGameStatsResponse = (Array<AdvancedGameStat>);
|
|
1834
1709
|
|
|
1835
|
-
export type
|
|
1710
|
+
export type GetAdvancedGameStatsError = unknown;
|
|
1836
1711
|
|
|
1837
1712
|
export type GetRecruitsData = {
|
|
1838
|
-
body?: never;
|
|
1839
|
-
path?: never;
|
|
1840
1713
|
query?: {
|
|
1841
1714
|
/**
|
|
1842
|
-
*
|
|
1843
|
-
*/
|
|
1844
|
-
year?: number;
|
|
1845
|
-
/**
|
|
1846
|
-
* Team filter, required when no team specified
|
|
1715
|
+
* Optional recruit type classification filter, defaults to HighSchool
|
|
1847
1716
|
*/
|
|
1848
|
-
|
|
1717
|
+
classification?: RecruitClassification;
|
|
1849
1718
|
/**
|
|
1850
1719
|
* Optional position categorization filter
|
|
1851
1720
|
*/
|
|
@@ -1855,59 +1724,47 @@ export type GetRecruitsData = {
|
|
|
1855
1724
|
*/
|
|
1856
1725
|
state?: string;
|
|
1857
1726
|
/**
|
|
1858
|
-
*
|
|
1727
|
+
* Team filter, required when no team specified
|
|
1859
1728
|
*/
|
|
1860
|
-
|
|
1729
|
+
team?: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Year filter, required when no team specified
|
|
1732
|
+
*/
|
|
1733
|
+
year?: number;
|
|
1861
1734
|
};
|
|
1862
|
-
url: '/recruiting/players';
|
|
1863
1735
|
};
|
|
1864
1736
|
|
|
1865
|
-
export type
|
|
1866
|
-
/**
|
|
1867
|
-
* Ok
|
|
1868
|
-
*/
|
|
1869
|
-
200: Array<Recruit>;
|
|
1870
|
-
};
|
|
1737
|
+
export type GetRecruitsResponse = (Array<Recruit>);
|
|
1871
1738
|
|
|
1872
|
-
export type
|
|
1739
|
+
export type GetRecruitsError = unknown;
|
|
1873
1740
|
|
|
1874
1741
|
export type GetTeamRecruitingRankingsData = {
|
|
1875
|
-
body?: never;
|
|
1876
|
-
path?: never;
|
|
1877
1742
|
query?: {
|
|
1878
|
-
/**
|
|
1879
|
-
* Optional year filter
|
|
1880
|
-
*/
|
|
1881
|
-
year?: number;
|
|
1882
1743
|
/**
|
|
1883
1744
|
* Optional team filter
|
|
1884
1745
|
*/
|
|
1885
1746
|
team?: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* Optional year filter
|
|
1749
|
+
*/
|
|
1750
|
+
year?: number;
|
|
1886
1751
|
};
|
|
1887
|
-
url: '/recruiting/teams';
|
|
1888
1752
|
};
|
|
1889
1753
|
|
|
1890
|
-
export type
|
|
1891
|
-
/**
|
|
1892
|
-
* Ok
|
|
1893
|
-
*/
|
|
1894
|
-
200: Array<TeamRecruitingRanking>;
|
|
1895
|
-
};
|
|
1754
|
+
export type GetTeamRecruitingRankingsResponse = (Array<TeamRecruitingRanking>);
|
|
1896
1755
|
|
|
1897
|
-
export type
|
|
1756
|
+
export type GetTeamRecruitingRankingsError = unknown;
|
|
1898
1757
|
|
|
1899
1758
|
export type GetAggregatedTeamRecruitingRatingsData = {
|
|
1900
|
-
body?: never;
|
|
1901
|
-
path?: never;
|
|
1902
1759
|
query?: {
|
|
1903
|
-
/**
|
|
1904
|
-
* Optional team filter
|
|
1905
|
-
*/
|
|
1906
|
-
team?: string;
|
|
1907
1760
|
/**
|
|
1908
1761
|
* Optional conference filter
|
|
1909
1762
|
*/
|
|
1910
1763
|
conference?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* Optional end year range, defaults to current year
|
|
1766
|
+
*/
|
|
1767
|
+
endYear?: number;
|
|
1911
1768
|
/**
|
|
1912
1769
|
* Optional recruit type filter, defaults to HighSchool
|
|
1913
1770
|
*/
|
|
@@ -1917,113 +1774,77 @@ export type GetAggregatedTeamRecruitingRatingsData = {
|
|
|
1917
1774
|
*/
|
|
1918
1775
|
startYear?: number;
|
|
1919
1776
|
/**
|
|
1920
|
-
* Optional
|
|
1777
|
+
* Optional team filter
|
|
1921
1778
|
*/
|
|
1922
|
-
|
|
1779
|
+
team?: string;
|
|
1923
1780
|
};
|
|
1924
|
-
url: '/recruiting/groups';
|
|
1925
1781
|
};
|
|
1926
1782
|
|
|
1927
|
-
export type
|
|
1928
|
-
/**
|
|
1929
|
-
* Ok
|
|
1930
|
-
*/
|
|
1931
|
-
200: Array<AggregatedTeamRecruiting>;
|
|
1932
|
-
};
|
|
1783
|
+
export type GetAggregatedTeamRecruitingRatingsResponse = (Array<AggregatedTeamRecruiting>);
|
|
1933
1784
|
|
|
1934
|
-
export type
|
|
1785
|
+
export type GetAggregatedTeamRecruitingRatingsError = unknown;
|
|
1935
1786
|
|
|
1936
1787
|
export type GetSpData = {
|
|
1937
|
-
body?: never;
|
|
1938
|
-
path?: never;
|
|
1939
1788
|
query?: {
|
|
1940
|
-
/**
|
|
1941
|
-
* Year filter, required if team not specified
|
|
1942
|
-
*/
|
|
1943
|
-
year?: number;
|
|
1944
1789
|
/**
|
|
1945
1790
|
* Team filter, required if year not specified
|
|
1946
1791
|
*/
|
|
1947
1792
|
team?: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* Year filter, required if team not specified
|
|
1795
|
+
*/
|
|
1796
|
+
year?: number;
|
|
1948
1797
|
};
|
|
1949
|
-
url: '/ratings/sp';
|
|
1950
1798
|
};
|
|
1951
1799
|
|
|
1952
|
-
export type
|
|
1953
|
-
/**
|
|
1954
|
-
* Ok
|
|
1955
|
-
*/
|
|
1956
|
-
200: Array<TeamSp>;
|
|
1957
|
-
};
|
|
1800
|
+
export type GetSpResponse = (Array<TeamSP>);
|
|
1958
1801
|
|
|
1959
|
-
export type
|
|
1802
|
+
export type GetSpError = unknown;
|
|
1960
1803
|
|
|
1961
1804
|
export type GetConferenceSpData = {
|
|
1962
|
-
body?: never;
|
|
1963
|
-
path?: never;
|
|
1964
1805
|
query?: {
|
|
1965
|
-
/**
|
|
1966
|
-
* Optional year filter
|
|
1967
|
-
*/
|
|
1968
|
-
year?: number;
|
|
1969
1806
|
/**
|
|
1970
1807
|
* Optional conference filter
|
|
1971
1808
|
*/
|
|
1972
1809
|
conference?: string;
|
|
1810
|
+
/**
|
|
1811
|
+
* Optional year filter
|
|
1812
|
+
*/
|
|
1813
|
+
year?: number;
|
|
1973
1814
|
};
|
|
1974
|
-
url: '/ratings/sp/conferences';
|
|
1975
1815
|
};
|
|
1976
1816
|
|
|
1977
|
-
export type
|
|
1978
|
-
/**
|
|
1979
|
-
* Ok
|
|
1980
|
-
*/
|
|
1981
|
-
200: Array<ConferenceSp>;
|
|
1982
|
-
};
|
|
1817
|
+
export type GetConferenceSpResponse = (Array<ConferenceSP>);
|
|
1983
1818
|
|
|
1984
|
-
export type
|
|
1819
|
+
export type GetConferenceSpError = unknown;
|
|
1985
1820
|
|
|
1986
1821
|
export type GetSrsData = {
|
|
1987
|
-
body?: never;
|
|
1988
|
-
path?: never;
|
|
1989
1822
|
query?: {
|
|
1990
1823
|
/**
|
|
1991
|
-
*
|
|
1824
|
+
* Optional conference filter
|
|
1992
1825
|
*/
|
|
1993
|
-
|
|
1826
|
+
conference?: string;
|
|
1994
1827
|
/**
|
|
1995
1828
|
* Team filter, required if year not specified
|
|
1996
1829
|
*/
|
|
1997
1830
|
team?: string;
|
|
1998
1831
|
/**
|
|
1999
|
-
*
|
|
1832
|
+
* Year filter, required if team not specified
|
|
2000
1833
|
*/
|
|
2001
|
-
|
|
1834
|
+
year?: number;
|
|
2002
1835
|
};
|
|
2003
|
-
url: '/ratings/srs';
|
|
2004
1836
|
};
|
|
2005
1837
|
|
|
2006
|
-
export type
|
|
2007
|
-
/**
|
|
2008
|
-
* Ok
|
|
2009
|
-
*/
|
|
2010
|
-
200: Array<TeamSrs>;
|
|
2011
|
-
};
|
|
1838
|
+
export type GetSrsResponse = (Array<TeamSRS>);
|
|
2012
1839
|
|
|
2013
|
-
export type
|
|
1840
|
+
export type GetSrsError = unknown;
|
|
2014
1841
|
|
|
2015
1842
|
export type GetEloData = {
|
|
2016
|
-
body?: never;
|
|
2017
|
-
path?: never;
|
|
2018
1843
|
query?: {
|
|
2019
1844
|
/**
|
|
2020
|
-
* Optional
|
|
2021
|
-
*/
|
|
2022
|
-
year?: number;
|
|
2023
|
-
/**
|
|
2024
|
-
* Optional week filter, defaults to last available week in the season
|
|
1845
|
+
* Optional conference filter
|
|
2025
1846
|
*/
|
|
2026
|
-
|
|
1847
|
+
conference?: string;
|
|
2027
1848
|
/**
|
|
2028
1849
|
* Optional season type filter
|
|
2029
1850
|
*/
|
|
@@ -2033,59 +1854,43 @@ export type GetEloData = {
|
|
|
2033
1854
|
*/
|
|
2034
1855
|
team?: string;
|
|
2035
1856
|
/**
|
|
2036
|
-
* Optional
|
|
1857
|
+
* Optional week filter, defaults to last available week in the season
|
|
2037
1858
|
*/
|
|
2038
|
-
|
|
1859
|
+
week?: number;
|
|
1860
|
+
/**
|
|
1861
|
+
* Optional year filter
|
|
1862
|
+
*/
|
|
1863
|
+
year?: number;
|
|
2039
1864
|
};
|
|
2040
|
-
url: '/ratings/elo';
|
|
2041
1865
|
};
|
|
2042
1866
|
|
|
2043
|
-
export type
|
|
2044
|
-
/**
|
|
2045
|
-
* Ok
|
|
2046
|
-
*/
|
|
2047
|
-
200: Array<TeamElo>;
|
|
2048
|
-
};
|
|
1867
|
+
export type GetEloResponse = (Array<TeamElo>);
|
|
2049
1868
|
|
|
2050
|
-
export type
|
|
1869
|
+
export type GetEloError = unknown;
|
|
2051
1870
|
|
|
2052
1871
|
export type GetFpiData = {
|
|
2053
|
-
body?: never;
|
|
2054
|
-
path?: never;
|
|
2055
1872
|
query?: {
|
|
2056
1873
|
/**
|
|
2057
|
-
*
|
|
1874
|
+
* Optional conference filter
|
|
2058
1875
|
*/
|
|
2059
|
-
|
|
1876
|
+
conference?: string;
|
|
2060
1877
|
/**
|
|
2061
1878
|
* team filter, required if year not specified
|
|
2062
1879
|
*/
|
|
2063
1880
|
team?: string;
|
|
2064
1881
|
/**
|
|
2065
|
-
*
|
|
1882
|
+
* year filter, required if team not specified
|
|
2066
1883
|
*/
|
|
2067
|
-
|
|
1884
|
+
year?: number;
|
|
2068
1885
|
};
|
|
2069
|
-
url: '/ratings/fpi';
|
|
2070
1886
|
};
|
|
2071
1887
|
|
|
2072
|
-
export type
|
|
2073
|
-
/**
|
|
2074
|
-
* Ok
|
|
2075
|
-
*/
|
|
2076
|
-
200: Array<TeamFpi>;
|
|
2077
|
-
};
|
|
1888
|
+
export type GetFpiResponse = (Array<TeamFPI>);
|
|
2078
1889
|
|
|
2079
|
-
export type
|
|
1890
|
+
export type GetFpiError = unknown;
|
|
2080
1891
|
|
|
2081
1892
|
export type GetRankingsData = {
|
|
2082
|
-
body?: never;
|
|
2083
|
-
path?: never;
|
|
2084
1893
|
query: {
|
|
2085
|
-
/**
|
|
2086
|
-
* Required year filter
|
|
2087
|
-
*/
|
|
2088
|
-
year: number;
|
|
2089
1894
|
/**
|
|
2090
1895
|
* Optional season type filter
|
|
2091
1896
|
*/
|
|
@@ -2094,55 +1899,43 @@ export type GetRankingsData = {
|
|
|
2094
1899
|
* Optional week filter
|
|
2095
1900
|
*/
|
|
2096
1901
|
week?: number;
|
|
1902
|
+
/**
|
|
1903
|
+
* Required year filter
|
|
1904
|
+
*/
|
|
1905
|
+
year: number;
|
|
2097
1906
|
};
|
|
2098
|
-
url: '/rankings';
|
|
2099
1907
|
};
|
|
2100
1908
|
|
|
2101
|
-
export type
|
|
2102
|
-
/**
|
|
2103
|
-
* Ok
|
|
2104
|
-
*/
|
|
2105
|
-
200: Array<PollWeek>;
|
|
2106
|
-
};
|
|
1909
|
+
export type GetRankingsResponse = (Array<PollWeek>);
|
|
2107
1910
|
|
|
2108
|
-
export type
|
|
1911
|
+
export type GetRankingsError = unknown;
|
|
2109
1912
|
|
|
2110
1913
|
export type GetPlaysData = {
|
|
2111
|
-
body?: never;
|
|
2112
|
-
path?: never;
|
|
2113
1914
|
query: {
|
|
2114
1915
|
/**
|
|
2115
|
-
*
|
|
2116
|
-
*/
|
|
2117
|
-
year: number;
|
|
2118
|
-
/**
|
|
2119
|
-
* Required week filter
|
|
2120
|
-
*/
|
|
2121
|
-
week: number;
|
|
2122
|
-
/**
|
|
2123
|
-
* Optional team filter
|
|
1916
|
+
* Optional division classification filter
|
|
2124
1917
|
*/
|
|
2125
|
-
|
|
1918
|
+
classification?: DivisionClassification;
|
|
2126
1919
|
/**
|
|
2127
|
-
* Optional
|
|
1920
|
+
* Optional conference filter
|
|
2128
1921
|
*/
|
|
2129
|
-
|
|
1922
|
+
conference?: string;
|
|
2130
1923
|
/**
|
|
2131
1924
|
* Optional defensive team filter
|
|
2132
1925
|
*/
|
|
2133
1926
|
defense?: string;
|
|
2134
|
-
/**
|
|
2135
|
-
* Optional offensive conference filter
|
|
2136
|
-
*/
|
|
2137
|
-
offenseConference?: string;
|
|
2138
1927
|
/**
|
|
2139
1928
|
* Optional defensive conference filter
|
|
2140
1929
|
*/
|
|
2141
1930
|
defenseConference?: string;
|
|
2142
1931
|
/**
|
|
2143
|
-
* Optional
|
|
1932
|
+
* Optional offensive team filter
|
|
2144
1933
|
*/
|
|
2145
|
-
|
|
1934
|
+
offense?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Optional offensive conference filter
|
|
1937
|
+
*/
|
|
1938
|
+
offenseConference?: string;
|
|
2146
1939
|
/**
|
|
2147
1940
|
* Optoinal play type abbreviation filter
|
|
2148
1941
|
*/
|
|
@@ -2152,148 +1945,112 @@ export type GetPlaysData = {
|
|
|
2152
1945
|
*/
|
|
2153
1946
|
seasonType?: SeasonType;
|
|
2154
1947
|
/**
|
|
2155
|
-
* Optional
|
|
1948
|
+
* Optional team filter
|
|
2156
1949
|
*/
|
|
2157
|
-
|
|
1950
|
+
team?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Required week filter
|
|
1953
|
+
*/
|
|
1954
|
+
week: number;
|
|
1955
|
+
/**
|
|
1956
|
+
* Required year filter
|
|
1957
|
+
*/
|
|
1958
|
+
year: number;
|
|
2158
1959
|
};
|
|
2159
|
-
url: '/plays';
|
|
2160
1960
|
};
|
|
2161
1961
|
|
|
2162
|
-
export type
|
|
2163
|
-
/**
|
|
2164
|
-
* Ok
|
|
2165
|
-
*/
|
|
2166
|
-
200: Array<Play>;
|
|
2167
|
-
};
|
|
2168
|
-
|
|
2169
|
-
export type GetPlaysResponse = GetPlaysResponses[keyof GetPlaysResponses];
|
|
1962
|
+
export type GetPlaysResponse = (Array<Play>);
|
|
2170
1963
|
|
|
2171
|
-
export type
|
|
2172
|
-
body?: never;
|
|
2173
|
-
path?: never;
|
|
2174
|
-
query?: never;
|
|
2175
|
-
url: '/plays/types';
|
|
2176
|
-
};
|
|
1964
|
+
export type GetPlaysError = unknown;
|
|
2177
1965
|
|
|
2178
|
-
export type
|
|
2179
|
-
/**
|
|
2180
|
-
* Ok
|
|
2181
|
-
*/
|
|
2182
|
-
200: Array<PlayType>;
|
|
2183
|
-
};
|
|
1966
|
+
export type GetPlayTypesResponse = (Array<PlayType>);
|
|
2184
1967
|
|
|
2185
|
-
export type
|
|
1968
|
+
export type GetPlayTypesError = unknown;
|
|
2186
1969
|
|
|
2187
1970
|
export type GetPlayStatsData = {
|
|
2188
|
-
body?: never;
|
|
2189
|
-
path?: never;
|
|
2190
1971
|
query?: {
|
|
2191
1972
|
/**
|
|
2192
|
-
* Optional
|
|
2193
|
-
*/
|
|
2194
|
-
year?: number;
|
|
2195
|
-
/**
|
|
2196
|
-
* Optional week filter
|
|
1973
|
+
* Optional athleteId filter
|
|
2197
1974
|
*/
|
|
2198
|
-
|
|
1975
|
+
athleteId?: number;
|
|
2199
1976
|
/**
|
|
2200
|
-
* Optional
|
|
1977
|
+
* Optional conference filter
|
|
2201
1978
|
*/
|
|
2202
|
-
|
|
1979
|
+
conference?: string;
|
|
2203
1980
|
/**
|
|
2204
1981
|
* Optional gameId filter
|
|
2205
1982
|
*/
|
|
2206
1983
|
gameId?: number;
|
|
2207
1984
|
/**
|
|
2208
|
-
* Optional
|
|
1985
|
+
* Optional season type filter
|
|
2209
1986
|
*/
|
|
2210
|
-
|
|
1987
|
+
seasonType?: SeasonType;
|
|
2211
1988
|
/**
|
|
2212
1989
|
* Optional statTypeId filter
|
|
2213
1990
|
*/
|
|
2214
1991
|
statTypeId?: number;
|
|
2215
1992
|
/**
|
|
2216
|
-
* Optional
|
|
1993
|
+
* Optional team filter
|
|
2217
1994
|
*/
|
|
2218
|
-
|
|
1995
|
+
team?: string;
|
|
1996
|
+
/**
|
|
1997
|
+
* Optional week filter
|
|
1998
|
+
*/
|
|
1999
|
+
week?: number;
|
|
2219
2000
|
/**
|
|
2220
|
-
* Optional
|
|
2001
|
+
* Optional year filter
|
|
2221
2002
|
*/
|
|
2222
|
-
|
|
2003
|
+
year?: number;
|
|
2223
2004
|
};
|
|
2224
|
-
url: '/plays/stats';
|
|
2225
|
-
};
|
|
2226
|
-
|
|
2227
|
-
export type GetPlayStatsResponses = {
|
|
2228
|
-
/**
|
|
2229
|
-
* Ok
|
|
2230
|
-
*/
|
|
2231
|
-
200: Array<PlayStat>;
|
|
2232
2005
|
};
|
|
2233
2006
|
|
|
2234
|
-
export type GetPlayStatsResponse =
|
|
2007
|
+
export type GetPlayStatsResponse = (Array<PlayStat>);
|
|
2235
2008
|
|
|
2236
|
-
export type
|
|
2237
|
-
body?: never;
|
|
2238
|
-
path?: never;
|
|
2239
|
-
query?: never;
|
|
2240
|
-
url: '/plays/stats/types';
|
|
2241
|
-
};
|
|
2009
|
+
export type GetPlayStatsError = unknown;
|
|
2242
2010
|
|
|
2243
|
-
export type
|
|
2244
|
-
/**
|
|
2245
|
-
* Ok
|
|
2246
|
-
*/
|
|
2247
|
-
200: Array<PlayStatType>;
|
|
2248
|
-
};
|
|
2011
|
+
export type GetPlayStatTypesResponse = (Array<PlayStatType>);
|
|
2249
2012
|
|
|
2250
|
-
export type
|
|
2013
|
+
export type GetPlayStatTypesError = unknown;
|
|
2251
2014
|
|
|
2252
2015
|
export type SearchPlayersData = {
|
|
2253
|
-
body?: never;
|
|
2254
|
-
path?: never;
|
|
2255
2016
|
query: {
|
|
2256
2017
|
/**
|
|
2257
|
-
*
|
|
2018
|
+
* Optional position abbreviation filter
|
|
2258
2019
|
*/
|
|
2259
|
-
|
|
2020
|
+
position?: string;
|
|
2260
2021
|
/**
|
|
2261
|
-
*
|
|
2022
|
+
* Search term for matching player name
|
|
2262
2023
|
*/
|
|
2263
|
-
|
|
2024
|
+
searchTerm: string;
|
|
2264
2025
|
/**
|
|
2265
2026
|
* Optional team filter
|
|
2266
2027
|
*/
|
|
2267
2028
|
team?: string;
|
|
2268
2029
|
/**
|
|
2269
|
-
* Optional
|
|
2030
|
+
* Optional year filter
|
|
2270
2031
|
*/
|
|
2271
|
-
|
|
2032
|
+
year?: number;
|
|
2272
2033
|
};
|
|
2273
|
-
url: '/player/search';
|
|
2274
2034
|
};
|
|
2275
2035
|
|
|
2276
|
-
export type
|
|
2277
|
-
/**
|
|
2278
|
-
* Ok
|
|
2279
|
-
*/
|
|
2280
|
-
200: Array<PlayerSearchResult>;
|
|
2281
|
-
};
|
|
2036
|
+
export type SearchPlayersResponse = (Array<PlayerSearchResult>);
|
|
2282
2037
|
|
|
2283
|
-
export type
|
|
2038
|
+
export type SearchPlayersError = unknown;
|
|
2284
2039
|
|
|
2285
2040
|
export type GetPlayerUsageData = {
|
|
2286
|
-
body?: never;
|
|
2287
|
-
path?: never;
|
|
2288
2041
|
query: {
|
|
2289
|
-
/**
|
|
2290
|
-
* Required year filter
|
|
2291
|
-
*/
|
|
2292
|
-
year: number;
|
|
2293
2042
|
/**
|
|
2294
2043
|
* Optional conference abbreviation filter
|
|
2295
2044
|
*/
|
|
2296
2045
|
conference?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* Optional exclude garbage time flag, defaults to false
|
|
2048
|
+
*/
|
|
2049
|
+
excludeGarbageTime?: boolean;
|
|
2050
|
+
/**
|
|
2051
|
+
* Optional player id filter
|
|
2052
|
+
*/
|
|
2053
|
+
playerId?: number;
|
|
2297
2054
|
/**
|
|
2298
2055
|
* Optional position abbreivation filter
|
|
2299
2056
|
*/
|
|
@@ -2303,113 +2060,69 @@ export type GetPlayerUsageData = {
|
|
|
2303
2060
|
*/
|
|
2304
2061
|
team?: string;
|
|
2305
2062
|
/**
|
|
2306
|
-
*
|
|
2307
|
-
*/
|
|
2308
|
-
playerId?: number;
|
|
2309
|
-
/**
|
|
2310
|
-
* Optional exclude garbage time flag, defaults to false
|
|
2063
|
+
* Required year filter
|
|
2311
2064
|
*/
|
|
2312
|
-
|
|
2065
|
+
year: number;
|
|
2313
2066
|
};
|
|
2314
|
-
url: '/player/usage';
|
|
2315
2067
|
};
|
|
2316
2068
|
|
|
2317
|
-
export type
|
|
2318
|
-
/**
|
|
2319
|
-
* Ok
|
|
2320
|
-
*/
|
|
2321
|
-
200: Array<PlayerUsage>;
|
|
2322
|
-
};
|
|
2069
|
+
export type GetPlayerUsageResponse = (Array<PlayerUsage>);
|
|
2323
2070
|
|
|
2324
|
-
export type
|
|
2071
|
+
export type GetPlayerUsageError = unknown;
|
|
2325
2072
|
|
|
2326
2073
|
export type GetReturningProductionData = {
|
|
2327
|
-
body?: never;
|
|
2328
|
-
path?: never;
|
|
2329
2074
|
query?: {
|
|
2330
2075
|
/**
|
|
2331
|
-
*
|
|
2076
|
+
* Optional conference filter
|
|
2332
2077
|
*/
|
|
2333
|
-
|
|
2078
|
+
conference?: string;
|
|
2334
2079
|
/**
|
|
2335
2080
|
* Team filter, required if year not specified
|
|
2336
2081
|
*/
|
|
2337
2082
|
team?: string;
|
|
2338
2083
|
/**
|
|
2339
|
-
*
|
|
2084
|
+
* Year filter, required if team not specified
|
|
2340
2085
|
*/
|
|
2341
|
-
|
|
2086
|
+
year?: number;
|
|
2342
2087
|
};
|
|
2343
|
-
url: '/player/returning';
|
|
2344
2088
|
};
|
|
2345
2089
|
|
|
2346
|
-
export type
|
|
2347
|
-
/**
|
|
2348
|
-
* Ok
|
|
2349
|
-
*/
|
|
2350
|
-
200: Array<ReturningProduction>;
|
|
2351
|
-
};
|
|
2090
|
+
export type GetReturningProductionResponse = (Array<ReturningProduction>);
|
|
2352
2091
|
|
|
2353
|
-
export type
|
|
2092
|
+
export type GetReturningProductionError = unknown;
|
|
2354
2093
|
|
|
2355
2094
|
export type GetTransferPortalData = {
|
|
2356
|
-
body?: never;
|
|
2357
|
-
path?: never;
|
|
2358
2095
|
query: {
|
|
2359
2096
|
/**
|
|
2360
2097
|
* Required year filter
|
|
2361
2098
|
*/
|
|
2362
2099
|
year: number;
|
|
2363
2100
|
};
|
|
2364
|
-
url: '/player/portal';
|
|
2365
2101
|
};
|
|
2366
2102
|
|
|
2367
|
-
export type
|
|
2368
|
-
/**
|
|
2369
|
-
* Ok
|
|
2370
|
-
*/
|
|
2371
|
-
200: Array<PlayerTransfer>;
|
|
2372
|
-
};
|
|
2103
|
+
export type GetTransferPortalResponse = (Array<PlayerTransfer>);
|
|
2373
2104
|
|
|
2374
|
-
export type
|
|
2105
|
+
export type GetTransferPortalError = unknown;
|
|
2375
2106
|
|
|
2376
2107
|
export type GetPredictedPointsData = {
|
|
2377
|
-
body?: never;
|
|
2378
|
-
path?: never;
|
|
2379
2108
|
query: {
|
|
2380
|
-
/**
|
|
2381
|
-
* Down value
|
|
2382
|
-
*/
|
|
2383
|
-
down: number;
|
|
2384
2109
|
/**
|
|
2385
2110
|
* Distance value
|
|
2386
2111
|
*/
|
|
2387
2112
|
distance: number;
|
|
2113
|
+
/**
|
|
2114
|
+
* Down value
|
|
2115
|
+
*/
|
|
2116
|
+
down: number;
|
|
2388
2117
|
};
|
|
2389
|
-
url: '/ppa/predicted';
|
|
2390
2118
|
};
|
|
2391
2119
|
|
|
2392
|
-
export type
|
|
2393
|
-
/**
|
|
2394
|
-
* Ok
|
|
2395
|
-
*/
|
|
2396
|
-
200: Array<PredictedPointsValue>;
|
|
2397
|
-
};
|
|
2120
|
+
export type GetPredictedPointsResponse = (Array<PredictedPointsValue>);
|
|
2398
2121
|
|
|
2399
|
-
export type
|
|
2122
|
+
export type GetPredictedPointsError = unknown;
|
|
2400
2123
|
|
|
2401
2124
|
export type GetPredictedPointsAddedByTeamData = {
|
|
2402
|
-
body?: never;
|
|
2403
|
-
path?: never;
|
|
2404
2125
|
query?: {
|
|
2405
|
-
/**
|
|
2406
|
-
* Year filter, required if team not specified
|
|
2407
|
-
*/
|
|
2408
|
-
year?: number;
|
|
2409
|
-
/**
|
|
2410
|
-
* Team filter, required if year not specified
|
|
2411
|
-
*/
|
|
2412
|
-
team?: string;
|
|
2413
2126
|
/**
|
|
2414
2127
|
* Conference abbreviation filter
|
|
2415
2128
|
*/
|
|
@@ -2418,31 +2131,31 @@ export type GetPredictedPointsAddedByTeamData = {
|
|
|
2418
2131
|
* Exclude garbage time plays
|
|
2419
2132
|
*/
|
|
2420
2133
|
excludeGarbageTime?: boolean;
|
|
2134
|
+
/**
|
|
2135
|
+
* Team filter, required if year not specified
|
|
2136
|
+
*/
|
|
2137
|
+
team?: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* Year filter, required if team not specified
|
|
2140
|
+
*/
|
|
2141
|
+
year?: number;
|
|
2421
2142
|
};
|
|
2422
|
-
url: '/ppa/teams';
|
|
2423
2143
|
};
|
|
2424
2144
|
|
|
2425
|
-
export type
|
|
2426
|
-
/**
|
|
2427
|
-
* Ok
|
|
2428
|
-
*/
|
|
2429
|
-
200: Array<TeamSeasonPredictedPointsAdded>;
|
|
2430
|
-
};
|
|
2145
|
+
export type GetPredictedPointsAddedByTeamResponse = (Array<TeamSeasonPredictedPointsAdded>);
|
|
2431
2146
|
|
|
2432
|
-
export type
|
|
2147
|
+
export type GetPredictedPointsAddedByTeamError = unknown;
|
|
2433
2148
|
|
|
2434
2149
|
export type GetPredictedPointsAddedByGameData = {
|
|
2435
|
-
body?: never;
|
|
2436
|
-
path?: never;
|
|
2437
2150
|
query: {
|
|
2438
2151
|
/**
|
|
2439
|
-
*
|
|
2152
|
+
* Optional conference abbreviation filter
|
|
2440
2153
|
*/
|
|
2441
|
-
|
|
2154
|
+
conference?: string;
|
|
2442
2155
|
/**
|
|
2443
|
-
* Optional
|
|
2156
|
+
* Optional flag to exclude garbage time plays
|
|
2444
2157
|
*/
|
|
2445
|
-
|
|
2158
|
+
excludeGarbageTime?: boolean;
|
|
2446
2159
|
/**
|
|
2447
2160
|
* Optional season type filter
|
|
2448
2161
|
*/
|
|
@@ -2452,38 +2165,34 @@ export type GetPredictedPointsAddedByGameData = {
|
|
|
2452
2165
|
*/
|
|
2453
2166
|
team?: string;
|
|
2454
2167
|
/**
|
|
2455
|
-
* Optional
|
|
2168
|
+
* Optional week filter
|
|
2456
2169
|
*/
|
|
2457
|
-
|
|
2170
|
+
week?: number;
|
|
2458
2171
|
/**
|
|
2459
|
-
*
|
|
2172
|
+
* Required year filter
|
|
2460
2173
|
*/
|
|
2461
|
-
|
|
2174
|
+
year: number;
|
|
2462
2175
|
};
|
|
2463
|
-
url: '/ppa/games';
|
|
2464
2176
|
};
|
|
2465
2177
|
|
|
2466
|
-
export type
|
|
2467
|
-
/**
|
|
2468
|
-
* Ok
|
|
2469
|
-
*/
|
|
2470
|
-
200: Array<TeamGamePredictedPointsAdded>;
|
|
2471
|
-
};
|
|
2178
|
+
export type GetPredictedPointsAddedByGameResponse = (Array<TeamGamePredictedPointsAdded>);
|
|
2472
2179
|
|
|
2473
|
-
export type
|
|
2180
|
+
export type GetPredictedPointsAddedByGameError = unknown;
|
|
2474
2181
|
|
|
2475
2182
|
export type GetPredictedPointsAddedByPlayerGameData = {
|
|
2476
|
-
body?: never;
|
|
2477
|
-
path?: never;
|
|
2478
2183
|
query: {
|
|
2479
2184
|
/**
|
|
2480
|
-
*
|
|
2185
|
+
* Optional flag to exclude garbage time plays
|
|
2481
2186
|
*/
|
|
2482
|
-
|
|
2187
|
+
excludeGarbageTime?: boolean;
|
|
2483
2188
|
/**
|
|
2484
|
-
*
|
|
2189
|
+
* Optional player ID filter
|
|
2485
2190
|
*/
|
|
2486
|
-
|
|
2191
|
+
playerId?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* Optional player position abbreviation filter
|
|
2194
|
+
*/
|
|
2195
|
+
position?: string;
|
|
2487
2196
|
/**
|
|
2488
2197
|
* Optional season type filter
|
|
2489
2198
|
*/
|
|
@@ -2492,113 +2201,77 @@ export type GetPredictedPointsAddedByPlayerGameData = {
|
|
|
2492
2201
|
* Team filter, required if week not specified
|
|
2493
2202
|
*/
|
|
2494
2203
|
team?: string;
|
|
2495
|
-
/**
|
|
2496
|
-
* Optional player position abbreviation filter
|
|
2497
|
-
*/
|
|
2498
|
-
position?: string;
|
|
2499
|
-
/**
|
|
2500
|
-
* Optional player ID filter
|
|
2501
|
-
*/
|
|
2502
|
-
playerId?: string;
|
|
2503
2204
|
/**
|
|
2504
2205
|
* Threshold value for minimum number of plays
|
|
2505
2206
|
*/
|
|
2506
2207
|
threshold?: number;
|
|
2507
2208
|
/**
|
|
2508
|
-
*
|
|
2209
|
+
* Week filter, required if team not specified
|
|
2509
2210
|
*/
|
|
2510
|
-
|
|
2211
|
+
week?: number;
|
|
2212
|
+
/**
|
|
2213
|
+
* Required year filter
|
|
2214
|
+
*/
|
|
2215
|
+
year: number;
|
|
2511
2216
|
};
|
|
2512
|
-
url: '/ppa/players/games';
|
|
2513
2217
|
};
|
|
2514
2218
|
|
|
2515
|
-
export type
|
|
2516
|
-
/**
|
|
2517
|
-
* Ok
|
|
2518
|
-
*/
|
|
2519
|
-
200: Array<PlayerGamePredictedPointsAdded>;
|
|
2520
|
-
};
|
|
2219
|
+
export type GetPredictedPointsAddedByPlayerGameResponse = (Array<PlayerGamePredictedPointsAdded>);
|
|
2521
2220
|
|
|
2522
|
-
export type
|
|
2221
|
+
export type GetPredictedPointsAddedByPlayerGameError = unknown;
|
|
2523
2222
|
|
|
2524
2223
|
export type GetPredictedPointsAddedByPlayerSeasonData = {
|
|
2525
|
-
body?: never;
|
|
2526
|
-
path?: never;
|
|
2527
2224
|
query?: {
|
|
2528
|
-
/**
|
|
2529
|
-
* Year filter, required if playerId not specified
|
|
2530
|
-
*/
|
|
2531
|
-
year?: number;
|
|
2532
2225
|
/**
|
|
2533
2226
|
* Optional conference abbreviation filter
|
|
2534
2227
|
*/
|
|
2535
2228
|
conference?: string;
|
|
2536
2229
|
/**
|
|
2537
|
-
* Optional
|
|
2230
|
+
* Optional flag to exclude garbage time plays
|
|
2538
2231
|
*/
|
|
2539
|
-
|
|
2232
|
+
excludeGarbageTime?: boolean;
|
|
2233
|
+
/**
|
|
2234
|
+
* Player ID filter, required if year not specified
|
|
2235
|
+
*/
|
|
2236
|
+
playerId?: string;
|
|
2540
2237
|
/**
|
|
2541
2238
|
* Optional position abbreviation filter
|
|
2542
2239
|
*/
|
|
2543
2240
|
position?: string;
|
|
2544
2241
|
/**
|
|
2545
|
-
*
|
|
2242
|
+
* Optional team filter
|
|
2546
2243
|
*/
|
|
2547
|
-
|
|
2244
|
+
team?: string;
|
|
2548
2245
|
/**
|
|
2549
2246
|
* Threshold value for minimum number of plays
|
|
2550
2247
|
*/
|
|
2551
2248
|
threshold?: number;
|
|
2552
2249
|
/**
|
|
2553
|
-
*
|
|
2250
|
+
* Year filter, required if playerId not specified
|
|
2554
2251
|
*/
|
|
2555
|
-
|
|
2252
|
+
year?: number;
|
|
2556
2253
|
};
|
|
2557
|
-
url: '/ppa/players/season';
|
|
2558
2254
|
};
|
|
2559
2255
|
|
|
2560
|
-
export type
|
|
2561
|
-
/**
|
|
2562
|
-
* Ok
|
|
2563
|
-
*/
|
|
2564
|
-
200: Array<PlayerSeasonPredictedPointsAdded>;
|
|
2565
|
-
};
|
|
2256
|
+
export type GetPredictedPointsAddedByPlayerSeasonResponse = (Array<PlayerSeasonPredictedPointsAdded>);
|
|
2566
2257
|
|
|
2567
|
-
export type
|
|
2258
|
+
export type GetPredictedPointsAddedByPlayerSeasonError = unknown;
|
|
2568
2259
|
|
|
2569
2260
|
export type GetWinProbabilityData = {
|
|
2570
|
-
body?: never;
|
|
2571
|
-
path?: never;
|
|
2572
2261
|
query: {
|
|
2573
2262
|
/**
|
|
2574
2263
|
* Required game ID filter
|
|
2575
2264
|
*/
|
|
2576
2265
|
gameId: number;
|
|
2577
2266
|
};
|
|
2578
|
-
url: '/metrics/wp';
|
|
2579
2267
|
};
|
|
2580
2268
|
|
|
2581
|
-
export type
|
|
2582
|
-
/**
|
|
2583
|
-
* Ok
|
|
2584
|
-
*/
|
|
2585
|
-
200: Array<PlayWinProbability>;
|
|
2586
|
-
};
|
|
2269
|
+
export type GetWinProbabilityResponse = (Array<PlayWinProbability>);
|
|
2587
2270
|
|
|
2588
|
-
export type
|
|
2271
|
+
export type GetWinProbabilityError = unknown;
|
|
2589
2272
|
|
|
2590
2273
|
export type GetPregameWinProbabilitiesData = {
|
|
2591
|
-
body?: never;
|
|
2592
|
-
path?: never;
|
|
2593
2274
|
query?: {
|
|
2594
|
-
/**
|
|
2595
|
-
* Optional year filter
|
|
2596
|
-
*/
|
|
2597
|
-
year?: number;
|
|
2598
|
-
/**
|
|
2599
|
-
* Optional week filter
|
|
2600
|
-
*/
|
|
2601
|
-
week?: number;
|
|
2602
2275
|
/**
|
|
2603
2276
|
* Optional season type filter
|
|
2604
2277
|
*/
|
|
@@ -2607,399 +2280,319 @@ export type GetPregameWinProbabilitiesData = {
|
|
|
2607
2280
|
* Optional team filter
|
|
2608
2281
|
*/
|
|
2609
2282
|
team?: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* Optional week filter
|
|
2285
|
+
*/
|
|
2286
|
+
week?: number;
|
|
2287
|
+
/**
|
|
2288
|
+
* Optional year filter
|
|
2289
|
+
*/
|
|
2290
|
+
year?: number;
|
|
2610
2291
|
};
|
|
2611
|
-
url: '/metrics/wp/pregame';
|
|
2612
|
-
};
|
|
2613
|
-
|
|
2614
|
-
export type GetPregameWinProbabilitiesResponses = {
|
|
2615
|
-
/**
|
|
2616
|
-
* Ok
|
|
2617
|
-
*/
|
|
2618
|
-
200: Array<PregameWinProbability>;
|
|
2619
2292
|
};
|
|
2620
2293
|
|
|
2621
|
-
export type GetPregameWinProbabilitiesResponse =
|
|
2294
|
+
export type GetPregameWinProbabilitiesResponse = (Array<PregameWinProbability>);
|
|
2622
2295
|
|
|
2623
|
-
export type
|
|
2624
|
-
body?: never;
|
|
2625
|
-
path?: never;
|
|
2626
|
-
query?: never;
|
|
2627
|
-
url: '/metrics/fg/ep';
|
|
2628
|
-
};
|
|
2296
|
+
export type GetPregameWinProbabilitiesError = unknown;
|
|
2629
2297
|
|
|
2630
|
-
export type
|
|
2631
|
-
/**
|
|
2632
|
-
* Ok
|
|
2633
|
-
*/
|
|
2634
|
-
200: Array<FieldGoalEp>;
|
|
2635
|
-
};
|
|
2298
|
+
export type GetFieldGoalExpectedPointsResponse = (Array<FieldGoalEP>);
|
|
2636
2299
|
|
|
2637
|
-
export type
|
|
2300
|
+
export type GetFieldGoalExpectedPointsError = unknown;
|
|
2638
2301
|
|
|
2639
2302
|
export type GetLivePlaysData = {
|
|
2640
|
-
body?: never;
|
|
2641
|
-
path?: never;
|
|
2642
2303
|
query: {
|
|
2643
2304
|
/**
|
|
2644
2305
|
* Game Id filter
|
|
2645
2306
|
*/
|
|
2646
2307
|
gameId: number;
|
|
2647
2308
|
};
|
|
2648
|
-
url: '/live/plays';
|
|
2649
2309
|
};
|
|
2650
2310
|
|
|
2651
|
-
export type
|
|
2652
|
-
/**
|
|
2653
|
-
* Ok
|
|
2654
|
-
*/
|
|
2655
|
-
200: LiveGame;
|
|
2656
|
-
};
|
|
2311
|
+
export type GetLivePlaysResponse = (LiveGame);
|
|
2657
2312
|
|
|
2658
|
-
export type
|
|
2313
|
+
export type GetLivePlaysError = unknown;
|
|
2659
2314
|
|
|
2660
2315
|
export type GetLinesData = {
|
|
2661
|
-
body?: never;
|
|
2662
|
-
path?: never;
|
|
2663
2316
|
query?: {
|
|
2664
2317
|
/**
|
|
2665
|
-
* Optional
|
|
2318
|
+
* Optional away team filter
|
|
2666
2319
|
*/
|
|
2667
|
-
|
|
2320
|
+
away?: string;
|
|
2668
2321
|
/**
|
|
2669
|
-
*
|
|
2322
|
+
* Optional conference filter
|
|
2670
2323
|
*/
|
|
2671
|
-
|
|
2324
|
+
conference?: string;
|
|
2672
2325
|
/**
|
|
2673
|
-
* Optional
|
|
2326
|
+
* Optional gameId filter
|
|
2674
2327
|
*/
|
|
2675
|
-
|
|
2328
|
+
gameId?: number;
|
|
2676
2329
|
/**
|
|
2677
|
-
* Optional
|
|
2330
|
+
* Optional home team filter
|
|
2678
2331
|
*/
|
|
2679
|
-
|
|
2332
|
+
home?: string;
|
|
2680
2333
|
/**
|
|
2681
|
-
* Optional
|
|
2334
|
+
* Optional provider name filter
|
|
2682
2335
|
*/
|
|
2683
|
-
|
|
2336
|
+
provider?: string;
|
|
2684
2337
|
/**
|
|
2685
|
-
* Optional
|
|
2338
|
+
* Optional season type filter
|
|
2686
2339
|
*/
|
|
2687
|
-
|
|
2340
|
+
seasonType?: SeasonType;
|
|
2688
2341
|
/**
|
|
2689
|
-
* Optional
|
|
2342
|
+
* Optional team filter
|
|
2690
2343
|
*/
|
|
2691
|
-
|
|
2344
|
+
team?: string;
|
|
2692
2345
|
/**
|
|
2693
|
-
* Optional
|
|
2346
|
+
* Optional week filter
|
|
2694
2347
|
*/
|
|
2695
|
-
|
|
2348
|
+
week?: number;
|
|
2696
2349
|
/**
|
|
2697
|
-
*
|
|
2350
|
+
* Year filter, required if game id not specified
|
|
2698
2351
|
*/
|
|
2699
|
-
|
|
2352
|
+
year?: number;
|
|
2700
2353
|
};
|
|
2701
|
-
url: '/lines';
|
|
2702
2354
|
};
|
|
2703
2355
|
|
|
2704
|
-
export type
|
|
2705
|
-
/**
|
|
2706
|
-
* Ok
|
|
2707
|
-
*/
|
|
2708
|
-
200: Array<BettingGame>;
|
|
2709
|
-
};
|
|
2356
|
+
export type GetLinesResponse = (Array<BettingGame>);
|
|
2710
2357
|
|
|
2711
|
-
export type
|
|
2358
|
+
export type GetLinesError = unknown;
|
|
2359
|
+
|
|
2360
|
+
export type GetUserInfoResponse = (((UserInfo) | null));
|
|
2361
|
+
|
|
2362
|
+
export type GetUserInfoError = unknown;
|
|
2712
2363
|
|
|
2713
2364
|
export type GetGamesData = {
|
|
2714
|
-
body?: never;
|
|
2715
|
-
path?: never;
|
|
2716
2365
|
query?: {
|
|
2717
2366
|
/**
|
|
2718
|
-
*
|
|
2367
|
+
* Optional away team filter
|
|
2719
2368
|
*/
|
|
2720
|
-
|
|
2369
|
+
away?: string;
|
|
2721
2370
|
/**
|
|
2722
|
-
* Optional
|
|
2371
|
+
* Optional division classification filter
|
|
2372
|
+
*/
|
|
2373
|
+
classification?: DivisionClassification;
|
|
2374
|
+
/**
|
|
2375
|
+
* Optional conference filter
|
|
2376
|
+
*/
|
|
2377
|
+
conference?: string;
|
|
2378
|
+
/**
|
|
2379
|
+
* Optional home team filter
|
|
2380
|
+
*/
|
|
2381
|
+
home?: string;
|
|
2382
|
+
/**
|
|
2383
|
+
* Game id filter to retrieve a single game
|
|
2723
2384
|
*/
|
|
2724
|
-
|
|
2385
|
+
id?: number;
|
|
2725
2386
|
/**
|
|
2726
2387
|
* Optional season type filter
|
|
2727
2388
|
*/
|
|
2728
2389
|
seasonType?: SeasonType;
|
|
2729
|
-
/**
|
|
2730
|
-
* Optional division classification filter
|
|
2731
|
-
*/
|
|
2732
|
-
classification?: DivisionClassification;
|
|
2733
2390
|
/**
|
|
2734
2391
|
* Optional team filter
|
|
2735
2392
|
*/
|
|
2736
2393
|
team?: string;
|
|
2737
2394
|
/**
|
|
2738
|
-
* Optional
|
|
2739
|
-
*/
|
|
2740
|
-
home?: string;
|
|
2741
|
-
/**
|
|
2742
|
-
* Optional away team filter
|
|
2743
|
-
*/
|
|
2744
|
-
away?: string;
|
|
2745
|
-
/**
|
|
2746
|
-
* Optional conference filter
|
|
2395
|
+
* Optional week filter
|
|
2747
2396
|
*/
|
|
2748
|
-
|
|
2397
|
+
week?: number;
|
|
2749
2398
|
/**
|
|
2750
|
-
*
|
|
2399
|
+
* Required year filter (except when id is specified)
|
|
2751
2400
|
*/
|
|
2752
|
-
|
|
2401
|
+
year?: number;
|
|
2753
2402
|
};
|
|
2754
|
-
url: '/games';
|
|
2755
2403
|
};
|
|
2756
2404
|
|
|
2757
|
-
export type
|
|
2758
|
-
/**
|
|
2759
|
-
* Ok
|
|
2760
|
-
*/
|
|
2761
|
-
200: Array<Game>;
|
|
2762
|
-
};
|
|
2405
|
+
export type GetGamesResponse = (Array<Game>);
|
|
2763
2406
|
|
|
2764
|
-
export type
|
|
2407
|
+
export type GetGamesError = unknown;
|
|
2765
2408
|
|
|
2766
2409
|
export type GetGameTeamStatsData = {
|
|
2767
|
-
body?: never;
|
|
2768
|
-
path?: never;
|
|
2769
2410
|
query?: {
|
|
2770
2411
|
/**
|
|
2771
|
-
*
|
|
2772
|
-
*/
|
|
2773
|
-
year?: number;
|
|
2774
|
-
/**
|
|
2775
|
-
* Optional week filter, required if team and conference not specified
|
|
2776
|
-
*/
|
|
2777
|
-
week?: number;
|
|
2778
|
-
/**
|
|
2779
|
-
* Optional team filter, required if week and conference not specified
|
|
2412
|
+
* Optional division classification filter
|
|
2780
2413
|
*/
|
|
2781
|
-
|
|
2414
|
+
classification?: DivisionClassification;
|
|
2782
2415
|
/**
|
|
2783
2416
|
* Optional conference filter, required if week and team not specified
|
|
2784
2417
|
*/
|
|
2785
2418
|
conference?: string;
|
|
2786
2419
|
/**
|
|
2787
|
-
* Optional
|
|
2420
|
+
* Optional id filter to retrieve a single game
|
|
2788
2421
|
*/
|
|
2789
|
-
|
|
2422
|
+
id?: number;
|
|
2790
2423
|
/**
|
|
2791
2424
|
* Optional season type filter
|
|
2792
2425
|
*/
|
|
2793
2426
|
seasonType?: SeasonType;
|
|
2794
2427
|
/**
|
|
2795
|
-
* Optional
|
|
2428
|
+
* Optional team filter, required if week and conference not specified
|
|
2796
2429
|
*/
|
|
2797
|
-
|
|
2430
|
+
team?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* Optional week filter, required if team and conference not specified
|
|
2433
|
+
*/
|
|
2434
|
+
week?: number;
|
|
2435
|
+
/**
|
|
2436
|
+
* Required year filter (along with one of week, team, or conference), unless id is specified
|
|
2437
|
+
*/
|
|
2438
|
+
year?: number;
|
|
2798
2439
|
};
|
|
2799
|
-
url: '/games/teams';
|
|
2800
2440
|
};
|
|
2801
2441
|
|
|
2802
|
-
export type
|
|
2803
|
-
/**
|
|
2804
|
-
* Ok
|
|
2805
|
-
*/
|
|
2806
|
-
200: Array<GameTeamStats>;
|
|
2807
|
-
};
|
|
2442
|
+
export type GetGameTeamStatsResponse = (Array<GameTeamStats>);
|
|
2808
2443
|
|
|
2809
|
-
export type
|
|
2444
|
+
export type GetGameTeamStatsError = unknown;
|
|
2810
2445
|
|
|
2811
2446
|
export type GetGamePlayerStatsData = {
|
|
2812
|
-
body?: never;
|
|
2813
|
-
path?: never;
|
|
2814
2447
|
query?: {
|
|
2815
2448
|
/**
|
|
2816
|
-
*
|
|
2817
|
-
*/
|
|
2818
|
-
year?: number;
|
|
2819
|
-
/**
|
|
2820
|
-
* Optional week filter, required if team and conference not specified
|
|
2449
|
+
* Optional player statistical category filter
|
|
2821
2450
|
*/
|
|
2822
|
-
|
|
2451
|
+
category?: string;
|
|
2823
2452
|
/**
|
|
2824
|
-
* Optional
|
|
2453
|
+
* Optional division classification filter
|
|
2825
2454
|
*/
|
|
2826
|
-
|
|
2455
|
+
classification?: DivisionClassification;
|
|
2827
2456
|
/**
|
|
2828
2457
|
* Optional conference filter, required if week and team not specified
|
|
2829
2458
|
*/
|
|
2830
2459
|
conference?: string;
|
|
2831
2460
|
/**
|
|
2832
|
-
* Optional
|
|
2461
|
+
* Optional id filter to retrieve a single game
|
|
2833
2462
|
*/
|
|
2834
|
-
|
|
2463
|
+
id?: number;
|
|
2835
2464
|
/**
|
|
2836
2465
|
* Optional season type filter
|
|
2837
2466
|
*/
|
|
2838
2467
|
seasonType?: SeasonType;
|
|
2839
2468
|
/**
|
|
2840
|
-
* Optional
|
|
2469
|
+
* Optional team filter, required if week and conference not specified
|
|
2841
2470
|
*/
|
|
2842
|
-
|
|
2471
|
+
team?: string;
|
|
2843
2472
|
/**
|
|
2844
|
-
* Optional
|
|
2473
|
+
* Optional week filter, required if team and conference not specified
|
|
2845
2474
|
*/
|
|
2846
|
-
|
|
2475
|
+
week?: number;
|
|
2476
|
+
/**
|
|
2477
|
+
* Required year filter (along with one of week, team, or conference), unless id is specified
|
|
2478
|
+
*/
|
|
2479
|
+
year?: number;
|
|
2847
2480
|
};
|
|
2848
|
-
url: '/games/players';
|
|
2849
2481
|
};
|
|
2850
2482
|
|
|
2851
|
-
export type
|
|
2852
|
-
/**
|
|
2853
|
-
* Ok
|
|
2854
|
-
*/
|
|
2855
|
-
200: Array<GamePlayerStats>;
|
|
2856
|
-
};
|
|
2483
|
+
export type GetGamePlayerStatsResponse = (Array<GamePlayerStats>);
|
|
2857
2484
|
|
|
2858
|
-
export type
|
|
2485
|
+
export type GetGamePlayerStatsError = unknown;
|
|
2859
2486
|
|
|
2860
2487
|
export type GetMediaData = {
|
|
2861
|
-
body?: never;
|
|
2862
|
-
path?: never;
|
|
2863
2488
|
query: {
|
|
2864
2489
|
/**
|
|
2865
|
-
*
|
|
2490
|
+
* Optional division classification filter
|
|
2866
2491
|
*/
|
|
2867
|
-
|
|
2492
|
+
classification?: DivisionClassification;
|
|
2868
2493
|
/**
|
|
2869
|
-
* Optional
|
|
2494
|
+
* Optional conference filter
|
|
2870
2495
|
*/
|
|
2871
|
-
|
|
2496
|
+
conference?: string;
|
|
2872
2497
|
/**
|
|
2873
|
-
* Optional
|
|
2498
|
+
* Optional media type filter
|
|
2874
2499
|
*/
|
|
2875
|
-
|
|
2500
|
+
mediaType?: MediaType;
|
|
2876
2501
|
/**
|
|
2877
|
-
* Optional
|
|
2502
|
+
* Optional season type filter
|
|
2878
2503
|
*/
|
|
2879
|
-
|
|
2504
|
+
seasonType?: SeasonType;
|
|
2880
2505
|
/**
|
|
2881
|
-
* Optional
|
|
2506
|
+
* Optional team filter
|
|
2882
2507
|
*/
|
|
2883
|
-
|
|
2508
|
+
team?: string;
|
|
2884
2509
|
/**
|
|
2885
|
-
* Optional
|
|
2510
|
+
* Optional week filter
|
|
2886
2511
|
*/
|
|
2887
|
-
|
|
2512
|
+
week?: number;
|
|
2888
2513
|
/**
|
|
2889
|
-
*
|
|
2514
|
+
* Required year filter
|
|
2890
2515
|
*/
|
|
2891
|
-
|
|
2516
|
+
year: number;
|
|
2892
2517
|
};
|
|
2893
|
-
url: '/games/media';
|
|
2894
2518
|
};
|
|
2895
2519
|
|
|
2896
|
-
export type
|
|
2897
|
-
/**
|
|
2898
|
-
* Ok
|
|
2899
|
-
*/
|
|
2900
|
-
200: Array<GameMedia>;
|
|
2901
|
-
};
|
|
2520
|
+
export type GetMediaResponse = (Array<GameMedia>);
|
|
2902
2521
|
|
|
2903
|
-
export type
|
|
2522
|
+
export type GetMediaError = unknown;
|
|
2904
2523
|
|
|
2905
2524
|
export type GetWeatherData = {
|
|
2906
|
-
body?: never;
|
|
2907
|
-
path?: never;
|
|
2908
2525
|
query?: {
|
|
2909
2526
|
/**
|
|
2910
|
-
*
|
|
2527
|
+
* Optional division classification filter
|
|
2911
2528
|
*/
|
|
2912
|
-
|
|
2529
|
+
classification?: DivisionClassification;
|
|
2913
2530
|
/**
|
|
2914
|
-
* Optional
|
|
2531
|
+
* Optional conference filter
|
|
2915
2532
|
*/
|
|
2916
|
-
|
|
2533
|
+
conference?: string;
|
|
2917
2534
|
/**
|
|
2918
|
-
*
|
|
2535
|
+
* Filter for retrieving a single game
|
|
2919
2536
|
*/
|
|
2920
|
-
|
|
2537
|
+
gameId?: number;
|
|
2921
2538
|
/**
|
|
2922
|
-
* Optional
|
|
2539
|
+
* Optional season type filter
|
|
2923
2540
|
*/
|
|
2924
|
-
|
|
2541
|
+
seasonType?: SeasonType;
|
|
2925
2542
|
/**
|
|
2926
|
-
* Optional
|
|
2543
|
+
* Optional team filter
|
|
2927
2544
|
*/
|
|
2928
|
-
|
|
2545
|
+
team?: string;
|
|
2929
2546
|
/**
|
|
2930
|
-
* Optional
|
|
2547
|
+
* Optional week filter
|
|
2931
2548
|
*/
|
|
2932
|
-
|
|
2549
|
+
week?: number;
|
|
2933
2550
|
/**
|
|
2934
|
-
*
|
|
2551
|
+
* Year filter, required if game id not specified
|
|
2935
2552
|
*/
|
|
2936
|
-
|
|
2553
|
+
year?: number;
|
|
2937
2554
|
};
|
|
2938
|
-
url: '/games/weather';
|
|
2939
2555
|
};
|
|
2940
2556
|
|
|
2941
|
-
export type
|
|
2942
|
-
/**
|
|
2943
|
-
* Ok
|
|
2944
|
-
*/
|
|
2945
|
-
200: Array<GameWeather>;
|
|
2946
|
-
};
|
|
2557
|
+
export type GetWeatherResponse = (Array<GameWeather>);
|
|
2947
2558
|
|
|
2948
|
-
export type
|
|
2559
|
+
export type GetWeatherError = unknown;
|
|
2949
2560
|
|
|
2950
2561
|
export type GetRecordsData = {
|
|
2951
|
-
body?: never;
|
|
2952
|
-
path?: never;
|
|
2953
2562
|
query?: {
|
|
2954
2563
|
/**
|
|
2955
|
-
*
|
|
2564
|
+
* Optional conference filter
|
|
2956
2565
|
*/
|
|
2957
|
-
|
|
2566
|
+
conference?: string;
|
|
2958
2567
|
/**
|
|
2959
2568
|
* Team filter, required if year not specified
|
|
2960
2569
|
*/
|
|
2961
2570
|
team?: string;
|
|
2962
2571
|
/**
|
|
2963
|
-
*
|
|
2572
|
+
* Year filter, required if team not specified
|
|
2964
2573
|
*/
|
|
2965
|
-
|
|
2574
|
+
year?: number;
|
|
2966
2575
|
};
|
|
2967
|
-
url: '/records';
|
|
2968
2576
|
};
|
|
2969
2577
|
|
|
2970
|
-
export type
|
|
2971
|
-
/**
|
|
2972
|
-
* Ok
|
|
2973
|
-
*/
|
|
2974
|
-
200: Array<TeamRecords>;
|
|
2975
|
-
};
|
|
2578
|
+
export type GetRecordsResponse = (Array<TeamRecords>);
|
|
2976
2579
|
|
|
2977
|
-
export type
|
|
2580
|
+
export type GetRecordsError = unknown;
|
|
2978
2581
|
|
|
2979
2582
|
export type GetCalendarData = {
|
|
2980
|
-
body?: never;
|
|
2981
|
-
path?: never;
|
|
2982
2583
|
query: {
|
|
2983
2584
|
/**
|
|
2984
2585
|
* Required year filter
|
|
2985
2586
|
*/
|
|
2986
2587
|
year: number;
|
|
2987
2588
|
};
|
|
2988
|
-
url: '/calendar';
|
|
2989
2589
|
};
|
|
2990
2590
|
|
|
2991
|
-
export type
|
|
2992
|
-
/**
|
|
2993
|
-
* Ok
|
|
2994
|
-
*/
|
|
2995
|
-
200: Array<CalendarWeek>;
|
|
2996
|
-
};
|
|
2591
|
+
export type GetCalendarResponse = (Array<CalendarWeek>);
|
|
2997
2592
|
|
|
2998
|
-
export type
|
|
2593
|
+
export type GetCalendarError = unknown;
|
|
2999
2594
|
|
|
3000
2595
|
export type GetScoreboardData = {
|
|
3001
|
-
body?: never;
|
|
3002
|
-
path?: never;
|
|
3003
2596
|
query?: {
|
|
3004
2597
|
/**
|
|
3005
2598
|
* Optional division classification filter, defaults to fbs
|
|
@@ -3010,147 +2603,99 @@ export type GetScoreboardData = {
|
|
|
3010
2603
|
*/
|
|
3011
2604
|
conference?: string;
|
|
3012
2605
|
};
|
|
3013
|
-
url: '/scoreboard';
|
|
3014
2606
|
};
|
|
3015
2607
|
|
|
3016
|
-
export type
|
|
3017
|
-
/**
|
|
3018
|
-
* Ok
|
|
3019
|
-
*/
|
|
3020
|
-
200: Array<ScoreboardGame>;
|
|
3021
|
-
};
|
|
2608
|
+
export type GetScoreboardResponse = (Array<ScoreboardGame>);
|
|
3022
2609
|
|
|
3023
|
-
export type
|
|
2610
|
+
export type GetScoreboardError = unknown;
|
|
3024
2611
|
|
|
3025
2612
|
export type GetDrivesData = {
|
|
3026
|
-
body?: never;
|
|
3027
|
-
path?: never;
|
|
3028
2613
|
query: {
|
|
3029
2614
|
/**
|
|
3030
|
-
*
|
|
2615
|
+
* Optional division classification filter
|
|
3031
2616
|
*/
|
|
3032
|
-
|
|
2617
|
+
classification?: DivisionClassification;
|
|
3033
2618
|
/**
|
|
3034
|
-
* Optional
|
|
2619
|
+
* Optional conference filter
|
|
3035
2620
|
*/
|
|
3036
|
-
|
|
2621
|
+
conference?: string;
|
|
3037
2622
|
/**
|
|
3038
|
-
* Optional
|
|
2623
|
+
* Optional defensive team filter
|
|
3039
2624
|
*/
|
|
3040
|
-
|
|
2625
|
+
defense?: string;
|
|
3041
2626
|
/**
|
|
3042
|
-
* Optional team filter
|
|
2627
|
+
* Optional defensive team conference filter
|
|
3043
2628
|
*/
|
|
3044
|
-
|
|
2629
|
+
defenseConference?: string;
|
|
3045
2630
|
/**
|
|
3046
2631
|
* Optional offensive team filter
|
|
3047
2632
|
*/
|
|
3048
2633
|
offense?: string;
|
|
3049
2634
|
/**
|
|
3050
|
-
* Optional
|
|
2635
|
+
* Optional offensive team conference filter
|
|
3051
2636
|
*/
|
|
3052
|
-
|
|
2637
|
+
offenseConference?: string;
|
|
3053
2638
|
/**
|
|
3054
|
-
* Optional
|
|
2639
|
+
* Optional season type filter
|
|
3055
2640
|
*/
|
|
3056
|
-
|
|
2641
|
+
seasonType?: SeasonType;
|
|
3057
2642
|
/**
|
|
3058
|
-
* Optional
|
|
2643
|
+
* Optional team filter
|
|
3059
2644
|
*/
|
|
3060
|
-
|
|
2645
|
+
team?: string;
|
|
3061
2646
|
/**
|
|
3062
|
-
* Optional
|
|
2647
|
+
* Optional week filter
|
|
3063
2648
|
*/
|
|
3064
|
-
|
|
2649
|
+
week?: number;
|
|
3065
2650
|
/**
|
|
3066
|
-
*
|
|
2651
|
+
* Required year filter
|
|
3067
2652
|
*/
|
|
3068
|
-
|
|
2653
|
+
year: number;
|
|
3069
2654
|
};
|
|
3070
|
-
url: '/drives';
|
|
3071
|
-
};
|
|
3072
|
-
|
|
3073
|
-
export type GetDrivesResponses = {
|
|
3074
|
-
/**
|
|
3075
|
-
* Ok
|
|
3076
|
-
*/
|
|
3077
|
-
200: Array<Drive>;
|
|
3078
2655
|
};
|
|
3079
2656
|
|
|
3080
|
-
export type GetDrivesResponse =
|
|
3081
|
-
|
|
3082
|
-
export type GetDraftTeamsData = {
|
|
3083
|
-
body?: never;
|
|
3084
|
-
path?: never;
|
|
3085
|
-
query?: never;
|
|
3086
|
-
url: '/draft/teams';
|
|
3087
|
-
};
|
|
2657
|
+
export type GetDrivesResponse = (Array<Drive>);
|
|
3088
2658
|
|
|
3089
|
-
export type
|
|
3090
|
-
/**
|
|
3091
|
-
* Ok
|
|
3092
|
-
*/
|
|
3093
|
-
200: Array<DraftTeam>;
|
|
3094
|
-
};
|
|
2659
|
+
export type GetDrivesError = unknown;
|
|
3095
2660
|
|
|
3096
|
-
export type GetDraftTeamsResponse =
|
|
2661
|
+
export type GetDraftTeamsResponse = (Array<DraftTeam>);
|
|
3097
2662
|
|
|
3098
|
-
export type
|
|
3099
|
-
body?: never;
|
|
3100
|
-
path?: never;
|
|
3101
|
-
query?: never;
|
|
3102
|
-
url: '/draft/positions';
|
|
3103
|
-
};
|
|
2663
|
+
export type GetDraftTeamsError = unknown;
|
|
3104
2664
|
|
|
3105
|
-
export type
|
|
3106
|
-
/**
|
|
3107
|
-
* Ok
|
|
3108
|
-
*/
|
|
3109
|
-
200: Array<DraftPosition>;
|
|
3110
|
-
};
|
|
2665
|
+
export type GetDraftPositionsResponse = (Array<DraftPosition>);
|
|
3111
2666
|
|
|
3112
|
-
export type
|
|
2667
|
+
export type GetDraftPositionsError = unknown;
|
|
3113
2668
|
|
|
3114
2669
|
export type GetDraftPicksData = {
|
|
3115
|
-
body?: never;
|
|
3116
|
-
path?: never;
|
|
3117
2670
|
query?: {
|
|
3118
2671
|
/**
|
|
3119
|
-
* Optional
|
|
2672
|
+
* Optional college conference filter
|
|
3120
2673
|
*/
|
|
3121
|
-
|
|
2674
|
+
conference?: string;
|
|
3122
2675
|
/**
|
|
3123
|
-
* Optional
|
|
2676
|
+
* Optional position classification filter
|
|
3124
2677
|
*/
|
|
3125
|
-
|
|
2678
|
+
position?: string;
|
|
3126
2679
|
/**
|
|
3127
2680
|
* Optional college team filter
|
|
3128
2681
|
*/
|
|
3129
2682
|
school?: string;
|
|
3130
2683
|
/**
|
|
3131
|
-
* Optional
|
|
2684
|
+
* Optional NFL team filter
|
|
3132
2685
|
*/
|
|
3133
|
-
|
|
2686
|
+
team?: string;
|
|
3134
2687
|
/**
|
|
3135
|
-
* Optional
|
|
2688
|
+
* Optional year filter
|
|
3136
2689
|
*/
|
|
3137
|
-
|
|
2690
|
+
year?: number;
|
|
3138
2691
|
};
|
|
3139
|
-
url: '/draft/picks';
|
|
3140
2692
|
};
|
|
3141
2693
|
|
|
3142
|
-
export type
|
|
3143
|
-
/**
|
|
3144
|
-
* Ok
|
|
3145
|
-
*/
|
|
3146
|
-
200: Array<DraftPick>;
|
|
3147
|
-
};
|
|
2694
|
+
export type GetDraftPicksResponse = (Array<DraftPick>);
|
|
3148
2695
|
|
|
3149
|
-
export type
|
|
2696
|
+
export type GetDraftPicksError = unknown;
|
|
3150
2697
|
|
|
3151
2698
|
export type GetCoachesData = {
|
|
3152
|
-
body?: never;
|
|
3153
|
-
path?: never;
|
|
3154
2699
|
query?: {
|
|
3155
2700
|
/**
|
|
3156
2701
|
* Optional first name filter
|
|
@@ -3161,51 +2706,37 @@ export type GetCoachesData = {
|
|
|
3161
2706
|
*/
|
|
3162
2707
|
lastName?: string;
|
|
3163
2708
|
/**
|
|
3164
|
-
* Optional
|
|
3165
|
-
*/
|
|
3166
|
-
team?: string;
|
|
3167
|
-
/**
|
|
3168
|
-
* Optional year filter
|
|
2709
|
+
* Optional end year range filter
|
|
3169
2710
|
*/
|
|
3170
|
-
|
|
2711
|
+
maxYear?: number;
|
|
3171
2712
|
/**
|
|
3172
2713
|
* Optional start year range filter
|
|
3173
2714
|
*/
|
|
3174
2715
|
minYear?: number;
|
|
3175
2716
|
/**
|
|
3176
|
-
* Optional
|
|
2717
|
+
* Optional team filter
|
|
3177
2718
|
*/
|
|
3178
|
-
|
|
2719
|
+
team?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
* Optional year filter
|
|
2722
|
+
*/
|
|
2723
|
+
year?: number;
|
|
3179
2724
|
};
|
|
3180
|
-
url: '/coaches';
|
|
3181
2725
|
};
|
|
3182
2726
|
|
|
3183
|
-
export type
|
|
3184
|
-
/**
|
|
3185
|
-
* Ok
|
|
3186
|
-
*/
|
|
3187
|
-
200: Array<Coach>;
|
|
3188
|
-
};
|
|
2727
|
+
export type GetCoachesResponse = (Array<Coach>);
|
|
3189
2728
|
|
|
3190
|
-
export type
|
|
2729
|
+
export type GetCoachesError = unknown;
|
|
3191
2730
|
|
|
3192
2731
|
export type GetAdvancedBoxScoreData = {
|
|
3193
|
-
body?: never;
|
|
3194
|
-
path?: never;
|
|
3195
2732
|
query: {
|
|
3196
2733
|
/**
|
|
3197
2734
|
* Required game id filter
|
|
3198
2735
|
*/
|
|
3199
2736
|
id: number;
|
|
3200
2737
|
};
|
|
3201
|
-
url: '/game/box/advanced';
|
|
3202
2738
|
};
|
|
3203
2739
|
|
|
3204
|
-
export type
|
|
3205
|
-
/**
|
|
3206
|
-
* Ok
|
|
3207
|
-
*/
|
|
3208
|
-
200: AdvancedBoxScore;
|
|
3209
|
-
};
|
|
2740
|
+
export type GetAdvancedBoxScoreResponse = (AdvancedBoxScore);
|
|
3210
2741
|
|
|
3211
|
-
export type
|
|
2742
|
+
export type GetAdvancedBoxScoreError = unknown;
|