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