cfbd 5.3.2-alpha.0 → 5.4.4-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.4-alpha.0.tgz +0 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/{services.gen.d.ts → sdk.gen.d.ts} +59 -59
- package/dist/types.gen.d.ts +863 -861
- package/package.json +6 -5
- package/src/index.ts +1 -2
- package/src/sdk.gen.ts +576 -0
- package/src/types.gen.ts +870 -868
- package/cfbd-5.3.2-alpha.0.tgz +0 -0
- package/dist/schemas.gen.d.ts +0 -4961
- package/dist/schemas.gen.js +0 -4989
- package/src/schemas.gen.ts +0 -5072
- package/src/services.gen.ts +0 -462
- /package/dist/{services.gen.js → sdk.gen.js} +0 -0
package/dist/types.gen.d.ts
CHANGED
|
@@ -38,170 +38,61 @@ export type AdjustedTeamMetrics = {
|
|
|
38
38
|
explosiveness: number;
|
|
39
39
|
explosivenessAllowed: number;
|
|
40
40
|
};
|
|
41
|
-
export type
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
countryCode: (string) | null;
|
|
67
|
-
timezone: (string) | null;
|
|
68
|
-
latitude: (number) | null;
|
|
69
|
-
longitude: (number) | null;
|
|
70
|
-
elevation: (string) | null;
|
|
71
|
-
capacity: (number) | null;
|
|
72
|
-
constructionYear: (number) | null;
|
|
73
|
-
grass?: (boolean) | null;
|
|
74
|
-
dome?: (boolean) | null;
|
|
75
|
-
};
|
|
76
|
-
export type Team = {
|
|
77
|
-
id: number;
|
|
78
|
-
school: string;
|
|
79
|
-
mascot: (string) | null;
|
|
80
|
-
abbreviation: (string) | null;
|
|
81
|
-
alternateNames: Array<(string)> | null;
|
|
82
|
-
conference: (string) | null;
|
|
83
|
-
division: (string) | null;
|
|
84
|
-
classification: (string) | null;
|
|
85
|
-
color: (string) | null;
|
|
86
|
-
alternateColor: (string) | null;
|
|
87
|
-
logos: Array<(string)> | null;
|
|
88
|
-
twitter: (string) | null;
|
|
89
|
-
location: ((Venue) | null);
|
|
41
|
+
export type AdvancedBoxScore = {
|
|
42
|
+
gameInfo: {
|
|
43
|
+
excitement: number;
|
|
44
|
+
homeWinner: boolean;
|
|
45
|
+
awayWinProb: number;
|
|
46
|
+
awayPoints: number;
|
|
47
|
+
awayTeam: string;
|
|
48
|
+
homeWinProb: number;
|
|
49
|
+
homePoints: number;
|
|
50
|
+
homeTeam: string;
|
|
51
|
+
};
|
|
52
|
+
teams: {
|
|
53
|
+
fieldPosition: Array<TeamFieldPosition>;
|
|
54
|
+
scoringOpportunities: Array<TeamScoringOpportunities>;
|
|
55
|
+
havoc: Array<TeamHavoc>;
|
|
56
|
+
rushing: Array<TeamRushingStats>;
|
|
57
|
+
explosiveness: Array<TeamExplosiveness>;
|
|
58
|
+
successRates: Array<TeamSuccessRates>;
|
|
59
|
+
cumulativePpa: Array<TeamPPA>;
|
|
60
|
+
ppa: Array<TeamPPA>;
|
|
61
|
+
};
|
|
62
|
+
players: {
|
|
63
|
+
ppa: Array<PlayerPPA>;
|
|
64
|
+
usage: Array<PlayerGameUsage>;
|
|
65
|
+
};
|
|
90
66
|
};
|
|
91
|
-
export type
|
|
67
|
+
export type AdvancedGameStat = {
|
|
68
|
+
gameId: number;
|
|
92
69
|
season: number;
|
|
93
70
|
week: number;
|
|
94
|
-
seasonType: string;
|
|
95
|
-
date: string;
|
|
96
|
-
neutralSite: boolean;
|
|
97
|
-
venue: string;
|
|
98
|
-
homeTeam: string;
|
|
99
|
-
homeScore: number;
|
|
100
|
-
awayTeam: string;
|
|
101
|
-
awayScore: number;
|
|
102
|
-
winner: (string) | null;
|
|
103
|
-
};
|
|
104
|
-
export type Matchup = {
|
|
105
|
-
team1: string;
|
|
106
|
-
team2: string;
|
|
107
|
-
startYear?: number;
|
|
108
|
-
endYear?: number;
|
|
109
|
-
team1Wins: number;
|
|
110
|
-
team2Wins: number;
|
|
111
|
-
ties: number;
|
|
112
|
-
games: Array<MatchupGame>;
|
|
113
|
-
};
|
|
114
|
-
export type RosterPlayer = {
|
|
115
|
-
id: string;
|
|
116
|
-
firstName: string;
|
|
117
|
-
lastName: string;
|
|
118
|
-
team: string;
|
|
119
|
-
height: (number) | null;
|
|
120
|
-
weight: (number) | null;
|
|
121
|
-
jersey: (number) | null;
|
|
122
|
-
year: number;
|
|
123
|
-
position: (string) | null;
|
|
124
|
-
homeCity: (string) | null;
|
|
125
|
-
homeState: (string) | null;
|
|
126
|
-
homeCountry: (string) | null;
|
|
127
|
-
homeLatitude: (number) | null;
|
|
128
|
-
homeLongitude: (number) | null;
|
|
129
|
-
homeCountyFIPS: (string) | null;
|
|
130
|
-
recruitIds: Array<(string)> | null;
|
|
131
|
-
};
|
|
132
|
-
export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
|
|
133
|
-
export type Conference = {
|
|
134
|
-
id: number;
|
|
135
|
-
name: string;
|
|
136
|
-
shortName: (string) | null;
|
|
137
|
-
abbreviation: (string) | null;
|
|
138
|
-
classification: ((DivisionClassification) | null);
|
|
139
|
-
};
|
|
140
|
-
export type TeamTalent = {
|
|
141
|
-
year: number;
|
|
142
|
-
team: string;
|
|
143
|
-
talent: number;
|
|
144
|
-
};
|
|
145
|
-
export type PlayerStat = {
|
|
146
|
-
season: number;
|
|
147
|
-
playerId: string;
|
|
148
|
-
player: string;
|
|
149
|
-
team: string;
|
|
150
|
-
conference: string;
|
|
151
|
-
category: string;
|
|
152
|
-
statType: string;
|
|
153
|
-
stat: number;
|
|
154
|
-
};
|
|
155
|
-
export type SeasonType = 'regular' | 'postseason' | 'both' | 'allstar' | 'spring_regular' | 'spring_postseason';
|
|
156
|
-
export type TeamStat = {
|
|
157
|
-
season: number;
|
|
158
|
-
team: string;
|
|
159
|
-
conference: string;
|
|
160
|
-
statName: string;
|
|
161
|
-
statValue: (string | number);
|
|
162
|
-
};
|
|
163
|
-
export type AdvancedSeasonStat = {
|
|
164
|
-
season: number;
|
|
165
71
|
team: string;
|
|
166
|
-
|
|
72
|
+
opponent: string;
|
|
167
73
|
offense: {
|
|
168
74
|
passingPlays: {
|
|
169
75
|
explosiveness: number;
|
|
170
76
|
successRate: number;
|
|
171
77
|
totalPPA: number;
|
|
172
78
|
ppa: number;
|
|
173
|
-
rate: number;
|
|
174
79
|
};
|
|
175
80
|
rushingPlays: {
|
|
176
81
|
explosiveness: number;
|
|
177
82
|
successRate: number;
|
|
178
83
|
totalPPA: number;
|
|
179
84
|
ppa: number;
|
|
180
|
-
rate: number;
|
|
181
85
|
};
|
|
182
86
|
passingDowns: {
|
|
183
87
|
explosiveness: number;
|
|
184
88
|
successRate: number;
|
|
185
89
|
ppa: number;
|
|
186
|
-
rate: number;
|
|
187
90
|
};
|
|
188
91
|
standardDowns: {
|
|
189
92
|
explosiveness: number;
|
|
190
93
|
successRate: number;
|
|
191
94
|
ppa: number;
|
|
192
|
-
rate: number;
|
|
193
|
-
};
|
|
194
|
-
havoc: {
|
|
195
|
-
db: (number) | null;
|
|
196
|
-
frontSeven: (number) | null;
|
|
197
|
-
total: (number) | null;
|
|
198
|
-
};
|
|
199
|
-
fieldPosition: {
|
|
200
|
-
averagePredictedPoints: (number) | null;
|
|
201
|
-
averageStart: (number) | null;
|
|
202
95
|
};
|
|
203
|
-
pointsPerOpportunity: number;
|
|
204
|
-
totalOpportunies: number;
|
|
205
96
|
openFieldYardsTotal: number;
|
|
206
97
|
openFieldYards: number;
|
|
207
98
|
secondLevelYardsTotal: number;
|
|
@@ -223,39 +114,23 @@ export type AdvancedSeasonStat = {
|
|
|
223
114
|
successRate: number;
|
|
224
115
|
totalPPA: number;
|
|
225
116
|
ppa: number;
|
|
226
|
-
rate: number;
|
|
227
117
|
};
|
|
228
118
|
rushingPlays: {
|
|
229
119
|
explosiveness: number;
|
|
230
120
|
successRate: number;
|
|
231
121
|
totalPPA: number;
|
|
232
122
|
ppa: number;
|
|
233
|
-
rate: number;
|
|
234
123
|
};
|
|
235
124
|
passingDowns: {
|
|
236
125
|
explosiveness: number;
|
|
237
126
|
successRate: number;
|
|
238
|
-
totalPPA: number;
|
|
239
127
|
ppa: number;
|
|
240
|
-
rate: number;
|
|
241
128
|
};
|
|
242
129
|
standardDowns: {
|
|
243
130
|
explosiveness: number;
|
|
244
131
|
successRate: number;
|
|
245
132
|
ppa: number;
|
|
246
|
-
rate: number;
|
|
247
|
-
};
|
|
248
|
-
havoc: {
|
|
249
|
-
db: (number) | null;
|
|
250
|
-
frontSeven: (number) | null;
|
|
251
|
-
total: (number) | null;
|
|
252
|
-
};
|
|
253
|
-
fieldPosition: {
|
|
254
|
-
averagePredictedPoints: (number) | null;
|
|
255
|
-
averageStart: (number) | null;
|
|
256
133
|
};
|
|
257
|
-
pointsPerOpportunity: number;
|
|
258
|
-
totalOpportunies: number;
|
|
259
134
|
openFieldYardsTotal: number;
|
|
260
135
|
openFieldYards: number;
|
|
261
136
|
secondLevelYardsTotal: number;
|
|
@@ -272,35 +147,48 @@ export type AdvancedSeasonStat = {
|
|
|
272
147
|
plays: number;
|
|
273
148
|
};
|
|
274
149
|
};
|
|
275
|
-
export type
|
|
276
|
-
gameId: number;
|
|
150
|
+
export type AdvancedSeasonStat = {
|
|
277
151
|
season: number;
|
|
278
|
-
week: number;
|
|
279
152
|
team: string;
|
|
280
|
-
|
|
153
|
+
conference: string;
|
|
281
154
|
offense: {
|
|
282
155
|
passingPlays: {
|
|
283
156
|
explosiveness: number;
|
|
284
157
|
successRate: number;
|
|
285
158
|
totalPPA: number;
|
|
286
159
|
ppa: number;
|
|
160
|
+
rate: number;
|
|
287
161
|
};
|
|
288
162
|
rushingPlays: {
|
|
289
163
|
explosiveness: number;
|
|
290
164
|
successRate: number;
|
|
291
165
|
totalPPA: number;
|
|
292
166
|
ppa: number;
|
|
167
|
+
rate: number;
|
|
293
168
|
};
|
|
294
169
|
passingDowns: {
|
|
295
170
|
explosiveness: number;
|
|
296
171
|
successRate: number;
|
|
297
172
|
ppa: number;
|
|
173
|
+
rate: number;
|
|
298
174
|
};
|
|
299
175
|
standardDowns: {
|
|
300
176
|
explosiveness: number;
|
|
301
177
|
successRate: number;
|
|
302
178
|
ppa: number;
|
|
179
|
+
rate: number;
|
|
180
|
+
};
|
|
181
|
+
havoc: {
|
|
182
|
+
db: (number) | null;
|
|
183
|
+
frontSeven: (number) | null;
|
|
184
|
+
total: (number) | null;
|
|
185
|
+
};
|
|
186
|
+
fieldPosition: {
|
|
187
|
+
averagePredictedPoints: (number) | null;
|
|
188
|
+
averageStart: (number) | null;
|
|
303
189
|
};
|
|
190
|
+
pointsPerOpportunity: number;
|
|
191
|
+
totalOpportunies: number;
|
|
304
192
|
openFieldYardsTotal: number;
|
|
305
193
|
openFieldYards: number;
|
|
306
194
|
secondLevelYardsTotal: number;
|
|
@@ -322,23 +210,39 @@ export type AdvancedGameStat = {
|
|
|
322
210
|
successRate: number;
|
|
323
211
|
totalPPA: number;
|
|
324
212
|
ppa: number;
|
|
213
|
+
rate: number;
|
|
325
214
|
};
|
|
326
215
|
rushingPlays: {
|
|
327
216
|
explosiveness: number;
|
|
328
217
|
successRate: number;
|
|
329
218
|
totalPPA: number;
|
|
330
219
|
ppa: number;
|
|
220
|
+
rate: number;
|
|
331
221
|
};
|
|
332
222
|
passingDowns: {
|
|
333
223
|
explosiveness: number;
|
|
334
224
|
successRate: number;
|
|
225
|
+
totalPPA: number;
|
|
335
226
|
ppa: number;
|
|
227
|
+
rate: number;
|
|
336
228
|
};
|
|
337
229
|
standardDowns: {
|
|
338
230
|
explosiveness: number;
|
|
339
231
|
successRate: number;
|
|
340
232
|
ppa: number;
|
|
233
|
+
rate: number;
|
|
234
|
+
};
|
|
235
|
+
havoc: {
|
|
236
|
+
db: (number) | null;
|
|
237
|
+
frontSeven: (number) | null;
|
|
238
|
+
total: (number) | null;
|
|
239
|
+
};
|
|
240
|
+
fieldPosition: {
|
|
241
|
+
averagePredictedPoints: (number) | null;
|
|
242
|
+
averageStart: (number) | null;
|
|
341
243
|
};
|
|
244
|
+
pointsPerOpportunity: number;
|
|
245
|
+
totalOpportunies: number;
|
|
342
246
|
openFieldYardsTotal: number;
|
|
343
247
|
openFieldYards: number;
|
|
344
248
|
secondLevelYardsTotal: number;
|
|
@@ -355,36 +259,6 @@ export type AdvancedGameStat = {
|
|
|
355
259
|
plays: number;
|
|
356
260
|
};
|
|
357
261
|
};
|
|
358
|
-
export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
|
|
359
|
-
export type Recruit = {
|
|
360
|
-
id: string;
|
|
361
|
-
athleteId: (string) | null;
|
|
362
|
-
recruitType: RecruitClassification;
|
|
363
|
-
year: number;
|
|
364
|
-
ranking: (number) | null;
|
|
365
|
-
name: string;
|
|
366
|
-
school: (string) | null;
|
|
367
|
-
committedTo: (string) | null;
|
|
368
|
-
position: (string) | null;
|
|
369
|
-
height: (number) | null;
|
|
370
|
-
weight: (number) | null;
|
|
371
|
-
stars: number;
|
|
372
|
-
rating: number;
|
|
373
|
-
city: (string) | null;
|
|
374
|
-
stateProvince: (string) | null;
|
|
375
|
-
country: (string) | null;
|
|
376
|
-
hometownInfo: {
|
|
377
|
-
fipsCode: (string) | null;
|
|
378
|
-
longitude: (number) | null;
|
|
379
|
-
latitude: (number) | null;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
export type TeamRecruitingRanking = {
|
|
383
|
-
year: number;
|
|
384
|
-
rank: number;
|
|
385
|
-
team: string;
|
|
386
|
-
points: number;
|
|
387
|
-
};
|
|
388
262
|
export type AggregatedTeamRecruiting = {
|
|
389
263
|
team: string;
|
|
390
264
|
conference: string;
|
|
@@ -394,44 +268,63 @@ export type AggregatedTeamRecruiting = {
|
|
|
394
268
|
commits: number;
|
|
395
269
|
averageStars: number;
|
|
396
270
|
};
|
|
397
|
-
export type
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
271
|
+
export type BettingGame = {
|
|
272
|
+
id: number;
|
|
273
|
+
season: number;
|
|
274
|
+
seasonType: SeasonType;
|
|
275
|
+
week: number;
|
|
276
|
+
startDate: string;
|
|
277
|
+
homeTeam: string;
|
|
278
|
+
homeConference: (string) | null;
|
|
279
|
+
homeClassification: ((DivisionClassification) | null);
|
|
280
|
+
homeScore: (number) | null;
|
|
281
|
+
awayTeam: string;
|
|
282
|
+
awayConference: (string) | null;
|
|
283
|
+
awayClassification: ((DivisionClassification) | null);
|
|
284
|
+
awayScore: (number) | null;
|
|
285
|
+
lines: Array<GameLine>;
|
|
286
|
+
};
|
|
287
|
+
export type CalendarWeek = {
|
|
288
|
+
season: number;
|
|
289
|
+
week: number;
|
|
290
|
+
seasonType: SeasonType;
|
|
291
|
+
startDate: string;
|
|
292
|
+
endDate: string;
|
|
293
|
+
/**
|
|
294
|
+
* @deprecated
|
|
295
|
+
*/
|
|
296
|
+
firstGameStart: string;
|
|
297
|
+
/**
|
|
298
|
+
* @deprecated
|
|
299
|
+
*/
|
|
300
|
+
lastGameStart: string;
|
|
301
|
+
};
|
|
302
|
+
export type Coach = {
|
|
303
|
+
firstName: string;
|
|
304
|
+
lastName: string;
|
|
305
|
+
hireDate: (string) | null;
|
|
306
|
+
seasons: Array<CoachSeason>;
|
|
307
|
+
};
|
|
308
|
+
export type CoachSeason = {
|
|
309
|
+
school: string;
|
|
310
|
+
year: number;
|
|
311
|
+
games: number;
|
|
312
|
+
wins: number;
|
|
313
|
+
losses: number;
|
|
314
|
+
ties: number;
|
|
315
|
+
preseasonRank: (number) | null;
|
|
316
|
+
postseasonRank: (number) | null;
|
|
317
|
+
srs: (number) | null;
|
|
318
|
+
spOverall: (number) | null;
|
|
319
|
+
spOffense: (number) | null;
|
|
320
|
+
spDefense: (number) | null;
|
|
321
|
+
};
|
|
322
|
+
export type Conference = {
|
|
323
|
+
id: number;
|
|
324
|
+
name: string;
|
|
325
|
+
shortName: (string) | null;
|
|
326
|
+
abbreviation: (string) | null;
|
|
327
|
+
classification: ((DivisionClassification) | null);
|
|
435
328
|
};
|
|
436
329
|
export type ConferenceSP = {
|
|
437
330
|
year: number;
|
|
@@ -468,247 +361,354 @@ export type ConferenceSP = {
|
|
|
468
361
|
rating: (number) | null;
|
|
469
362
|
};
|
|
470
363
|
};
|
|
471
|
-
export type
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
year: number;
|
|
481
|
-
team: string;
|
|
482
|
-
conference: string;
|
|
483
|
-
elo: (number) | null;
|
|
484
|
-
};
|
|
485
|
-
export type TeamFPI = {
|
|
364
|
+
export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
|
|
365
|
+
export type DraftPick = {
|
|
366
|
+
collegeAthleteId: (number) | null;
|
|
367
|
+
nflAthleteId: number;
|
|
368
|
+
collegeId: number;
|
|
369
|
+
collegeTeam: string;
|
|
370
|
+
collegeConference: (string) | null;
|
|
371
|
+
nflTeamId: number;
|
|
372
|
+
nflTeam: string;
|
|
486
373
|
year: number;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
374
|
+
overall: number;
|
|
375
|
+
round: number;
|
|
376
|
+
pick: number;
|
|
377
|
+
name: string;
|
|
378
|
+
position: string;
|
|
379
|
+
height: (number) | null;
|
|
380
|
+
weight: (number) | null;
|
|
381
|
+
preDraftRanking: (number) | null;
|
|
382
|
+
preDraftPositionRanking: (number) | null;
|
|
383
|
+
preDraftGrade: (number) | null;
|
|
384
|
+
hometownInfo: {
|
|
385
|
+
countyFips: (string) | null;
|
|
386
|
+
longitude: (string) | null;
|
|
387
|
+
latitude: (string) | null;
|
|
388
|
+
country: (string) | null;
|
|
389
|
+
state: (string) | null;
|
|
390
|
+
city: (string) | null;
|
|
503
391
|
};
|
|
504
392
|
};
|
|
505
|
-
export type
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
conference: (string) | null;
|
|
509
|
-
firstPlaceVotes: (number) | null;
|
|
510
|
-
points: (number) | null;
|
|
511
|
-
};
|
|
512
|
-
export type Poll = {
|
|
513
|
-
poll: string;
|
|
514
|
-
ranks: Array<PollRank>;
|
|
393
|
+
export type DraftPosition = {
|
|
394
|
+
name: string;
|
|
395
|
+
abbreviation: string;
|
|
515
396
|
};
|
|
516
|
-
export type
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
397
|
+
export type DraftTeam = {
|
|
398
|
+
location: string;
|
|
399
|
+
nickname: (string) | null;
|
|
400
|
+
displayName: (string) | null;
|
|
401
|
+
logo: (string) | null;
|
|
521
402
|
};
|
|
522
|
-
export type
|
|
523
|
-
id: string;
|
|
524
|
-
driveId: string;
|
|
525
|
-
gameId: number;
|
|
526
|
-
driveNumber: (number) | null;
|
|
527
|
-
playNumber: (number) | null;
|
|
403
|
+
export type Drive = {
|
|
528
404
|
offense: string;
|
|
529
405
|
offenseConference: (string) | null;
|
|
530
|
-
offenseScore: number;
|
|
531
406
|
defense: string;
|
|
532
|
-
home: string;
|
|
533
|
-
away: string;
|
|
534
407
|
defenseConference: (string) | null;
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
408
|
+
gameId: number;
|
|
409
|
+
id: string;
|
|
410
|
+
driveNumber: (number) | null;
|
|
411
|
+
scoring: boolean;
|
|
412
|
+
startPeriod: number;
|
|
413
|
+
startYardline: number;
|
|
414
|
+
startYardsToGoal: number;
|
|
415
|
+
startTime: {
|
|
538
416
|
seconds: (number) | null;
|
|
539
417
|
minutes: (number) | null;
|
|
540
418
|
};
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
down: number;
|
|
546
|
-
distance: number;
|
|
547
|
-
yardsGained: number;
|
|
548
|
-
scoring: boolean;
|
|
549
|
-
playType: string;
|
|
550
|
-
playText: (string) | null;
|
|
551
|
-
ppa: (number) | null;
|
|
552
|
-
wallclock: (string) | null;
|
|
553
|
-
};
|
|
554
|
-
export type PlayType = {
|
|
555
|
-
id: number;
|
|
556
|
-
text: string;
|
|
557
|
-
abbreviation: (string) | null;
|
|
558
|
-
};
|
|
559
|
-
export type PlayStat = {
|
|
560
|
-
gameId: number;
|
|
561
|
-
season: number;
|
|
562
|
-
week: number;
|
|
563
|
-
team: string;
|
|
564
|
-
conference: string;
|
|
565
|
-
opponent: string;
|
|
566
|
-
teamScore: number;
|
|
567
|
-
opponentScore: number;
|
|
568
|
-
driveId: string;
|
|
569
|
-
playId: string;
|
|
570
|
-
period: number;
|
|
571
|
-
clock: {
|
|
419
|
+
endPeriod: number;
|
|
420
|
+
endYardline: number;
|
|
421
|
+
endYardsToGoal: number;
|
|
422
|
+
endTime: {
|
|
572
423
|
seconds: (number) | null;
|
|
573
424
|
minutes: (number) | null;
|
|
574
425
|
};
|
|
426
|
+
plays: number;
|
|
427
|
+
yards: number;
|
|
428
|
+
driveResult: string;
|
|
429
|
+
isHomeOffense: boolean;
|
|
430
|
+
startOffenseScore: number;
|
|
431
|
+
startDefenseScore: number;
|
|
432
|
+
endOffenseScore: number;
|
|
433
|
+
endDefenseScore: number;
|
|
434
|
+
};
|
|
435
|
+
export type FieldGoalEP = {
|
|
575
436
|
yardsToGoal: number;
|
|
576
|
-
down: number;
|
|
577
437
|
distance: number;
|
|
578
|
-
|
|
579
|
-
athleteName: string;
|
|
580
|
-
statType: string;
|
|
581
|
-
stat: number;
|
|
438
|
+
expectedPoints: number;
|
|
582
439
|
};
|
|
583
|
-
export type
|
|
440
|
+
export type Game = {
|
|
584
441
|
id: number;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
442
|
+
season: number;
|
|
443
|
+
week: number;
|
|
444
|
+
seasonType: SeasonType;
|
|
445
|
+
startDate: string;
|
|
446
|
+
startTimeTBD: boolean;
|
|
447
|
+
completed: boolean;
|
|
448
|
+
neutralSite: boolean;
|
|
449
|
+
conferenceGame: boolean;
|
|
450
|
+
attendance: (number) | null;
|
|
451
|
+
venueId: (number) | null;
|
|
452
|
+
venue: (string) | null;
|
|
453
|
+
homeId: number;
|
|
454
|
+
homeTeam: string;
|
|
455
|
+
homeConference: (string) | null;
|
|
456
|
+
homeClassification: ((DivisionClassification) | null);
|
|
457
|
+
homePoints: (number) | null;
|
|
458
|
+
homeLineScores: Array<(number)> | null;
|
|
459
|
+
homePostgameWinProbability: (number) | null;
|
|
460
|
+
homePregameElo: (number) | null;
|
|
461
|
+
homePostgameElo: (number) | null;
|
|
462
|
+
awayId: number;
|
|
463
|
+
awayTeam: string;
|
|
464
|
+
awayConference: (string) | null;
|
|
465
|
+
awayClassification: ((DivisionClassification) | null);
|
|
466
|
+
awayPoints: (number) | null;
|
|
467
|
+
awayLineScores: Array<(number)> | null;
|
|
468
|
+
awayPostgameWinProbability: (number) | null;
|
|
469
|
+
awayPregameElo: (number) | null;
|
|
470
|
+
awayPostgameElo: (number) | null;
|
|
471
|
+
excitementIndex: (number) | null;
|
|
472
|
+
highlights: (string) | null;
|
|
473
|
+
notes: (string) | null;
|
|
600
474
|
};
|
|
601
|
-
export type
|
|
602
|
-
|
|
603
|
-
|
|
475
|
+
export type GameLine = {
|
|
476
|
+
provider: string;
|
|
477
|
+
spread: (number) | null;
|
|
478
|
+
formattedSpread: string;
|
|
479
|
+
spreadOpen: (number) | null;
|
|
480
|
+
overUnder: (number) | null;
|
|
481
|
+
overUnderOpen: (number) | null;
|
|
482
|
+
homeMoneyline: (number) | null;
|
|
483
|
+
awayMoneyline: (number) | null;
|
|
604
484
|
};
|
|
605
|
-
export type
|
|
485
|
+
export type GameMedia = {
|
|
486
|
+
id: number;
|
|
606
487
|
season: number;
|
|
488
|
+
week: number;
|
|
489
|
+
seasonType: SeasonType;
|
|
490
|
+
startTime: string;
|
|
491
|
+
isStartTimeTBD: boolean;
|
|
492
|
+
homeTeam: string;
|
|
493
|
+
homeConference: (string) | null;
|
|
494
|
+
awayTeam: string;
|
|
495
|
+
awayConference: (string) | null;
|
|
496
|
+
mediaType: MediaType;
|
|
497
|
+
outlet: string;
|
|
498
|
+
};
|
|
499
|
+
export type GamePlayerStatCategories = {
|
|
500
|
+
name: string;
|
|
501
|
+
types: Array<GamePlayerStatTypes>;
|
|
502
|
+
};
|
|
503
|
+
export type GamePlayerStatPlayer = {
|
|
607
504
|
id: string;
|
|
608
505
|
name: string;
|
|
609
|
-
|
|
610
|
-
team: string;
|
|
611
|
-
conference: string;
|
|
612
|
-
usage: {
|
|
613
|
-
passingDowns: number;
|
|
614
|
-
standardDowns: number;
|
|
615
|
-
thirdDown: number;
|
|
616
|
-
secondDown: number;
|
|
617
|
-
firstDown: number;
|
|
618
|
-
rush: number;
|
|
619
|
-
pass: number;
|
|
620
|
-
overall: number;
|
|
621
|
-
};
|
|
506
|
+
stat: string;
|
|
622
507
|
};
|
|
623
|
-
export type
|
|
624
|
-
|
|
508
|
+
export type GamePlayerStats = {
|
|
509
|
+
id: number;
|
|
510
|
+
teams: Array<GamePlayerStatsTeam>;
|
|
511
|
+
};
|
|
512
|
+
export type GamePlayerStatsTeam = {
|
|
625
513
|
team: string;
|
|
626
|
-
conference: string;
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
totalRushingPPA: number;
|
|
631
|
-
percentPPA: number;
|
|
632
|
-
percentPassingPPA: number;
|
|
633
|
-
percentReceivingPPA: number;
|
|
634
|
-
percentRushingPPA: number;
|
|
635
|
-
usage: number;
|
|
636
|
-
passingUsage: number;
|
|
637
|
-
receivingUsage: number;
|
|
638
|
-
rushingUsage: number;
|
|
514
|
+
conference: (string) | null;
|
|
515
|
+
homeAway: 'home' | 'away';
|
|
516
|
+
points: (number) | null;
|
|
517
|
+
categories: Array<GamePlayerStatCategories>;
|
|
639
518
|
};
|
|
640
|
-
export type
|
|
641
|
-
export type
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
lastName: string;
|
|
645
|
-
position: string;
|
|
646
|
-
origin: string;
|
|
647
|
-
destination: (string) | null;
|
|
648
|
-
transferDate: (string) | null;
|
|
649
|
-
rating: (number) | null;
|
|
650
|
-
stars: (number) | null;
|
|
651
|
-
eligibility: ((TransferEligibility) | null);
|
|
519
|
+
export type homeAway = 'home' | 'away';
|
|
520
|
+
export type GamePlayerStatTypes = {
|
|
521
|
+
name: string;
|
|
522
|
+
athletes: Array<GamePlayerStatPlayer>;
|
|
652
523
|
};
|
|
653
|
-
export type
|
|
654
|
-
|
|
655
|
-
|
|
524
|
+
export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
|
|
525
|
+
export type GameTeamStats = {
|
|
526
|
+
id: number;
|
|
527
|
+
teams: Array<GameTeamStatsTeam>;
|
|
656
528
|
};
|
|
657
|
-
export type
|
|
658
|
-
|
|
659
|
-
conference: string;
|
|
529
|
+
export type GameTeamStatsTeam = {
|
|
530
|
+
teamId: number;
|
|
660
531
|
team: string;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
total: number;
|
|
666
|
-
};
|
|
667
|
-
thirdDown: number;
|
|
668
|
-
secondDown: number;
|
|
669
|
-
firstDown: number;
|
|
670
|
-
rushing: number;
|
|
671
|
-
passing: number;
|
|
672
|
-
overall: number;
|
|
673
|
-
};
|
|
674
|
-
defense: {
|
|
675
|
-
cumulative: {
|
|
676
|
-
rushing: number;
|
|
677
|
-
passing: number;
|
|
678
|
-
total: number;
|
|
679
|
-
};
|
|
680
|
-
thirdDown: number;
|
|
681
|
-
secondDown: number;
|
|
682
|
-
firstDown: number;
|
|
683
|
-
rushing: number;
|
|
684
|
-
passing: number;
|
|
685
|
-
overall: number;
|
|
686
|
-
};
|
|
532
|
+
conference: (string) | null;
|
|
533
|
+
homeAway: 'home' | 'away';
|
|
534
|
+
points: (number) | null;
|
|
535
|
+
stats: Array<GameTeamStatsTeamStat>;
|
|
687
536
|
};
|
|
688
|
-
export type
|
|
689
|
-
|
|
537
|
+
export type GameTeamStatsTeamStat = {
|
|
538
|
+
category: string;
|
|
539
|
+
stat: string;
|
|
540
|
+
};
|
|
541
|
+
export type GameWeather = {
|
|
542
|
+
id: number;
|
|
690
543
|
season: number;
|
|
691
544
|
week: number;
|
|
692
545
|
seasonType: SeasonType;
|
|
546
|
+
startTime: string;
|
|
547
|
+
gameIndoors: boolean;
|
|
548
|
+
homeTeam: string;
|
|
549
|
+
homeConference: (string) | null;
|
|
550
|
+
awayTeam: string;
|
|
551
|
+
awayConference: (string) | null;
|
|
552
|
+
venueId: number;
|
|
553
|
+
venue: string;
|
|
554
|
+
temperature: (number) | null;
|
|
555
|
+
dewPoint: (number) | null;
|
|
556
|
+
humidity: (number) | null;
|
|
557
|
+
precipitation: (number) | null;
|
|
558
|
+
snowfall: (number) | null;
|
|
559
|
+
windDirection: (number) | null;
|
|
560
|
+
windSpeed: (number) | null;
|
|
561
|
+
pressure: (number) | null;
|
|
562
|
+
weatherConditionCode: (number) | null;
|
|
563
|
+
weatherCondition: (string) | null;
|
|
564
|
+
};
|
|
565
|
+
export type KickerPAAR = {
|
|
566
|
+
year: number;
|
|
567
|
+
athleteId: string;
|
|
568
|
+
athleteName: string;
|
|
693
569
|
team: string;
|
|
694
570
|
conference: string;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
571
|
+
paar: number;
|
|
572
|
+
attempts: number;
|
|
573
|
+
};
|
|
574
|
+
export type LiveGame = {
|
|
575
|
+
id: number;
|
|
576
|
+
status: string;
|
|
577
|
+
period: (number) | null;
|
|
578
|
+
clock: string;
|
|
579
|
+
possession: string;
|
|
580
|
+
down: (number) | null;
|
|
581
|
+
distance: (number) | null;
|
|
582
|
+
yardsToGoal: (number) | null;
|
|
583
|
+
teams: Array<LiveGameTeam>;
|
|
584
|
+
drives: Array<LiveGameDrive>;
|
|
585
|
+
};
|
|
586
|
+
export type LiveGameDrive = {
|
|
587
|
+
id: string;
|
|
588
|
+
offenseId: number;
|
|
589
|
+
offense: string;
|
|
590
|
+
defenseId: number;
|
|
591
|
+
defense: string;
|
|
592
|
+
playCount: number;
|
|
593
|
+
yards: number;
|
|
594
|
+
startPeriod: number;
|
|
595
|
+
startClock: (string) | null;
|
|
596
|
+
startYardsToGoal: number;
|
|
597
|
+
endPeriod: (number) | null;
|
|
598
|
+
endClock: (string) | null;
|
|
599
|
+
endYardsToGoal: (number) | null;
|
|
600
|
+
duration: (string) | null;
|
|
601
|
+
scoringOpportunity: boolean;
|
|
602
|
+
result: string;
|
|
603
|
+
pointsGained: number;
|
|
604
|
+
plays: Array<LiveGamePlay>;
|
|
605
|
+
};
|
|
606
|
+
export type LiveGamePlay = {
|
|
607
|
+
id: string;
|
|
608
|
+
homeScore: number;
|
|
609
|
+
awayScore: number;
|
|
610
|
+
period: number;
|
|
611
|
+
clock: string;
|
|
612
|
+
wallClock: string;
|
|
613
|
+
teamId: number;
|
|
614
|
+
team: string;
|
|
615
|
+
down: number;
|
|
616
|
+
distance: number;
|
|
617
|
+
yardsToGoal: number;
|
|
618
|
+
yardsGained: number;
|
|
619
|
+
playTypeId: number;
|
|
620
|
+
playType: string;
|
|
621
|
+
epa: (number) | null;
|
|
622
|
+
garbageTime: boolean;
|
|
623
|
+
success: boolean;
|
|
624
|
+
rushPash: 'rush' | 'pass' | 'other';
|
|
625
|
+
downType: 'passing' | 'standard';
|
|
626
|
+
playText: string;
|
|
627
|
+
};
|
|
628
|
+
export type rushPash = 'rush' | 'pass' | 'other';
|
|
629
|
+
export type downType = 'passing' | 'standard';
|
|
630
|
+
export type LiveGameTeam = {
|
|
631
|
+
teamId: number;
|
|
632
|
+
team: string;
|
|
633
|
+
homeAway: 'home' | 'away';
|
|
634
|
+
lineScores: Array<(number)>;
|
|
635
|
+
points: number;
|
|
636
|
+
drives: number;
|
|
637
|
+
scoringOpportunities: number;
|
|
638
|
+
pointsPerOpportunity: number;
|
|
639
|
+
plays: number;
|
|
640
|
+
lineYards: number;
|
|
641
|
+
lineYardsPerRush: number;
|
|
642
|
+
secondLevelYards: number;
|
|
643
|
+
secondLevelYardsPerRush: number;
|
|
644
|
+
openFieldYards: number;
|
|
645
|
+
openFieldYardsPerRush: number;
|
|
646
|
+
epaPerPlay: number;
|
|
647
|
+
totalEpa: number;
|
|
648
|
+
passingEpa: number;
|
|
649
|
+
epaPerPass: number;
|
|
650
|
+
rushingEpa: number;
|
|
651
|
+
epaPerRush: number;
|
|
652
|
+
successRate: number;
|
|
653
|
+
standardDownSuccessRate: number;
|
|
654
|
+
passingDownSuccessRate: number;
|
|
655
|
+
explosiveness: number;
|
|
656
|
+
};
|
|
657
|
+
export type Matchup = {
|
|
658
|
+
team1: string;
|
|
659
|
+
team2: string;
|
|
660
|
+
startYear?: number;
|
|
661
|
+
endYear?: number;
|
|
662
|
+
team1Wins: number;
|
|
663
|
+
team2Wins: number;
|
|
664
|
+
ties: number;
|
|
665
|
+
games: Array<MatchupGame>;
|
|
666
|
+
};
|
|
667
|
+
export type MatchupGame = {
|
|
668
|
+
season: number;
|
|
669
|
+
week: number;
|
|
670
|
+
seasonType: string;
|
|
671
|
+
date: string;
|
|
672
|
+
neutralSite: boolean;
|
|
673
|
+
venue: string;
|
|
674
|
+
homeTeam: string;
|
|
675
|
+
homeScore: number;
|
|
676
|
+
awayTeam: string;
|
|
677
|
+
awayScore: number;
|
|
678
|
+
winner: (string) | null;
|
|
679
|
+
};
|
|
680
|
+
export type MediaType = 'tv' | 'radio' | 'web' | 'ppv' | 'mobile';
|
|
681
|
+
export type Play = {
|
|
682
|
+
id: string;
|
|
683
|
+
driveId: string;
|
|
684
|
+
gameId: number;
|
|
685
|
+
driveNumber: (number) | null;
|
|
686
|
+
playNumber: (number) | null;
|
|
687
|
+
offense: string;
|
|
688
|
+
offenseConference: (string) | null;
|
|
689
|
+
offenseScore: number;
|
|
690
|
+
defense: string;
|
|
691
|
+
home: string;
|
|
692
|
+
away: string;
|
|
693
|
+
defenseConference: (string) | null;
|
|
694
|
+
defenseScore: number;
|
|
695
|
+
period: number;
|
|
696
|
+
clock: {
|
|
697
|
+
seconds: (number) | null;
|
|
698
|
+
minutes: (number) | null;
|
|
711
699
|
};
|
|
700
|
+
offenseTimeouts: (number) | null;
|
|
701
|
+
defenseTimeouts: (number) | null;
|
|
702
|
+
yardline: number;
|
|
703
|
+
yardsToGoal: number;
|
|
704
|
+
down: number;
|
|
705
|
+
distance: number;
|
|
706
|
+
yardsGained: number;
|
|
707
|
+
scoring: boolean;
|
|
708
|
+
playType: string;
|
|
709
|
+
playText: (string) | null;
|
|
710
|
+
ppa: (number) | null;
|
|
711
|
+
wallclock: (string) | null;
|
|
712
712
|
};
|
|
713
713
|
export type PlayerGamePredictedPointsAdded = {
|
|
714
714
|
season: number;
|
|
@@ -725,327 +725,271 @@ export type PlayerGamePredictedPointsAdded = {
|
|
|
725
725
|
all: number;
|
|
726
726
|
};
|
|
727
727
|
};
|
|
728
|
-
export type
|
|
728
|
+
export type PlayerGameUsage = {
|
|
729
|
+
total: number;
|
|
730
|
+
quarter1: number;
|
|
731
|
+
quarter2: number;
|
|
732
|
+
quarter3: number;
|
|
733
|
+
quarter4: number;
|
|
734
|
+
rushing: number;
|
|
735
|
+
passing: number;
|
|
736
|
+
player: string;
|
|
737
|
+
team: string;
|
|
738
|
+
position: string;
|
|
739
|
+
};
|
|
740
|
+
export type PlayerPPA = {
|
|
741
|
+
player: string;
|
|
742
|
+
team: string;
|
|
743
|
+
position: string;
|
|
744
|
+
average: PlayerStatsByQuarter;
|
|
745
|
+
cumulative: PlayerStatsByQuarter;
|
|
746
|
+
};
|
|
747
|
+
export type PlayerPPAChartItem = {
|
|
748
|
+
playNumber: number;
|
|
749
|
+
avgPPA: number;
|
|
750
|
+
};
|
|
751
|
+
export type PlayerSearchResult = {
|
|
752
|
+
id: string;
|
|
753
|
+
team: string;
|
|
754
|
+
name: string;
|
|
755
|
+
firstName: (string) | null;
|
|
756
|
+
lastName: (string) | null;
|
|
757
|
+
weight: (number) | null;
|
|
758
|
+
height: (number) | null;
|
|
759
|
+
jersey: (number) | null;
|
|
760
|
+
position: string;
|
|
761
|
+
hometown: string;
|
|
762
|
+
teamColor: string;
|
|
763
|
+
teamColorSecondary: string;
|
|
764
|
+
};
|
|
765
|
+
export type PlayerSeasonPredictedPointsAdded = {
|
|
766
|
+
season: number;
|
|
767
|
+
id: string;
|
|
768
|
+
name: string;
|
|
769
|
+
position: string;
|
|
770
|
+
team: string;
|
|
771
|
+
conference: string;
|
|
772
|
+
averagePPA: {
|
|
773
|
+
passingDowns?: number;
|
|
774
|
+
standardDowns?: number;
|
|
775
|
+
thirdDown?: number;
|
|
776
|
+
secondDown?: number;
|
|
777
|
+
firstDown?: number;
|
|
778
|
+
rush?: number;
|
|
779
|
+
pass?: number;
|
|
780
|
+
all: number;
|
|
781
|
+
};
|
|
782
|
+
totalPPA: {
|
|
783
|
+
passingDowns?: number;
|
|
784
|
+
standardDowns?: number;
|
|
785
|
+
thirdDown?: number;
|
|
786
|
+
secondDown?: number;
|
|
787
|
+
firstDown?: number;
|
|
788
|
+
rush?: number;
|
|
789
|
+
pass?: number;
|
|
790
|
+
all: number;
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
export type PlayerStat = {
|
|
794
|
+
season: number;
|
|
795
|
+
playerId: string;
|
|
796
|
+
player: string;
|
|
797
|
+
team: string;
|
|
798
|
+
conference: string;
|
|
799
|
+
category: string;
|
|
800
|
+
statType: string;
|
|
801
|
+
stat: number;
|
|
802
|
+
};
|
|
803
|
+
export type PlayerStatsByQuarter = {
|
|
804
|
+
total: number;
|
|
805
|
+
quarter1: number;
|
|
806
|
+
quarter2: number;
|
|
807
|
+
quarter3: number;
|
|
808
|
+
quarter4: number;
|
|
809
|
+
rushing: number;
|
|
810
|
+
passing: number;
|
|
811
|
+
};
|
|
812
|
+
export type PlayerTransfer = {
|
|
813
|
+
season: number;
|
|
814
|
+
firstName: string;
|
|
815
|
+
lastName: string;
|
|
816
|
+
position: string;
|
|
817
|
+
origin: string;
|
|
818
|
+
destination: (string) | null;
|
|
819
|
+
transferDate: (string) | null;
|
|
820
|
+
rating: (number) | null;
|
|
821
|
+
stars: (number) | null;
|
|
822
|
+
eligibility: ((TransferEligibility) | null);
|
|
823
|
+
};
|
|
824
|
+
export type PlayerUsage = {
|
|
729
825
|
season: number;
|
|
730
826
|
id: string;
|
|
731
827
|
name: string;
|
|
732
828
|
position: string;
|
|
733
829
|
team: string;
|
|
734
830
|
conference: string;
|
|
735
|
-
|
|
736
|
-
passingDowns
|
|
737
|
-
standardDowns
|
|
738
|
-
thirdDown
|
|
739
|
-
secondDown
|
|
740
|
-
firstDown
|
|
741
|
-
rush
|
|
742
|
-
pass
|
|
743
|
-
|
|
744
|
-
};
|
|
745
|
-
totalPPA: {
|
|
746
|
-
passingDowns?: number;
|
|
747
|
-
standardDowns?: number;
|
|
748
|
-
thirdDown?: number;
|
|
749
|
-
secondDown?: number;
|
|
750
|
-
firstDown?: number;
|
|
751
|
-
rush?: number;
|
|
752
|
-
pass?: number;
|
|
753
|
-
all: number;
|
|
831
|
+
usage: {
|
|
832
|
+
passingDowns: number;
|
|
833
|
+
standardDowns: number;
|
|
834
|
+
thirdDown: number;
|
|
835
|
+
secondDown: number;
|
|
836
|
+
firstDown: number;
|
|
837
|
+
rush: number;
|
|
838
|
+
pass: number;
|
|
839
|
+
overall: number;
|
|
754
840
|
};
|
|
755
841
|
};
|
|
756
|
-
export type
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
homeBall: boolean;
|
|
766
|
-
homeScore: number;
|
|
767
|
-
awayScore: number;
|
|
768
|
-
yardLine: number;
|
|
769
|
-
down: number;
|
|
770
|
-
distance: number;
|
|
771
|
-
homeWinProbability: number;
|
|
772
|
-
playNumber: number;
|
|
842
|
+
export type PlayerWeightedEPA = {
|
|
843
|
+
year: number;
|
|
844
|
+
athleteId: string;
|
|
845
|
+
athleteName: string;
|
|
846
|
+
position: string;
|
|
847
|
+
team: string;
|
|
848
|
+
conference: string;
|
|
849
|
+
wepa: number;
|
|
850
|
+
plays: number;
|
|
773
851
|
};
|
|
774
|
-
export type
|
|
852
|
+
export type PlayStat = {
|
|
853
|
+
gameId: number;
|
|
775
854
|
season: number;
|
|
776
|
-
seasonType: SeasonType;
|
|
777
855
|
week: number;
|
|
778
|
-
gameId: number;
|
|
779
|
-
homeTeam: string;
|
|
780
|
-
awayTeam: string;
|
|
781
|
-
spread: number;
|
|
782
|
-
homeWinProbability: number;
|
|
783
|
-
};
|
|
784
|
-
export type FieldGoalEP = {
|
|
785
|
-
yardsToGoal: number;
|
|
786
|
-
distance: number;
|
|
787
|
-
expectedPoints: number;
|
|
788
|
-
};
|
|
789
|
-
export type LiveGameTeam = {
|
|
790
|
-
teamId: number;
|
|
791
856
|
team: string;
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
plays: number;
|
|
799
|
-
lineYards: number;
|
|
800
|
-
lineYardsPerRush: number;
|
|
801
|
-
secondLevelYards: number;
|
|
802
|
-
secondLevelYardsPerRush: number;
|
|
803
|
-
openFieldYards: number;
|
|
804
|
-
openFieldYardsPerRush: number;
|
|
805
|
-
epaPerPlay: number;
|
|
806
|
-
totalEpa: number;
|
|
807
|
-
passingEpa: number;
|
|
808
|
-
epaPerPass: number;
|
|
809
|
-
rushingEpa: number;
|
|
810
|
-
epaPerRush: number;
|
|
811
|
-
successRate: number;
|
|
812
|
-
standardDownSuccessRate: number;
|
|
813
|
-
passingDownSuccessRate: number;
|
|
814
|
-
explosiveness: number;
|
|
815
|
-
};
|
|
816
|
-
export type homeAway = 'home' | 'away';
|
|
817
|
-
export type LiveGamePlay = {
|
|
818
|
-
id: string;
|
|
819
|
-
homeScore: number;
|
|
820
|
-
awayScore: number;
|
|
857
|
+
conference: string;
|
|
858
|
+
opponent: string;
|
|
859
|
+
teamScore: number;
|
|
860
|
+
opponentScore: number;
|
|
861
|
+
driveId: string;
|
|
862
|
+
playId: string;
|
|
821
863
|
period: number;
|
|
822
|
-
clock:
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
864
|
+
clock: {
|
|
865
|
+
seconds: (number) | null;
|
|
866
|
+
minutes: (number) | null;
|
|
867
|
+
};
|
|
868
|
+
yardsToGoal: number;
|
|
826
869
|
down: number;
|
|
827
870
|
distance: number;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
epa: (number) | null;
|
|
833
|
-
garbageTime: boolean;
|
|
834
|
-
success: boolean;
|
|
835
|
-
rushPash: 'rush' | 'pass' | 'other';
|
|
836
|
-
downType: 'passing' | 'standard';
|
|
837
|
-
playText: string;
|
|
838
|
-
};
|
|
839
|
-
export type rushPash = 'rush' | 'pass' | 'other';
|
|
840
|
-
export type downType = 'passing' | 'standard';
|
|
841
|
-
export type LiveGameDrive = {
|
|
842
|
-
id: string;
|
|
843
|
-
offenseId: number;
|
|
844
|
-
offense: string;
|
|
845
|
-
defenseId: number;
|
|
846
|
-
defense: string;
|
|
847
|
-
playCount: number;
|
|
848
|
-
yards: number;
|
|
849
|
-
startPeriod: number;
|
|
850
|
-
startClock: (string) | null;
|
|
851
|
-
startYardsToGoal: number;
|
|
852
|
-
endPeriod: (number) | null;
|
|
853
|
-
endClock: (string) | null;
|
|
854
|
-
endYardsToGoal: (number) | null;
|
|
855
|
-
duration: (string) | null;
|
|
856
|
-
scoringOpportunity: boolean;
|
|
857
|
-
result: string;
|
|
858
|
-
pointsGained: number;
|
|
859
|
-
plays: Array<LiveGamePlay>;
|
|
871
|
+
athleteId: string;
|
|
872
|
+
athleteName: string;
|
|
873
|
+
statType: string;
|
|
874
|
+
stat: number;
|
|
860
875
|
};
|
|
861
|
-
export type
|
|
876
|
+
export type PlayStatType = {
|
|
862
877
|
id: number;
|
|
863
|
-
|
|
864
|
-
period: (number) | null;
|
|
865
|
-
clock: string;
|
|
866
|
-
possession: string;
|
|
867
|
-
down: (number) | null;
|
|
868
|
-
distance: (number) | null;
|
|
869
|
-
yardsToGoal: (number) | null;
|
|
870
|
-
teams: Array<LiveGameTeam>;
|
|
871
|
-
drives: Array<LiveGameDrive>;
|
|
872
|
-
};
|
|
873
|
-
export type GameLine = {
|
|
874
|
-
provider: string;
|
|
875
|
-
spread: (number) | null;
|
|
876
|
-
formattedSpread: string;
|
|
877
|
-
spreadOpen: (number) | null;
|
|
878
|
-
overUnder: (number) | null;
|
|
879
|
-
overUnderOpen: (number) | null;
|
|
880
|
-
homeMoneyline: (number) | null;
|
|
881
|
-
awayMoneyline: (number) | null;
|
|
878
|
+
name: string;
|
|
882
879
|
};
|
|
883
|
-
export type
|
|
880
|
+
export type PlayType = {
|
|
884
881
|
id: number;
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
week: number;
|
|
888
|
-
startDate: string;
|
|
889
|
-
homeTeam: string;
|
|
890
|
-
homeConference: (string) | null;
|
|
891
|
-
homeClassification: ((DivisionClassification) | null);
|
|
892
|
-
homeScore: (number) | null;
|
|
893
|
-
awayTeam: string;
|
|
894
|
-
awayConference: (string) | null;
|
|
895
|
-
awayClassification: ((DivisionClassification) | null);
|
|
896
|
-
awayScore: (number) | null;
|
|
897
|
-
lines: Array<GameLine>;
|
|
882
|
+
text: string;
|
|
883
|
+
abbreviation: (string) | null;
|
|
898
884
|
};
|
|
899
|
-
export type
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
seasonType: SeasonType;
|
|
904
|
-
startDate: string;
|
|
905
|
-
startTimeTBD: boolean;
|
|
906
|
-
completed: boolean;
|
|
907
|
-
neutralSite: boolean;
|
|
908
|
-
conferenceGame: boolean;
|
|
909
|
-
attendance: (number) | null;
|
|
910
|
-
venueId: (number) | null;
|
|
911
|
-
venue: (string) | null;
|
|
885
|
+
export type PlayWinProbability = {
|
|
886
|
+
gameId: number;
|
|
887
|
+
playId: string;
|
|
888
|
+
playText: string;
|
|
912
889
|
homeId: number;
|
|
913
|
-
|
|
914
|
-
homeConference: (string) | null;
|
|
915
|
-
homeClassification: ((DivisionClassification) | null);
|
|
916
|
-
homePoints: (number) | null;
|
|
917
|
-
homeLineScores: Array<(number)> | null;
|
|
918
|
-
homePostgameWinProbability: (number) | null;
|
|
919
|
-
homePregameElo: (number) | null;
|
|
920
|
-
homePostgameElo: (number) | null;
|
|
890
|
+
home: string;
|
|
921
891
|
awayId: number;
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
notes: (string) | null;
|
|
933
|
-
};
|
|
934
|
-
export type GameTeamStatsTeamStat = {
|
|
935
|
-
category: string;
|
|
936
|
-
stat: string;
|
|
937
|
-
};
|
|
938
|
-
export type GameTeamStatsTeam = {
|
|
939
|
-
teamId: number;
|
|
940
|
-
team: string;
|
|
941
|
-
conference: (string) | null;
|
|
942
|
-
homeAway: 'home' | 'away';
|
|
943
|
-
points: (number) | null;
|
|
944
|
-
stats: Array<GameTeamStatsTeamStat>;
|
|
945
|
-
};
|
|
946
|
-
export type GameTeamStats = {
|
|
947
|
-
id: number;
|
|
948
|
-
teams: Array<GameTeamStatsTeam>;
|
|
949
|
-
};
|
|
950
|
-
export type GamePlayerStatPlayer = {
|
|
951
|
-
id: string;
|
|
952
|
-
name: string;
|
|
953
|
-
stat: string;
|
|
954
|
-
};
|
|
955
|
-
export type GamePlayerStatTypes = {
|
|
956
|
-
name: string;
|
|
957
|
-
athletes: Array<GamePlayerStatPlayer>;
|
|
892
|
+
away: string;
|
|
893
|
+
spread: number;
|
|
894
|
+
homeBall: boolean;
|
|
895
|
+
homeScore: number;
|
|
896
|
+
awayScore: number;
|
|
897
|
+
yardLine: number;
|
|
898
|
+
down: number;
|
|
899
|
+
distance: number;
|
|
900
|
+
homeWinProbability: number;
|
|
901
|
+
playNumber: number;
|
|
958
902
|
};
|
|
959
|
-
export type
|
|
960
|
-
|
|
961
|
-
|
|
903
|
+
export type Poll = {
|
|
904
|
+
poll: string;
|
|
905
|
+
ranks: Array<PollRank>;
|
|
962
906
|
};
|
|
963
|
-
export type
|
|
964
|
-
|
|
907
|
+
export type PollRank = {
|
|
908
|
+
rank: (number) | null;
|
|
909
|
+
school: string;
|
|
965
910
|
conference: (string) | null;
|
|
966
|
-
|
|
911
|
+
firstPlaceVotes: (number) | null;
|
|
967
912
|
points: (number) | null;
|
|
968
|
-
categories: Array<GamePlayerStatCategories>;
|
|
969
913
|
};
|
|
970
|
-
export type
|
|
971
|
-
id: number;
|
|
972
|
-
teams: Array<GamePlayerStatsTeam>;
|
|
973
|
-
};
|
|
974
|
-
export type MediaType = 'tv' | 'radio' | 'web' | 'ppv' | 'mobile';
|
|
975
|
-
export type GameMedia = {
|
|
976
|
-
id: number;
|
|
914
|
+
export type PollWeek = {
|
|
977
915
|
season: number;
|
|
978
|
-
week: number;
|
|
979
916
|
seasonType: SeasonType;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
homeTeam: string;
|
|
983
|
-
homeConference: (string) | null;
|
|
984
|
-
awayTeam: string;
|
|
985
|
-
awayConference: (string) | null;
|
|
986
|
-
mediaType: MediaType;
|
|
987
|
-
outlet: string;
|
|
917
|
+
week: number;
|
|
918
|
+
polls: Array<Poll>;
|
|
988
919
|
};
|
|
989
|
-
export type
|
|
990
|
-
|
|
920
|
+
export type PredictedPointsValue = {
|
|
921
|
+
yardLine: number;
|
|
922
|
+
predictedPoints: number;
|
|
923
|
+
};
|
|
924
|
+
export type PregameWinProbability = {
|
|
991
925
|
season: number;
|
|
992
|
-
week: number;
|
|
993
926
|
seasonType: SeasonType;
|
|
994
|
-
|
|
995
|
-
|
|
927
|
+
week: number;
|
|
928
|
+
gameId: number;
|
|
996
929
|
homeTeam: string;
|
|
997
|
-
homeConference: (string) | null;
|
|
998
930
|
awayTeam: string;
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
venue: string;
|
|
1002
|
-
temperature: (number) | null;
|
|
1003
|
-
dewPoint: (number) | null;
|
|
1004
|
-
humidity: (number) | null;
|
|
1005
|
-
precipitation: (number) | null;
|
|
1006
|
-
snowfall: (number) | null;
|
|
1007
|
-
windDirection: (number) | null;
|
|
1008
|
-
windSpeed: (number) | null;
|
|
1009
|
-
pressure: (number) | null;
|
|
1010
|
-
weatherConditionCode: (number) | null;
|
|
1011
|
-
weatherCondition: (string) | null;
|
|
1012
|
-
};
|
|
1013
|
-
export type TeamRecord = {
|
|
1014
|
-
games: number;
|
|
1015
|
-
wins: number;
|
|
1016
|
-
losses: number;
|
|
1017
|
-
ties: number;
|
|
931
|
+
spread: number;
|
|
932
|
+
homeWinProbability: number;
|
|
1018
933
|
};
|
|
1019
|
-
export type
|
|
934
|
+
export type Recruit = {
|
|
935
|
+
id: string;
|
|
936
|
+
athleteId: (string) | null;
|
|
937
|
+
recruitType: RecruitClassification;
|
|
1020
938
|
year: number;
|
|
1021
|
-
|
|
939
|
+
ranking: (number) | null;
|
|
940
|
+
name: string;
|
|
941
|
+
school: (string) | null;
|
|
942
|
+
committedTo: (string) | null;
|
|
943
|
+
position: (string) | null;
|
|
944
|
+
height: (number) | null;
|
|
945
|
+
weight: (number) | null;
|
|
946
|
+
stars: number;
|
|
947
|
+
rating: number;
|
|
948
|
+
city: (string) | null;
|
|
949
|
+
stateProvince: (string) | null;
|
|
950
|
+
country: (string) | null;
|
|
951
|
+
hometownInfo: {
|
|
952
|
+
fipsCode: (string) | null;
|
|
953
|
+
longitude: (number) | null;
|
|
954
|
+
latitude: (number) | null;
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
|
|
958
|
+
export type ReturningProduction = {
|
|
959
|
+
season: number;
|
|
1022
960
|
team: string;
|
|
1023
|
-
classification: ((DivisionClassification) | null);
|
|
1024
961
|
conference: string;
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
962
|
+
totalPPA: number;
|
|
963
|
+
totalPassingPPA: number;
|
|
964
|
+
totalReceivingPPA: number;
|
|
965
|
+
totalRushingPPA: number;
|
|
966
|
+
percentPPA: number;
|
|
967
|
+
percentPassingPPA: number;
|
|
968
|
+
percentReceivingPPA: number;
|
|
969
|
+
percentRushingPPA: number;
|
|
970
|
+
usage: number;
|
|
971
|
+
passingUsage: number;
|
|
972
|
+
receivingUsage: number;
|
|
973
|
+
rushingUsage: number;
|
|
1032
974
|
};
|
|
1033
|
-
export type
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
975
|
+
export type RosterPlayer = {
|
|
976
|
+
id: string;
|
|
977
|
+
firstName: string;
|
|
978
|
+
lastName: string;
|
|
979
|
+
team: string;
|
|
980
|
+
height: (number) | null;
|
|
981
|
+
weight: (number) | null;
|
|
982
|
+
jersey: (number) | null;
|
|
983
|
+
year: number;
|
|
984
|
+
position: (string) | null;
|
|
985
|
+
homeCity: (string) | null;
|
|
986
|
+
homeState: (string) | null;
|
|
987
|
+
homeCountry: (string) | null;
|
|
988
|
+
homeLatitude: (number) | null;
|
|
989
|
+
homeLongitude: (number) | null;
|
|
990
|
+
homeCountyFIPS: (string) | null;
|
|
991
|
+
recruitIds: Array<(string)> | null;
|
|
1047
992
|
};
|
|
1048
|
-
export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
|
|
1049
993
|
export type ScoreboardGame = {
|
|
1050
994
|
id: number;
|
|
1051
995
|
startDate: string;
|
|
@@ -1093,102 +1037,94 @@ export type ScoreboardGame = {
|
|
|
1093
1037
|
spread: (number) | null;
|
|
1094
1038
|
};
|
|
1095
1039
|
};
|
|
1096
|
-
export type
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
driveNumber: (number) | null;
|
|
1104
|
-
scoring: boolean;
|
|
1105
|
-
startPeriod: number;
|
|
1106
|
-
startYardline: number;
|
|
1107
|
-
startYardsToGoal: number;
|
|
1108
|
-
startTime: {
|
|
1109
|
-
seconds: (number) | null;
|
|
1110
|
-
minutes: (number) | null;
|
|
1111
|
-
};
|
|
1112
|
-
endPeriod: number;
|
|
1113
|
-
endYardline: number;
|
|
1114
|
-
endYardsToGoal: number;
|
|
1115
|
-
endTime: {
|
|
1116
|
-
seconds: (number) | null;
|
|
1117
|
-
minutes: (number) | null;
|
|
1118
|
-
};
|
|
1119
|
-
plays: number;
|
|
1120
|
-
yards: number;
|
|
1121
|
-
driveResult: string;
|
|
1122
|
-
isHomeOffense: boolean;
|
|
1123
|
-
startOffenseScore: number;
|
|
1124
|
-
startDefenseScore: number;
|
|
1125
|
-
endOffenseScore: number;
|
|
1126
|
-
endDefenseScore: number;
|
|
1127
|
-
};
|
|
1128
|
-
export type DraftTeam = {
|
|
1129
|
-
location: string;
|
|
1130
|
-
nickname: (string) | null;
|
|
1131
|
-
displayName: (string) | null;
|
|
1132
|
-
logo: (string) | null;
|
|
1040
|
+
export type SeasonType = 'regular' | 'postseason' | 'both' | 'allstar' | 'spring_regular' | 'spring_postseason';
|
|
1041
|
+
export type StatsByQuarter = {
|
|
1042
|
+
total: number;
|
|
1043
|
+
quarter1: number;
|
|
1044
|
+
quarter2: number;
|
|
1045
|
+
quarter3: number;
|
|
1046
|
+
quarter4: number;
|
|
1133
1047
|
};
|
|
1134
|
-
export type
|
|
1135
|
-
|
|
1136
|
-
|
|
1048
|
+
export type Team = {
|
|
1049
|
+
id: number;
|
|
1050
|
+
school: string;
|
|
1051
|
+
mascot: (string) | null;
|
|
1052
|
+
abbreviation: (string) | null;
|
|
1053
|
+
alternateNames: Array<(string)> | null;
|
|
1054
|
+
conference: (string) | null;
|
|
1055
|
+
division: (string) | null;
|
|
1056
|
+
classification: (string) | null;
|
|
1057
|
+
color: (string) | null;
|
|
1058
|
+
alternateColor: (string) | null;
|
|
1059
|
+
logos: Array<(string)> | null;
|
|
1060
|
+
twitter: (string) | null;
|
|
1061
|
+
location: ((Venue) | null);
|
|
1137
1062
|
};
|
|
1138
|
-
export type
|
|
1139
|
-
collegeAthleteId: (number) | null;
|
|
1140
|
-
nflAthleteId: number;
|
|
1141
|
-
collegeId: number;
|
|
1142
|
-
collegeTeam: string;
|
|
1143
|
-
collegeConference: (string) | null;
|
|
1144
|
-
nflTeamId: number;
|
|
1145
|
-
nflTeam: string;
|
|
1063
|
+
export type TeamElo = {
|
|
1146
1064
|
year: number;
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
name: string;
|
|
1151
|
-
position: string;
|
|
1152
|
-
height: (number) | null;
|
|
1153
|
-
weight: (number) | null;
|
|
1154
|
-
preDraftRanking: (number) | null;
|
|
1155
|
-
preDraftPositionRanking: (number) | null;
|
|
1156
|
-
preDraftGrade: (number) | null;
|
|
1157
|
-
hometownInfo: {
|
|
1158
|
-
countyFips: (string) | null;
|
|
1159
|
-
longitude: (string) | null;
|
|
1160
|
-
latitude: (string) | null;
|
|
1161
|
-
country: (string) | null;
|
|
1162
|
-
state: (string) | null;
|
|
1163
|
-
city: (string) | null;
|
|
1164
|
-
};
|
|
1065
|
+
team: string;
|
|
1066
|
+
conference: string;
|
|
1067
|
+
elo: (number) | null;
|
|
1165
1068
|
};
|
|
1166
|
-
export type
|
|
1167
|
-
|
|
1069
|
+
export type TeamExplosiveness = {
|
|
1070
|
+
team: string;
|
|
1071
|
+
overall: StatsByQuarter;
|
|
1072
|
+
};
|
|
1073
|
+
export type TeamFieldPosition = {
|
|
1074
|
+
team: string;
|
|
1075
|
+
averageStart: number;
|
|
1076
|
+
averageStartingPredictedPoints: number;
|
|
1077
|
+
};
|
|
1078
|
+
export type TeamFPI = {
|
|
1168
1079
|
year: number;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1080
|
+
team: string;
|
|
1081
|
+
conference: (string) | null;
|
|
1082
|
+
fpi: (number) | null;
|
|
1083
|
+
resumeRanks: {
|
|
1084
|
+
gameControl: (number) | null;
|
|
1085
|
+
remainingStrengthOfSchedule: (number) | null;
|
|
1086
|
+
strengthOfSchedule: (number) | null;
|
|
1087
|
+
averageWinProbability: (number) | null;
|
|
1088
|
+
fpi: (number) | null;
|
|
1089
|
+
strengthOfRecord: (number) | null;
|
|
1090
|
+
};
|
|
1091
|
+
efficiencies: {
|
|
1092
|
+
specialTeams: (number) | null;
|
|
1093
|
+
defense: (number) | null;
|
|
1094
|
+
offense: (number) | null;
|
|
1095
|
+
overall: (number) | null;
|
|
1096
|
+
};
|
|
1179
1097
|
};
|
|
1180
|
-
export type
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1098
|
+
export type TeamGamePredictedPointsAdded = {
|
|
1099
|
+
gameId: number;
|
|
1100
|
+
season: number;
|
|
1101
|
+
week: number;
|
|
1102
|
+
seasonType: SeasonType;
|
|
1103
|
+
team: string;
|
|
1104
|
+
conference: string;
|
|
1105
|
+
opponent: string;
|
|
1106
|
+
offense: {
|
|
1107
|
+
thirdDown: number;
|
|
1108
|
+
secondDown: number;
|
|
1109
|
+
firstDown: number;
|
|
1110
|
+
rushing: number;
|
|
1111
|
+
passing: number;
|
|
1112
|
+
overall: number;
|
|
1113
|
+
};
|
|
1114
|
+
defense: {
|
|
1115
|
+
thirdDown: number;
|
|
1116
|
+
secondDown: number;
|
|
1117
|
+
firstDown: number;
|
|
1118
|
+
rushing: number;
|
|
1119
|
+
passing: number;
|
|
1120
|
+
overall: number;
|
|
1121
|
+
};
|
|
1185
1122
|
};
|
|
1186
|
-
export type
|
|
1123
|
+
export type TeamHavoc = {
|
|
1124
|
+
team: string;
|
|
1187
1125
|
total: number;
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
quarter3: number;
|
|
1191
|
-
quarter4: number;
|
|
1126
|
+
frontSeven: number;
|
|
1127
|
+
db: number;
|
|
1192
1128
|
};
|
|
1193
1129
|
export type TeamPPA = {
|
|
1194
1130
|
team: string;
|
|
@@ -1197,15 +1133,33 @@ export type TeamPPA = {
|
|
|
1197
1133
|
passing: StatsByQuarter;
|
|
1198
1134
|
rushing: StatsByQuarter;
|
|
1199
1135
|
};
|
|
1200
|
-
export type
|
|
1136
|
+
export type TeamRecord = {
|
|
1137
|
+
games: number;
|
|
1138
|
+
wins: number;
|
|
1139
|
+
losses: number;
|
|
1140
|
+
ties: number;
|
|
1141
|
+
};
|
|
1142
|
+
export type TeamRecords = {
|
|
1143
|
+
year: number;
|
|
1144
|
+
teamId: number;
|
|
1201
1145
|
team: string;
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1146
|
+
classification: ((DivisionClassification) | null);
|
|
1147
|
+
conference: string;
|
|
1148
|
+
division: string;
|
|
1149
|
+
expectedWins: (number) | null;
|
|
1150
|
+
total: TeamRecord;
|
|
1151
|
+
conferenceGames: TeamRecord;
|
|
1152
|
+
homeGames: TeamRecord;
|
|
1153
|
+
awayGames: TeamRecord;
|
|
1154
|
+
neutralSiteGames: TeamRecord;
|
|
1155
|
+
regularSeason: TeamRecord;
|
|
1156
|
+
postseason: TeamRecord;
|
|
1205
1157
|
};
|
|
1206
|
-
export type
|
|
1158
|
+
export type TeamRecruitingRanking = {
|
|
1159
|
+
year: number;
|
|
1160
|
+
rank: number;
|
|
1207
1161
|
team: string;
|
|
1208
|
-
|
|
1162
|
+
points: number;
|
|
1209
1163
|
};
|
|
1210
1164
|
export type TeamRushingStats = {
|
|
1211
1165
|
team: string;
|
|
@@ -1218,76 +1172,124 @@ export type TeamRushingStats = {
|
|
|
1218
1172
|
openFieldYards: number;
|
|
1219
1173
|
openFieldYardsAverage: number;
|
|
1220
1174
|
};
|
|
1221
|
-
export type TeamHavoc = {
|
|
1222
|
-
team: string;
|
|
1223
|
-
total: number;
|
|
1224
|
-
frontSeven: number;
|
|
1225
|
-
db: number;
|
|
1226
|
-
};
|
|
1227
1175
|
export type TeamScoringOpportunities = {
|
|
1228
1176
|
team: string;
|
|
1229
1177
|
opportunities: number;
|
|
1230
1178
|
points: number;
|
|
1231
1179
|
pointsPerOpportunity: number;
|
|
1232
1180
|
};
|
|
1233
|
-
export type
|
|
1181
|
+
export type TeamSeasonPredictedPointsAdded = {
|
|
1182
|
+
season: number;
|
|
1183
|
+
conference: string;
|
|
1234
1184
|
team: string;
|
|
1235
|
-
|
|
1236
|
-
|
|
1185
|
+
offense: {
|
|
1186
|
+
cumulative: {
|
|
1187
|
+
rushing: number;
|
|
1188
|
+
passing: number;
|
|
1189
|
+
total: number;
|
|
1190
|
+
};
|
|
1191
|
+
thirdDown: number;
|
|
1192
|
+
secondDown: number;
|
|
1193
|
+
firstDown: number;
|
|
1194
|
+
rushing: number;
|
|
1195
|
+
passing: number;
|
|
1196
|
+
overall: number;
|
|
1197
|
+
};
|
|
1198
|
+
defense: {
|
|
1199
|
+
cumulative: {
|
|
1200
|
+
rushing: number;
|
|
1201
|
+
passing: number;
|
|
1202
|
+
total: number;
|
|
1203
|
+
};
|
|
1204
|
+
thirdDown: number;
|
|
1205
|
+
secondDown: number;
|
|
1206
|
+
firstDown: number;
|
|
1207
|
+
rushing: number;
|
|
1208
|
+
passing: number;
|
|
1209
|
+
overall: number;
|
|
1210
|
+
};
|
|
1237
1211
|
};
|
|
1238
|
-
export type
|
|
1239
|
-
|
|
1240
|
-
quarter1: number;
|
|
1241
|
-
quarter2: number;
|
|
1242
|
-
quarter3: number;
|
|
1243
|
-
quarter4: number;
|
|
1244
|
-
rushing: number;
|
|
1245
|
-
passing: number;
|
|
1246
|
-
player: string;
|
|
1212
|
+
export type TeamSP = {
|
|
1213
|
+
year: number;
|
|
1247
1214
|
team: string;
|
|
1248
|
-
|
|
1215
|
+
conference: string;
|
|
1216
|
+
rating: number;
|
|
1217
|
+
ranking: number;
|
|
1218
|
+
secondOrderWins: (number) | null;
|
|
1219
|
+
sos: (number) | null;
|
|
1220
|
+
offense: {
|
|
1221
|
+
pace: (number) | null;
|
|
1222
|
+
runRate: (number) | null;
|
|
1223
|
+
passingDowns: (number) | null;
|
|
1224
|
+
standardDowns: (number) | null;
|
|
1225
|
+
passing: (number) | null;
|
|
1226
|
+
rushing: (number) | null;
|
|
1227
|
+
explosiveness: (number) | null;
|
|
1228
|
+
success: (number) | null;
|
|
1229
|
+
rating: number;
|
|
1230
|
+
ranking: number;
|
|
1231
|
+
};
|
|
1232
|
+
defense: {
|
|
1233
|
+
havoc: {
|
|
1234
|
+
db: (number) | null;
|
|
1235
|
+
frontSeven: (number) | null;
|
|
1236
|
+
total: (number) | null;
|
|
1237
|
+
};
|
|
1238
|
+
passingDowns: (number) | null;
|
|
1239
|
+
standardDowns: (number) | null;
|
|
1240
|
+
passing: (number) | null;
|
|
1241
|
+
rushing: (number) | null;
|
|
1242
|
+
explosiveness: (number) | null;
|
|
1243
|
+
success: (number) | null;
|
|
1244
|
+
rating: number;
|
|
1245
|
+
ranking: number;
|
|
1246
|
+
};
|
|
1247
|
+
specialTeams: {
|
|
1248
|
+
rating: (number) | null;
|
|
1249
|
+
};
|
|
1249
1250
|
};
|
|
1250
|
-
export type
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
passing: number;
|
|
1251
|
+
export type TeamSRS = {
|
|
1252
|
+
year: number;
|
|
1253
|
+
team: string;
|
|
1254
|
+
conference: (string) | null;
|
|
1255
|
+
division: (string) | null;
|
|
1256
|
+
rating: number;
|
|
1257
|
+
ranking: number;
|
|
1258
1258
|
};
|
|
1259
|
-
export type
|
|
1260
|
-
|
|
1259
|
+
export type TeamStat = {
|
|
1260
|
+
season: number;
|
|
1261
1261
|
team: string;
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1262
|
+
conference: string;
|
|
1263
|
+
statName: string;
|
|
1264
|
+
statValue: (string | number);
|
|
1265
1265
|
};
|
|
1266
|
-
export type
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1266
|
+
export type TeamSuccessRates = {
|
|
1267
|
+
team: string;
|
|
1268
|
+
overall: StatsByQuarter;
|
|
1269
|
+
standardDowns: StatsByQuarter;
|
|
1270
|
+
passingDowns: StatsByQuarter;
|
|
1271
|
+
};
|
|
1272
|
+
export type TeamTalent = {
|
|
1273
|
+
year: number;
|
|
1274
|
+
team: string;
|
|
1275
|
+
talent: number;
|
|
1276
|
+
};
|
|
1277
|
+
export type TransferEligibility = 'Withdrawn' | 'TBD' | 'PendingAppeal' | 'SittingOne' | 'Immediate';
|
|
1278
|
+
export type Venue = {
|
|
1279
|
+
id: (number) | null;
|
|
1280
|
+
name: (string) | null;
|
|
1281
|
+
city: (string) | null;
|
|
1282
|
+
state: (string) | null;
|
|
1283
|
+
zip: (string) | null;
|
|
1284
|
+
countryCode: (string) | null;
|
|
1285
|
+
timezone: (string) | null;
|
|
1286
|
+
latitude: (number) | null;
|
|
1287
|
+
longitude: (number) | null;
|
|
1288
|
+
elevation: (string) | null;
|
|
1289
|
+
capacity: (number) | null;
|
|
1290
|
+
constructionYear: (number) | null;
|
|
1291
|
+
grass?: (boolean) | null;
|
|
1292
|
+
dome?: (boolean) | null;
|
|
1291
1293
|
};
|
|
1292
1294
|
export type GetAdjustedTeamSeasonStatsData = {
|
|
1293
1295
|
query?: {
|