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