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