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