cfbd 5.25.0 → 5.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cfbd-5.26.0.tgz +0 -0
- package/dist/sdk.gen.d.ts +39 -1
- package/dist/sdk.gen.js +60 -2
- package/dist/types.gen.d.ts +383 -0
- package/package.json +1 -1
- package/src/sdk.gen.ts +69 -1
- package/src/types.gen.ts +409 -0
- package/cfbd-5.25.0.tgz +0 -0
package/cfbd-5.26.0.tgz
ADDED
|
Binary file
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
2
|
-
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarResponse, GetTeamsData, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsResponse, GetMatchupData, GetTeamsAtsData, GetTeamsAtsResponse, GetRosterData, GetRosterResponse, GetConferencesData, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetUserInfoResponse, GetUsageData, GetUsageResponse, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsResponse, GetMediaData, GetMediaResponse, GetWeatherData, GetWeatherResponse, GetRecordsData, GetRecordsResponse, GetCalendarData, GetCalendarResponse, GetScoreboardData, GetScoreboardResponse, GetDrivesData, GetDrivesResponse, GetDraftTeamsResponse, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksResponse, GetCoachesData, GetCoachesResponse, GetCoachProfileData, GetCoachProfileError, GetCoachSeasonsData, GetCoachSeasonsError, GetCoachSeasonsResponse, GetCoachTenuresData, GetCoachTenuresError, GetCoachTenuresResponse, GetAdvancedBoxScoreData } from './types.gen';
|
|
2
|
+
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarResponse, GetTeamsData, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsResponse, GetMatchupData, GetTeamsAtsData, GetTeamsAtsResponse, GetRosterData, GetRosterResponse, GetConferencesData, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsResponse, GetRushingPlaysData, GetRushingPlaysResponse, GetPlayerRushingBySeasonData, GetPlayerRushingBySeasonResponse, GetPlayerRushingByGameData, GetPlayerRushingByGameResponse, GetTeamRushingBySeasonData, GetTeamRushingBySeasonResponse, GetTeamRushingByGameData, GetTeamRushingByGameResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetUserInfoResponse, GetUsageData, GetUsageResponse, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsResponse, GetMediaData, GetMediaResponse, GetWeatherData, GetWeatherResponse, GetRecordsData, GetRecordsResponse, GetCalendarData, GetCalendarResponse, GetScoreboardData, GetScoreboardResponse, GetDrivesData, GetDrivesResponse, GetDraftTeamsResponse, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksResponse, GetCoachesData, GetCoachesResponse, GetCoachProfileData, GetCoachProfileError, GetCoachSeasonsData, GetCoachSeasonsError, GetCoachSeasonsResponse, GetCoachTenuresData, GetCoachTenuresError, GetCoachTenuresResponse, GetAdvancedBoxScoreData } from './types.gen';
|
|
3
3
|
export declare const client: import("@hey-api/client-fetch").Client<Request, Response, unknown, import("@hey-api/client-fetch").RequestOptions<boolean, string>>;
|
|
4
4
|
/**
|
|
5
5
|
* Returns opponent-adjusted team statistics by season.
|
|
@@ -89,6 +89,44 @@ export declare const getAdvancedGameStats: <ThrowOnError extends boolean = false
|
|
|
89
89
|
* Returns team havoc statistics aggregated by game.
|
|
90
90
|
*/
|
|
91
91
|
export declare const getGameHavocStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGameHavocStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGameHavocStatsResponse, unknown, ThrowOnError>;
|
|
92
|
+
/**
|
|
93
|
+
* Returns enriched rushing attempts.
|
|
94
|
+
*
|
|
95
|
+
* Team results include sacks, kneels, team-only attempts, and unresolved
|
|
96
|
+
* attribution. Direction eligibility identifies the ordinary-rush analysis
|
|
97
|
+
* population; eligible attempts can still have an unknown direction.
|
|
98
|
+
*/
|
|
99
|
+
export declare const getRushingPlays: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRushingPlaysData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetRushingPlaysResponse, unknown, ThrowOnError>;
|
|
100
|
+
/**
|
|
101
|
+
* Returns individually attributed rusher production by season.
|
|
102
|
+
*
|
|
103
|
+
* Player totals include only guarded rusher attribution, including
|
|
104
|
+
* individually attributed sacks. They do not include team-only or unresolved
|
|
105
|
+
* attempts and therefore are not expected to sum to team totals.
|
|
106
|
+
*/
|
|
107
|
+
export declare const getPlayerRushingBySeason: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPlayerRushingBySeasonData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayerRushingBySeasonResponse, unknown, ThrowOnError>;
|
|
108
|
+
/**
|
|
109
|
+
* Returns individually attributed rusher production by game.
|
|
110
|
+
*
|
|
111
|
+
* Player totals include only guarded rusher attribution, including
|
|
112
|
+
* individually attributed sacks. They do not include team-only or unresolved
|
|
113
|
+
* attempts and therefore are not expected to sum to team totals.
|
|
114
|
+
*/
|
|
115
|
+
export declare const getPlayerRushingByGame: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPlayerRushingByGameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayerRushingByGameResponse, unknown, ThrowOnError>;
|
|
116
|
+
/**
|
|
117
|
+
* Returns team rushing production by season.
|
|
118
|
+
*
|
|
119
|
+
* Team totals include sacks, kneels, team-only attempts, and unresolved
|
|
120
|
+
* attribution. Defense contains rushing production allowed.
|
|
121
|
+
*/
|
|
122
|
+
export declare const getTeamRushingBySeason: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetTeamRushingBySeasonData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamRushingBySeasonResponse, unknown, ThrowOnError>;
|
|
123
|
+
/**
|
|
124
|
+
* Returns team rushing production by game.
|
|
125
|
+
*
|
|
126
|
+
* Team totals include sacks, kneels, team-only attempts, and unresolved
|
|
127
|
+
* attribution. Defense contains rushing production allowed.
|
|
128
|
+
*/
|
|
129
|
+
export declare const getTeamRushingByGame: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTeamRushingByGameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamRushingByGameResponse, unknown, ThrowOnError>;
|
|
92
130
|
/**
|
|
93
131
|
* Returns player recruiting rankings.
|
|
94
132
|
*/
|
package/dist/sdk.gen.js
CHANGED
|
@@ -12,8 +12,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
return __assign.apply(this, arguments);
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
exports.getAdvancedBoxScore = exports.getCoachTenures = exports.getCoachSeasons = exports.getCoachProfile = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = exports.getDrives = exports.getScoreboard = exports.getCalendar = exports.getRecords = exports.getWeather = exports.getMedia = exports.getGamePlayerStats = exports.getGameTeamStats = exports.getGames = exports.getUsage = exports.getUserInfo = exports.getLines = exports.getLivePlays = exports.getFieldGoalExpectedPoints = exports.getPregameWinProbabilities = exports.getWinProbability = exports.getPredictedPointsAddedByPlayerSeason = exports.getPredictedPointsAddedByPlayerGame = exports.getPredictedPointsAddedByGame = exports.getPredictedPointsAddedByTeam = exports.getPredictedPoints = exports.getTeamPassingByGame = void 0;
|
|
15
|
+
exports.getReturningProduction = exports.getPlayerSeasonOverview = exports.getPlayerUsage = exports.searchPlayers = exports.getCfpGames = exports.getCfpParticipants = exports.getCfpPlayoff = exports.getPlayStatTypes = exports.getPlayStats = exports.getPlayTypes = exports.getPlays = exports.getRankings = exports.getFpi = exports.getElo = exports.getExpandedSrs = exports.getSrs = exports.getConferenceSp = exports.getSp = exports.getCore = exports.getAggregatedTeamRecruitingRatings = exports.getTeamRecruitingRankings = exports.getRecruits = exports.getTeamRushingByGame = exports.getTeamRushingBySeason = exports.getPlayerRushingByGame = exports.getPlayerRushingBySeason = exports.getRushingPlays = exports.getGameHavocStats = exports.getAdvancedGameStats = exports.getAdvancedSeasonStats = exports.getCategories = exports.getTeamStats = exports.getPlayerGameSuccessRates = exports.getPlayerSeasonSuccessRates = exports.getPlayerSeasonStats = exports.getVenues = exports.getTalent = exports.getTeamConferenceAffiliations = exports.getTeamConferenceChanges = exports.getConferences = exports.getRoster = exports.getTeamsAts = exports.getMatchup = exports.getFbsTeams = exports.getTeams = exports.getKickerPaar = exports.getAdjustedPlayerRushingStats = exports.getAdjustedPlayerPassingStats = exports.getAdjustedTeamSeasonStats = exports.client = void 0;
|
|
16
|
+
exports.getAdvancedBoxScore = exports.getCoachTenures = exports.getCoachSeasons = exports.getCoachProfile = exports.getCoaches = exports.getDraftPicks = exports.getDraftPositions = exports.getDraftTeams = exports.getDrives = exports.getScoreboard = exports.getCalendar = exports.getRecords = exports.getWeather = exports.getMedia = exports.getGamePlayerStats = exports.getGameTeamStats = exports.getGames = exports.getUsage = exports.getUserInfo = exports.getLines = exports.getLivePlays = exports.getFieldGoalExpectedPoints = exports.getPregameWinProbabilities = exports.getWinProbability = exports.getPredictedPointsAddedByPlayerSeason = exports.getPredictedPointsAddedByPlayerGame = exports.getPredictedPointsAddedByGame = exports.getPredictedPointsAddedByTeam = exports.getPredictedPoints = exports.getTeamPassingByGame = exports.getTeamPassingBySeason = exports.getPlayerPassingByGame = exports.getPlayerPassingBySeason = exports.getPassingPlays = exports.getTransferPortal = void 0;
|
|
17
17
|
var client_fetch_1 = require("@hey-api/client-fetch");
|
|
18
18
|
exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfig)({ baseUrl: 'https://api.collegefootballdata.com' }));
|
|
19
19
|
/**
|
|
@@ -192,6 +192,64 @@ var getGameHavocStats = function (options) {
|
|
|
192
192
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/game/havoc' }));
|
|
193
193
|
};
|
|
194
194
|
exports.getGameHavocStats = getGameHavocStats;
|
|
195
|
+
/**
|
|
196
|
+
* Returns enriched rushing attempts.
|
|
197
|
+
*
|
|
198
|
+
* Team results include sacks, kneels, team-only attempts, and unresolved
|
|
199
|
+
* attribution. Direction eligibility identifies the ordinary-rush analysis
|
|
200
|
+
* population; eligible attempts can still have an unknown direction.
|
|
201
|
+
*/
|
|
202
|
+
var getRushingPlays = function (options) {
|
|
203
|
+
var _a;
|
|
204
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/rushing/plays' }));
|
|
205
|
+
};
|
|
206
|
+
exports.getRushingPlays = getRushingPlays;
|
|
207
|
+
/**
|
|
208
|
+
* Returns individually attributed rusher production by season.
|
|
209
|
+
*
|
|
210
|
+
* Player totals include only guarded rusher attribution, including
|
|
211
|
+
* individually attributed sacks. They do not include team-only or unresolved
|
|
212
|
+
* attempts and therefore are not expected to sum to team totals.
|
|
213
|
+
*/
|
|
214
|
+
var getPlayerRushingBySeason = function (options) {
|
|
215
|
+
var _a;
|
|
216
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/rushing/players/season' }));
|
|
217
|
+
};
|
|
218
|
+
exports.getPlayerRushingBySeason = getPlayerRushingBySeason;
|
|
219
|
+
/**
|
|
220
|
+
* Returns individually attributed rusher production by game.
|
|
221
|
+
*
|
|
222
|
+
* Player totals include only guarded rusher attribution, including
|
|
223
|
+
* individually attributed sacks. They do not include team-only or unresolved
|
|
224
|
+
* attempts and therefore are not expected to sum to team totals.
|
|
225
|
+
*/
|
|
226
|
+
var getPlayerRushingByGame = function (options) {
|
|
227
|
+
var _a;
|
|
228
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/rushing/players/games' }));
|
|
229
|
+
};
|
|
230
|
+
exports.getPlayerRushingByGame = getPlayerRushingByGame;
|
|
231
|
+
/**
|
|
232
|
+
* Returns team rushing production by season.
|
|
233
|
+
*
|
|
234
|
+
* Team totals include sacks, kneels, team-only attempts, and unresolved
|
|
235
|
+
* attribution. Defense contains rushing production allowed.
|
|
236
|
+
*/
|
|
237
|
+
var getTeamRushingBySeason = function (options) {
|
|
238
|
+
var _a;
|
|
239
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/rushing/teams/season' }));
|
|
240
|
+
};
|
|
241
|
+
exports.getTeamRushingBySeason = getTeamRushingBySeason;
|
|
242
|
+
/**
|
|
243
|
+
* Returns team rushing production by game.
|
|
244
|
+
*
|
|
245
|
+
* Team totals include sacks, kneels, team-only attempts, and unresolved
|
|
246
|
+
* attribution. Defense contains rushing production allowed.
|
|
247
|
+
*/
|
|
248
|
+
var getTeamRushingByGame = function (options) {
|
|
249
|
+
var _a;
|
|
250
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/rushing/teams/games' }));
|
|
251
|
+
};
|
|
252
|
+
exports.getTeamRushingByGame = getTeamRushingByGame;
|
|
195
253
|
/**
|
|
196
254
|
* Returns player recruiting rankings.
|
|
197
255
|
*/
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1122,6 +1122,84 @@ export type PlayerPPAChartItem = {
|
|
|
1122
1122
|
playNumber: number;
|
|
1123
1123
|
avgPPA: number;
|
|
1124
1124
|
};
|
|
1125
|
+
export type PlayerRushingGame = {
|
|
1126
|
+
attempts: number;
|
|
1127
|
+
rushingYardsAvailable: number;
|
|
1128
|
+
totalRushingYards: (number) | null;
|
|
1129
|
+
yardsPerCarry: (number) | null;
|
|
1130
|
+
individualAttempts: number;
|
|
1131
|
+
unattributedAttempts: number;
|
|
1132
|
+
sacks: number;
|
|
1133
|
+
kneels: number;
|
|
1134
|
+
teamRushes: number;
|
|
1135
|
+
multiCarrierAttempts: number;
|
|
1136
|
+
directionEligibleAttempts: number;
|
|
1137
|
+
directionAvailableAttempts: number;
|
|
1138
|
+
successRate: number;
|
|
1139
|
+
ppa: number;
|
|
1140
|
+
totalPpa: number;
|
|
1141
|
+
lineYards: number;
|
|
1142
|
+
lineYardsTotal: number;
|
|
1143
|
+
secondLevelYards: number;
|
|
1144
|
+
secondLevelYardsTotal: number;
|
|
1145
|
+
openFieldYards: number;
|
|
1146
|
+
openFieldYardsTotal: number;
|
|
1147
|
+
stuffRate: number;
|
|
1148
|
+
powerSuccess: number;
|
|
1149
|
+
explosiveness: number;
|
|
1150
|
+
directions: {
|
|
1151
|
+
unknown: RushingDirectionProduction;
|
|
1152
|
+
right: RushingDirectionProduction;
|
|
1153
|
+
middle: RushingDirectionProduction;
|
|
1154
|
+
left: RushingDirectionProduction;
|
|
1155
|
+
};
|
|
1156
|
+
gameId: number;
|
|
1157
|
+
season: number;
|
|
1158
|
+
week: number;
|
|
1159
|
+
seasonType: SeasonType;
|
|
1160
|
+
playerId: string;
|
|
1161
|
+
player: string;
|
|
1162
|
+
team: string;
|
|
1163
|
+
conference: (string) | null;
|
|
1164
|
+
opponent: string;
|
|
1165
|
+
};
|
|
1166
|
+
export type PlayerRushingSeason = {
|
|
1167
|
+
attempts: number;
|
|
1168
|
+
rushingYardsAvailable: number;
|
|
1169
|
+
totalRushingYards: (number) | null;
|
|
1170
|
+
yardsPerCarry: (number) | null;
|
|
1171
|
+
individualAttempts: number;
|
|
1172
|
+
unattributedAttempts: number;
|
|
1173
|
+
sacks: number;
|
|
1174
|
+
kneels: number;
|
|
1175
|
+
teamRushes: number;
|
|
1176
|
+
multiCarrierAttempts: number;
|
|
1177
|
+
directionEligibleAttempts: number;
|
|
1178
|
+
directionAvailableAttempts: number;
|
|
1179
|
+
successRate: number;
|
|
1180
|
+
ppa: number;
|
|
1181
|
+
totalPpa: number;
|
|
1182
|
+
lineYards: number;
|
|
1183
|
+
lineYardsTotal: number;
|
|
1184
|
+
secondLevelYards: number;
|
|
1185
|
+
secondLevelYardsTotal: number;
|
|
1186
|
+
openFieldYards: number;
|
|
1187
|
+
openFieldYardsTotal: number;
|
|
1188
|
+
stuffRate: number;
|
|
1189
|
+
powerSuccess: number;
|
|
1190
|
+
explosiveness: number;
|
|
1191
|
+
directions: {
|
|
1192
|
+
unknown: RushingDirectionProduction;
|
|
1193
|
+
right: RushingDirectionProduction;
|
|
1194
|
+
middle: RushingDirectionProduction;
|
|
1195
|
+
left: RushingDirectionProduction;
|
|
1196
|
+
};
|
|
1197
|
+
season: number;
|
|
1198
|
+
playerId: string;
|
|
1199
|
+
player: string;
|
|
1200
|
+
team: string;
|
|
1201
|
+
conference: (string) | null;
|
|
1202
|
+
};
|
|
1125
1203
|
export type PlayerSearchResult = {
|
|
1126
1204
|
id: string;
|
|
1127
1205
|
team: string;
|
|
@@ -1517,6 +1595,65 @@ export type RosterPlayer = {
|
|
|
1517
1595
|
homeCountyFIPS: (string) | null;
|
|
1518
1596
|
recruitIds: Array<(string)> | null;
|
|
1519
1597
|
};
|
|
1598
|
+
export type RushAttributionStatus = 'individual' | 'team' | 'multi_carrier' | 'unmatched' | 'ambiguous' | 'conflict' | 'unlinked';
|
|
1599
|
+
export type RushDirection = 'left' | 'middle' | 'right';
|
|
1600
|
+
export type RushingDirectionProduction = {
|
|
1601
|
+
carries: number;
|
|
1602
|
+
yards: number;
|
|
1603
|
+
yardsPerCarry: number;
|
|
1604
|
+
successRate: number;
|
|
1605
|
+
ppa: number;
|
|
1606
|
+
totalPpa: number;
|
|
1607
|
+
lineYards: number;
|
|
1608
|
+
lineYardsTotal: number;
|
|
1609
|
+
secondLevelYards: number;
|
|
1610
|
+
secondLevelYardsTotal: number;
|
|
1611
|
+
openFieldYards: number;
|
|
1612
|
+
openFieldYardsTotal: number;
|
|
1613
|
+
stuffRate: number;
|
|
1614
|
+
powerSuccess: number;
|
|
1615
|
+
explosiveness: number;
|
|
1616
|
+
};
|
|
1617
|
+
export type RushingPlay = {
|
|
1618
|
+
gameId: number;
|
|
1619
|
+
playId: string;
|
|
1620
|
+
driveId: string;
|
|
1621
|
+
season: number;
|
|
1622
|
+
week: number;
|
|
1623
|
+
seasonType: SeasonType;
|
|
1624
|
+
offenseId: number;
|
|
1625
|
+
offense: string;
|
|
1626
|
+
offenseConference: (string) | null;
|
|
1627
|
+
defenseId: number;
|
|
1628
|
+
defense: string;
|
|
1629
|
+
defenseConference: (string) | null;
|
|
1630
|
+
period: number;
|
|
1631
|
+
clock: RushingPlayClock;
|
|
1632
|
+
down: number;
|
|
1633
|
+
distance: number;
|
|
1634
|
+
playText: (string) | null;
|
|
1635
|
+
startYardline: number;
|
|
1636
|
+
startYardsToGoal: (number) | null;
|
|
1637
|
+
rusherId: (string) | null;
|
|
1638
|
+
rusher: (string) | null;
|
|
1639
|
+
rushDirection: ((RushDirection) | null);
|
|
1640
|
+
rushingYards: (number) | null;
|
|
1641
|
+
rusherYards: (number) | null;
|
|
1642
|
+
isRushingTouchdown: (boolean) | null;
|
|
1643
|
+
isSack: boolean;
|
|
1644
|
+
isKneel: boolean;
|
|
1645
|
+
isTeamRush: boolean;
|
|
1646
|
+
attributionStatus: RushAttributionStatus;
|
|
1647
|
+
directionAnalysisEligible: boolean;
|
|
1648
|
+
parseStatus: RushParseStatus;
|
|
1649
|
+
ppa: (number) | null;
|
|
1650
|
+
success: (boolean) | null;
|
|
1651
|
+
};
|
|
1652
|
+
export type RushingPlayClock = {
|
|
1653
|
+
minutes: number;
|
|
1654
|
+
seconds: number;
|
|
1655
|
+
};
|
|
1656
|
+
export type RushParseStatus = 'complete' | 'partial' | 'invalid';
|
|
1520
1657
|
export type ScoreboardGame = {
|
|
1521
1658
|
id: number;
|
|
1522
1659
|
startDate: string;
|
|
@@ -1766,6 +1903,58 @@ export type TeamRecruitingRanking = {
|
|
|
1766
1903
|
team: string;
|
|
1767
1904
|
points: number;
|
|
1768
1905
|
};
|
|
1906
|
+
export type TeamRushingGame = {
|
|
1907
|
+
gameId: number;
|
|
1908
|
+
season: number;
|
|
1909
|
+
week: number;
|
|
1910
|
+
seasonType: SeasonType;
|
|
1911
|
+
team: string;
|
|
1912
|
+
conference: (string) | null;
|
|
1913
|
+
opponent: string;
|
|
1914
|
+
offense: TeamRushingProduction;
|
|
1915
|
+
defense: TeamRushingProduction;
|
|
1916
|
+
};
|
|
1917
|
+
export type TeamRushingProduction = {
|
|
1918
|
+
attempts: number;
|
|
1919
|
+
rushingYardsAvailable: number;
|
|
1920
|
+
totalRushingYards: (number) | null;
|
|
1921
|
+
yardsPerCarry: (number) | null;
|
|
1922
|
+
individualAttempts: number;
|
|
1923
|
+
unattributedAttempts: number;
|
|
1924
|
+
sacks: number;
|
|
1925
|
+
kneels: number;
|
|
1926
|
+
teamRushes: number;
|
|
1927
|
+
multiCarrierAttempts: number;
|
|
1928
|
+
directionEligibleAttempts: number;
|
|
1929
|
+
directionAvailableAttempts: number;
|
|
1930
|
+
successRate: number;
|
|
1931
|
+
ppa: number;
|
|
1932
|
+
totalPpa: number;
|
|
1933
|
+
lineYards: number;
|
|
1934
|
+
lineYardsTotal: number;
|
|
1935
|
+
secondLevelYards: number;
|
|
1936
|
+
secondLevelYardsTotal: number;
|
|
1937
|
+
openFieldYards: number;
|
|
1938
|
+
openFieldYardsTotal: number;
|
|
1939
|
+
stuffRate: number;
|
|
1940
|
+
powerSuccess: number;
|
|
1941
|
+
explosiveness: number;
|
|
1942
|
+
directions: {
|
|
1943
|
+
unknown: RushingDirectionProduction;
|
|
1944
|
+
right: RushingDirectionProduction;
|
|
1945
|
+
middle: RushingDirectionProduction;
|
|
1946
|
+
left: RushingDirectionProduction;
|
|
1947
|
+
};
|
|
1948
|
+
touchdownStatusAvailable: number;
|
|
1949
|
+
rushingTouchdowns: number;
|
|
1950
|
+
};
|
|
1951
|
+
export type TeamRushingSeason = {
|
|
1952
|
+
season: number;
|
|
1953
|
+
team: string;
|
|
1954
|
+
conference: (string) | null;
|
|
1955
|
+
offense: TeamRushingProduction;
|
|
1956
|
+
defense: TeamRushingProduction;
|
|
1957
|
+
};
|
|
1769
1958
|
export type TeamRushingStats = {
|
|
1770
1959
|
team: string;
|
|
1771
1960
|
powerSuccess: number;
|
|
@@ -2405,6 +2594,200 @@ export type GetGameHavocStatsData = {
|
|
|
2405
2594
|
};
|
|
2406
2595
|
export type GetGameHavocStatsResponse = (Array<GameHavocStats>);
|
|
2407
2596
|
export type GetGameHavocStatsError = unknown;
|
|
2597
|
+
export type GetRushingPlaysData = {
|
|
2598
|
+
query?: {
|
|
2599
|
+
/**
|
|
2600
|
+
* Rusher attribution status.
|
|
2601
|
+
*/
|
|
2602
|
+
attributionStatus?: RushAttributionStatus;
|
|
2603
|
+
/**
|
|
2604
|
+
* Division classification. Defaults to `fbs`.
|
|
2605
|
+
*/
|
|
2606
|
+
classification?: DivisionClassification;
|
|
2607
|
+
/**
|
|
2608
|
+
* Conference name or abbreviation on either side of the rush.
|
|
2609
|
+
*/
|
|
2610
|
+
conference?: string;
|
|
2611
|
+
/**
|
|
2612
|
+
* Defending team name.
|
|
2613
|
+
*/
|
|
2614
|
+
defense?: string;
|
|
2615
|
+
/**
|
|
2616
|
+
* Filters attempts by ordinary direction-analysis eligibility.
|
|
2617
|
+
*/
|
|
2618
|
+
directionAnalysisEligible?: boolean;
|
|
2619
|
+
/**
|
|
2620
|
+
* Game ID.
|
|
2621
|
+
*/
|
|
2622
|
+
gameId?: number;
|
|
2623
|
+
/**
|
|
2624
|
+
* Filters kneel attempts.
|
|
2625
|
+
*/
|
|
2626
|
+
isKneel?: boolean;
|
|
2627
|
+
/**
|
|
2628
|
+
* Filters known rushing touchdown results.
|
|
2629
|
+
*/
|
|
2630
|
+
isRushingTouchdown?: boolean;
|
|
2631
|
+
/**
|
|
2632
|
+
* Filters sack attempts.
|
|
2633
|
+
*/
|
|
2634
|
+
isSack?: boolean;
|
|
2635
|
+
/**
|
|
2636
|
+
* Filters team-only rushing attempts.
|
|
2637
|
+
*/
|
|
2638
|
+
isTeamRush?: boolean;
|
|
2639
|
+
/**
|
|
2640
|
+
* Rushing offense team name.
|
|
2641
|
+
*/
|
|
2642
|
+
offense?: string;
|
|
2643
|
+
/**
|
|
2644
|
+
* Rushing direction.
|
|
2645
|
+
*/
|
|
2646
|
+
rushDirection?: RushDirection;
|
|
2647
|
+
/**
|
|
2648
|
+
* Rusher athlete ID.
|
|
2649
|
+
*/
|
|
2650
|
+
rusherId?: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* Season type.
|
|
2653
|
+
*/
|
|
2654
|
+
seasonType?: SeasonType;
|
|
2655
|
+
/**
|
|
2656
|
+
* Team name on either side of the rush; either team or week is required with year.
|
|
2657
|
+
*/
|
|
2658
|
+
team?: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* Week number. Requires year; either team or week is required with year.
|
|
2661
|
+
*/
|
|
2662
|
+
week?: number;
|
|
2663
|
+
/**
|
|
2664
|
+
* Season year. Requires team or week.
|
|
2665
|
+
*/
|
|
2666
|
+
year?: number;
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2669
|
+
export type GetRushingPlaysResponse = (Array<RushingPlay>);
|
|
2670
|
+
export type GetRushingPlaysError = unknown;
|
|
2671
|
+
export type GetPlayerRushingBySeasonData = {
|
|
2672
|
+
query?: {
|
|
2673
|
+
/**
|
|
2674
|
+
* Division classification. Defaults to `fbs`.
|
|
2675
|
+
*/
|
|
2676
|
+
classification?: DivisionClassification;
|
|
2677
|
+
/**
|
|
2678
|
+
* Conference name or abbreviation.
|
|
2679
|
+
*/
|
|
2680
|
+
conference?: string;
|
|
2681
|
+
/**
|
|
2682
|
+
* Rusher athlete ID. Required unless year is specified.
|
|
2683
|
+
*/
|
|
2684
|
+
rusherId?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* Season type.
|
|
2687
|
+
*/
|
|
2688
|
+
seasonType?: SeasonType;
|
|
2689
|
+
/**
|
|
2690
|
+
* Team name.
|
|
2691
|
+
*/
|
|
2692
|
+
team?: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* Season year. Required unless rusherId is specified.
|
|
2695
|
+
*/
|
|
2696
|
+
year?: number;
|
|
2697
|
+
};
|
|
2698
|
+
};
|
|
2699
|
+
export type GetPlayerRushingBySeasonResponse = (Array<PlayerRushingSeason>);
|
|
2700
|
+
export type GetPlayerRushingBySeasonError = unknown;
|
|
2701
|
+
export type GetPlayerRushingByGameData = {
|
|
2702
|
+
query?: {
|
|
2703
|
+
/**
|
|
2704
|
+
* Division classification. Defaults to `fbs`.
|
|
2705
|
+
*/
|
|
2706
|
+
classification?: DivisionClassification;
|
|
2707
|
+
/**
|
|
2708
|
+
* Conference name or abbreviation.
|
|
2709
|
+
*/
|
|
2710
|
+
conference?: string;
|
|
2711
|
+
/**
|
|
2712
|
+
* Rusher athlete ID. Required unless year is specified.
|
|
2713
|
+
*/
|
|
2714
|
+
rusherId?: string;
|
|
2715
|
+
/**
|
|
2716
|
+
* Season type.
|
|
2717
|
+
*/
|
|
2718
|
+
seasonType?: SeasonType;
|
|
2719
|
+
/**
|
|
2720
|
+
* Team name; either team or week is required with year.
|
|
2721
|
+
*/
|
|
2722
|
+
team?: string;
|
|
2723
|
+
/**
|
|
2724
|
+
* Week number. Requires year; either team or week is required with year.
|
|
2725
|
+
*/
|
|
2726
|
+
week?: number;
|
|
2727
|
+
/**
|
|
2728
|
+
* Season year. Requires team or week; optional when rusherId is specified alone.
|
|
2729
|
+
*/
|
|
2730
|
+
year?: number;
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
export type GetPlayerRushingByGameResponse = (Array<PlayerRushingGame>);
|
|
2734
|
+
export type GetPlayerRushingByGameError = unknown;
|
|
2735
|
+
export type GetTeamRushingBySeasonData = {
|
|
2736
|
+
query?: {
|
|
2737
|
+
/**
|
|
2738
|
+
* Division classification. Defaults to `fbs`.
|
|
2739
|
+
*/
|
|
2740
|
+
classification?: DivisionClassification;
|
|
2741
|
+
/**
|
|
2742
|
+
* Conference name or abbreviation.
|
|
2743
|
+
*/
|
|
2744
|
+
conference?: string;
|
|
2745
|
+
/**
|
|
2746
|
+
* Season type.
|
|
2747
|
+
*/
|
|
2748
|
+
seasonType?: SeasonType;
|
|
2749
|
+
/**
|
|
2750
|
+
* Team name. Required unless year is specified.
|
|
2751
|
+
*/
|
|
2752
|
+
team?: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* Season year. Required unless team is specified.
|
|
2755
|
+
*/
|
|
2756
|
+
year?: number;
|
|
2757
|
+
};
|
|
2758
|
+
};
|
|
2759
|
+
export type GetTeamRushingBySeasonResponse = (Array<TeamRushingSeason>);
|
|
2760
|
+
export type GetTeamRushingBySeasonError = unknown;
|
|
2761
|
+
export type GetTeamRushingByGameData = {
|
|
2762
|
+
query: {
|
|
2763
|
+
/**
|
|
2764
|
+
* Division classification. Defaults to `fbs`.
|
|
2765
|
+
*/
|
|
2766
|
+
classification?: DivisionClassification;
|
|
2767
|
+
/**
|
|
2768
|
+
* Conference name or abbreviation.
|
|
2769
|
+
*/
|
|
2770
|
+
conference?: string;
|
|
2771
|
+
/**
|
|
2772
|
+
* Season type.
|
|
2773
|
+
*/
|
|
2774
|
+
seasonType?: SeasonType;
|
|
2775
|
+
/**
|
|
2776
|
+
* Team name. Either team or week is required.
|
|
2777
|
+
*/
|
|
2778
|
+
team?: string;
|
|
2779
|
+
/**
|
|
2780
|
+
* Week number. Either team or week is required.
|
|
2781
|
+
*/
|
|
2782
|
+
week?: number;
|
|
2783
|
+
/**
|
|
2784
|
+
* Season year. Required.
|
|
2785
|
+
*/
|
|
2786
|
+
year: number;
|
|
2787
|
+
};
|
|
2788
|
+
};
|
|
2789
|
+
export type GetTeamRushingByGameResponse = (Array<TeamRushingGame>);
|
|
2790
|
+
export type GetTeamRushingByGameError = unknown;
|
|
2408
2791
|
export type GetRecruitsData = {
|
|
2409
2792
|
query?: {
|
|
2410
2793
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cfbd",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0",
|
|
4
4
|
"description": "This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
package/src/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
4
|
-
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsError, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsError, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsError, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarError, GetKickerPaarResponse, GetTeamsData, GetTeamsError, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsError, GetFbsTeamsResponse, GetMatchupData, GetMatchupError, GetMatchupResponse, GetTeamsAtsData, GetTeamsAtsError, GetTeamsAtsResponse, GetRosterData, GetRosterError, GetRosterResponse, GetConferencesData, GetConferencesError, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesError, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsError, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentError, GetTalentResponse, GetVenuesError, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsError, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesError, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesError, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsError, GetTeamStatsResponse, GetCategoriesError, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsError, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsError, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsError, GetGameHavocStatsResponse, GetRecruitsData, GetRecruitsError, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsError, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsError, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreError, GetCoreResponse, GetSpData, GetSpError, GetSpResponse, GetConferenceSpData, GetConferenceSpError, GetConferenceSpResponse, GetSrsData, GetSrsError, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsError, GetExpandedSrsResponse, GetEloData, GetEloError, GetEloResponse, GetFpiData, GetFpiError, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysError, GetPlaysResponse, GetPlayTypesError, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsError, GetPlayStatsResponse, GetPlayStatTypesError, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpPlayoffResponse, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersError, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageError, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetPlayerSeasonOverviewError, GetPlayerSeasonOverviewResponse, GetReturningProductionData, GetReturningProductionError, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalError, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysError, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonError, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameError, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonError, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameError, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsError, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamError, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameError, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameError, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonError, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityError, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesError, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsError, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLivePlaysError, GetLivePlaysResponse, GetLinesData, GetLinesError, GetLinesResponse, GetUserInfoError, GetUserInfoResponse, GetUsageData, GetUsageError, GetUsageResponse, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsError, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsError, GetGamePlayerStatsResponse, GetMediaData, GetMediaError, GetMediaResponse, GetWeatherData, GetWeatherError, GetWeatherResponse, GetRecordsData, GetRecordsError, GetRecordsResponse, GetCalendarData, GetCalendarError, GetCalendarResponse, GetScoreboardData, GetScoreboardError, GetScoreboardResponse, GetDrivesData, GetDrivesError, GetDrivesResponse, GetDraftTeamsError, GetDraftTeamsResponse, GetDraftPositionsError, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksError, GetDraftPicksResponse, GetCoachesData, GetCoachesError, GetCoachesResponse, GetCoachProfileData, GetCoachProfileError, GetCoachProfileResponse, GetCoachSeasonsData, GetCoachSeasonsError, GetCoachSeasonsResponse, GetCoachTenuresData, GetCoachTenuresError, GetCoachTenuresResponse, GetAdvancedBoxScoreData, GetAdvancedBoxScoreError, GetAdvancedBoxScoreResponse } from './types.gen';
|
|
4
|
+
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedTeamSeasonStatsError, GetAdjustedTeamSeasonStatsResponse, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerPassingStatsError, GetAdjustedPlayerPassingStatsResponse, GetAdjustedPlayerRushingStatsData, GetAdjustedPlayerRushingStatsError, GetAdjustedPlayerRushingStatsResponse, GetKickerPaarData, GetKickerPaarError, GetKickerPaarResponse, GetTeamsData, GetTeamsError, GetTeamsResponse, GetFbsTeamsData, GetFbsTeamsError, GetFbsTeamsResponse, GetMatchupData, GetMatchupError, GetMatchupResponse, GetTeamsAtsData, GetTeamsAtsError, GetTeamsAtsResponse, GetRosterData, GetRosterError, GetRosterResponse, GetConferencesData, GetConferencesError, GetConferencesResponse, GetTeamConferenceChangesData, GetTeamConferenceChangesError, GetTeamConferenceChangesResponse, GetTeamConferenceAffiliationsData, GetTeamConferenceAffiliationsError, GetTeamConferenceAffiliationsResponse, GetTalentData, GetTalentError, GetTalentResponse, GetVenuesError, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsError, GetPlayerSeasonStatsResponse, GetPlayerSeasonSuccessRatesData, GetPlayerSeasonSuccessRatesError, GetPlayerSeasonSuccessRatesResponse, GetPlayerGameSuccessRatesData, GetPlayerGameSuccessRatesError, GetPlayerGameSuccessRatesResponse, GetTeamStatsData, GetTeamStatsError, GetTeamStatsResponse, GetCategoriesError, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsError, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsError, GetAdvancedGameStatsResponse, GetGameHavocStatsData, GetGameHavocStatsError, GetGameHavocStatsResponse, GetRushingPlaysData, GetRushingPlaysError, GetRushingPlaysResponse, GetPlayerRushingBySeasonData, GetPlayerRushingBySeasonError, GetPlayerRushingBySeasonResponse, GetPlayerRushingByGameData, GetPlayerRushingByGameError, GetPlayerRushingByGameResponse, GetTeamRushingBySeasonData, GetTeamRushingBySeasonError, GetTeamRushingBySeasonResponse, GetTeamRushingByGameData, GetTeamRushingByGameError, GetTeamRushingByGameResponse, GetRecruitsData, GetRecruitsError, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsError, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsError, GetAggregatedTeamRecruitingRatingsResponse, GetCoreData, GetCoreError, GetCoreResponse, GetSpData, GetSpError, GetSpResponse, GetConferenceSpData, GetConferenceSpError, GetConferenceSpResponse, GetSrsData, GetSrsError, GetSrsResponse, GetExpandedSrsData, GetExpandedSrsError, GetExpandedSrsResponse, GetEloData, GetEloError, GetEloResponse, GetFpiData, GetFpiError, GetFpiResponse, GetRankingsData, GetRankingsError, GetRankingsResponse, GetPlaysData, GetPlaysError, GetPlaysResponse, GetPlayTypesError, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsError, GetPlayStatsResponse, GetPlayStatTypesError, GetPlayStatTypesResponse, GetCfpPlayoffData, GetCfpPlayoffError, GetCfpPlayoffResponse, GetCfpParticipantsData, GetCfpParticipantsError, GetCfpParticipantsResponse, GetCfpGamesData, GetCfpGamesError, GetCfpGamesResponse, SearchPlayersData, SearchPlayersError, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageError, GetPlayerUsageResponse, GetPlayerSeasonOverviewData, GetPlayerSeasonOverviewError, GetPlayerSeasonOverviewResponse, GetReturningProductionData, GetReturningProductionError, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalError, GetTransferPortalResponse, GetPassingPlaysData, GetPassingPlaysError, GetPassingPlaysResponse, GetPlayerPassingBySeasonData, GetPlayerPassingBySeasonError, GetPlayerPassingBySeasonResponse, GetPlayerPassingByGameData, GetPlayerPassingByGameError, GetPlayerPassingByGameResponse, GetTeamPassingBySeasonData, GetTeamPassingBySeasonError, GetTeamPassingBySeasonResponse, GetTeamPassingByGameData, GetTeamPassingByGameError, GetTeamPassingByGameResponse, GetPredictedPointsData, GetPredictedPointsError, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamError, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameError, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameError, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonError, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityError, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesError, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsError, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLivePlaysError, GetLivePlaysResponse, GetLinesData, GetLinesError, GetLinesResponse, GetUserInfoError, GetUserInfoResponse, GetUsageData, GetUsageError, GetUsageResponse, GetGamesData, GetGamesError, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsError, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsError, GetGamePlayerStatsResponse, GetMediaData, GetMediaError, GetMediaResponse, GetWeatherData, GetWeatherError, GetWeatherResponse, GetRecordsData, GetRecordsError, GetRecordsResponse, GetCalendarData, GetCalendarError, GetCalendarResponse, GetScoreboardData, GetScoreboardError, GetScoreboardResponse, GetDrivesData, GetDrivesError, GetDrivesResponse, GetDraftTeamsError, GetDraftTeamsResponse, GetDraftPositionsError, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksError, GetDraftPicksResponse, GetCoachesData, GetCoachesError, GetCoachesResponse, GetCoachProfileData, GetCoachProfileError, GetCoachProfileResponse, GetCoachSeasonsData, GetCoachSeasonsError, GetCoachSeasonsResponse, GetCoachTenuresData, GetCoachTenuresError, GetCoachTenuresResponse, GetAdvancedBoxScoreData, GetAdvancedBoxScoreError, GetAdvancedBoxScoreResponse } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig({ baseUrl: 'https://api.collegefootballdata.com' }));
|
|
7
7
|
|
|
@@ -225,6 +225,74 @@ export const getGameHavocStats = <ThrowOnError extends boolean = false>(options?
|
|
|
225
225
|
});
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
+
/**
|
|
229
|
+
* Returns enriched rushing attempts.
|
|
230
|
+
*
|
|
231
|
+
* Team results include sacks, kneels, team-only attempts, and unresolved
|
|
232
|
+
* attribution. Direction eligibility identifies the ordinary-rush analysis
|
|
233
|
+
* population; eligible attempts can still have an unknown direction.
|
|
234
|
+
*/
|
|
235
|
+
export const getRushingPlays = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRushingPlaysData, ThrowOnError>) => {
|
|
236
|
+
return (options?.client ?? client).get<GetRushingPlaysResponse, GetRushingPlaysError, ThrowOnError>({
|
|
237
|
+
...options,
|
|
238
|
+
url: '/rushing/plays'
|
|
239
|
+
});
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Returns individually attributed rusher production by season.
|
|
244
|
+
*
|
|
245
|
+
* Player totals include only guarded rusher attribution, including
|
|
246
|
+
* individually attributed sacks. They do not include team-only or unresolved
|
|
247
|
+
* attempts and therefore are not expected to sum to team totals.
|
|
248
|
+
*/
|
|
249
|
+
export const getPlayerRushingBySeason = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPlayerRushingBySeasonData, ThrowOnError>) => {
|
|
250
|
+
return (options?.client ?? client).get<GetPlayerRushingBySeasonResponse, GetPlayerRushingBySeasonError, ThrowOnError>({
|
|
251
|
+
...options,
|
|
252
|
+
url: '/rushing/players/season'
|
|
253
|
+
});
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Returns individually attributed rusher production by game.
|
|
258
|
+
*
|
|
259
|
+
* Player totals include only guarded rusher attribution, including
|
|
260
|
+
* individually attributed sacks. They do not include team-only or unresolved
|
|
261
|
+
* attempts and therefore are not expected to sum to team totals.
|
|
262
|
+
*/
|
|
263
|
+
export const getPlayerRushingByGame = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPlayerRushingByGameData, ThrowOnError>) => {
|
|
264
|
+
return (options?.client ?? client).get<GetPlayerRushingByGameResponse, GetPlayerRushingByGameError, ThrowOnError>({
|
|
265
|
+
...options,
|
|
266
|
+
url: '/rushing/players/games'
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Returns team rushing production by season.
|
|
272
|
+
*
|
|
273
|
+
* Team totals include sacks, kneels, team-only attempts, and unresolved
|
|
274
|
+
* attribution. Defense contains rushing production allowed.
|
|
275
|
+
*/
|
|
276
|
+
export const getTeamRushingBySeason = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetTeamRushingBySeasonData, ThrowOnError>) => {
|
|
277
|
+
return (options?.client ?? client).get<GetTeamRushingBySeasonResponse, GetTeamRushingBySeasonError, ThrowOnError>({
|
|
278
|
+
...options,
|
|
279
|
+
url: '/rushing/teams/season'
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Returns team rushing production by game.
|
|
285
|
+
*
|
|
286
|
+
* Team totals include sacks, kneels, team-only attempts, and unresolved
|
|
287
|
+
* attribution. Defense contains rushing production allowed.
|
|
288
|
+
*/
|
|
289
|
+
export const getTeamRushingByGame = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTeamRushingByGameData, ThrowOnError>) => {
|
|
290
|
+
return (options?.client ?? client).get<GetTeamRushingByGameResponse, GetTeamRushingByGameError, ThrowOnError>({
|
|
291
|
+
...options,
|
|
292
|
+
url: '/rushing/teams/games'
|
|
293
|
+
});
|
|
294
|
+
};
|
|
295
|
+
|
|
228
296
|
/**
|
|
229
297
|
* Returns player recruiting rankings.
|
|
230
298
|
*/
|
package/src/types.gen.ts
CHANGED
|
@@ -1208,6 +1208,86 @@ export type PlayerPPAChartItem = {
|
|
|
1208
1208
|
avgPPA: number;
|
|
1209
1209
|
};
|
|
1210
1210
|
|
|
1211
|
+
export type PlayerRushingGame = {
|
|
1212
|
+
attempts: number;
|
|
1213
|
+
rushingYardsAvailable: number;
|
|
1214
|
+
totalRushingYards: (number) | null;
|
|
1215
|
+
yardsPerCarry: (number) | null;
|
|
1216
|
+
individualAttempts: number;
|
|
1217
|
+
unattributedAttempts: number;
|
|
1218
|
+
sacks: number;
|
|
1219
|
+
kneels: number;
|
|
1220
|
+
teamRushes: number;
|
|
1221
|
+
multiCarrierAttempts: number;
|
|
1222
|
+
directionEligibleAttempts: number;
|
|
1223
|
+
directionAvailableAttempts: number;
|
|
1224
|
+
successRate: number;
|
|
1225
|
+
ppa: number;
|
|
1226
|
+
totalPpa: number;
|
|
1227
|
+
lineYards: number;
|
|
1228
|
+
lineYardsTotal: number;
|
|
1229
|
+
secondLevelYards: number;
|
|
1230
|
+
secondLevelYardsTotal: number;
|
|
1231
|
+
openFieldYards: number;
|
|
1232
|
+
openFieldYardsTotal: number;
|
|
1233
|
+
stuffRate: number;
|
|
1234
|
+
powerSuccess: number;
|
|
1235
|
+
explosiveness: number;
|
|
1236
|
+
directions: {
|
|
1237
|
+
unknown: RushingDirectionProduction;
|
|
1238
|
+
right: RushingDirectionProduction;
|
|
1239
|
+
middle: RushingDirectionProduction;
|
|
1240
|
+
left: RushingDirectionProduction;
|
|
1241
|
+
};
|
|
1242
|
+
gameId: number;
|
|
1243
|
+
season: number;
|
|
1244
|
+
week: number;
|
|
1245
|
+
seasonType: SeasonType;
|
|
1246
|
+
playerId: string;
|
|
1247
|
+
player: string;
|
|
1248
|
+
team: string;
|
|
1249
|
+
conference: (string) | null;
|
|
1250
|
+
opponent: string;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
export type PlayerRushingSeason = {
|
|
1254
|
+
attempts: number;
|
|
1255
|
+
rushingYardsAvailable: number;
|
|
1256
|
+
totalRushingYards: (number) | null;
|
|
1257
|
+
yardsPerCarry: (number) | null;
|
|
1258
|
+
individualAttempts: number;
|
|
1259
|
+
unattributedAttempts: number;
|
|
1260
|
+
sacks: number;
|
|
1261
|
+
kneels: number;
|
|
1262
|
+
teamRushes: number;
|
|
1263
|
+
multiCarrierAttempts: number;
|
|
1264
|
+
directionEligibleAttempts: number;
|
|
1265
|
+
directionAvailableAttempts: number;
|
|
1266
|
+
successRate: number;
|
|
1267
|
+
ppa: number;
|
|
1268
|
+
totalPpa: number;
|
|
1269
|
+
lineYards: number;
|
|
1270
|
+
lineYardsTotal: number;
|
|
1271
|
+
secondLevelYards: number;
|
|
1272
|
+
secondLevelYardsTotal: number;
|
|
1273
|
+
openFieldYards: number;
|
|
1274
|
+
openFieldYardsTotal: number;
|
|
1275
|
+
stuffRate: number;
|
|
1276
|
+
powerSuccess: number;
|
|
1277
|
+
explosiveness: number;
|
|
1278
|
+
directions: {
|
|
1279
|
+
unknown: RushingDirectionProduction;
|
|
1280
|
+
right: RushingDirectionProduction;
|
|
1281
|
+
middle: RushingDirectionProduction;
|
|
1282
|
+
left: RushingDirectionProduction;
|
|
1283
|
+
};
|
|
1284
|
+
season: number;
|
|
1285
|
+
playerId: string;
|
|
1286
|
+
player: string;
|
|
1287
|
+
team: string;
|
|
1288
|
+
conference: (string) | null;
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1211
1291
|
export type PlayerSearchResult = {
|
|
1212
1292
|
id: string;
|
|
1213
1293
|
team: string;
|
|
@@ -1646,6 +1726,71 @@ export type RosterPlayer = {
|
|
|
1646
1726
|
recruitIds: Array<(string)> | null;
|
|
1647
1727
|
};
|
|
1648
1728
|
|
|
1729
|
+
export type RushAttributionStatus = 'individual' | 'team' | 'multi_carrier' | 'unmatched' | 'ambiguous' | 'conflict' | 'unlinked';
|
|
1730
|
+
|
|
1731
|
+
export type RushDirection = 'left' | 'middle' | 'right';
|
|
1732
|
+
|
|
1733
|
+
export type RushingDirectionProduction = {
|
|
1734
|
+
carries: number;
|
|
1735
|
+
yards: number;
|
|
1736
|
+
yardsPerCarry: number;
|
|
1737
|
+
successRate: number;
|
|
1738
|
+
ppa: number;
|
|
1739
|
+
totalPpa: number;
|
|
1740
|
+
lineYards: number;
|
|
1741
|
+
lineYardsTotal: number;
|
|
1742
|
+
secondLevelYards: number;
|
|
1743
|
+
secondLevelYardsTotal: number;
|
|
1744
|
+
openFieldYards: number;
|
|
1745
|
+
openFieldYardsTotal: number;
|
|
1746
|
+
stuffRate: number;
|
|
1747
|
+
powerSuccess: number;
|
|
1748
|
+
explosiveness: number;
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
export type RushingPlay = {
|
|
1752
|
+
gameId: number;
|
|
1753
|
+
playId: string;
|
|
1754
|
+
driveId: string;
|
|
1755
|
+
season: number;
|
|
1756
|
+
week: number;
|
|
1757
|
+
seasonType: SeasonType;
|
|
1758
|
+
offenseId: number;
|
|
1759
|
+
offense: string;
|
|
1760
|
+
offenseConference: (string) | null;
|
|
1761
|
+
defenseId: number;
|
|
1762
|
+
defense: string;
|
|
1763
|
+
defenseConference: (string) | null;
|
|
1764
|
+
period: number;
|
|
1765
|
+
clock: RushingPlayClock;
|
|
1766
|
+
down: number;
|
|
1767
|
+
distance: number;
|
|
1768
|
+
playText: (string) | null;
|
|
1769
|
+
startYardline: number;
|
|
1770
|
+
startYardsToGoal: (number) | null;
|
|
1771
|
+
rusherId: (string) | null;
|
|
1772
|
+
rusher: (string) | null;
|
|
1773
|
+
rushDirection: ((RushDirection) | null);
|
|
1774
|
+
rushingYards: (number) | null;
|
|
1775
|
+
rusherYards: (number) | null;
|
|
1776
|
+
isRushingTouchdown: (boolean) | null;
|
|
1777
|
+
isSack: boolean;
|
|
1778
|
+
isKneel: boolean;
|
|
1779
|
+
isTeamRush: boolean;
|
|
1780
|
+
attributionStatus: RushAttributionStatus;
|
|
1781
|
+
directionAnalysisEligible: boolean;
|
|
1782
|
+
parseStatus: RushParseStatus;
|
|
1783
|
+
ppa: (number) | null;
|
|
1784
|
+
success: (boolean) | null;
|
|
1785
|
+
};
|
|
1786
|
+
|
|
1787
|
+
export type RushingPlayClock = {
|
|
1788
|
+
minutes: number;
|
|
1789
|
+
seconds: number;
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
export type RushParseStatus = 'complete' | 'partial' | 'invalid';
|
|
1793
|
+
|
|
1649
1794
|
export type ScoreboardGame = {
|
|
1650
1795
|
id: number;
|
|
1651
1796
|
startDate: string;
|
|
@@ -1916,6 +2061,61 @@ export type TeamRecruitingRanking = {
|
|
|
1916
2061
|
points: number;
|
|
1917
2062
|
};
|
|
1918
2063
|
|
|
2064
|
+
export type TeamRushingGame = {
|
|
2065
|
+
gameId: number;
|
|
2066
|
+
season: number;
|
|
2067
|
+
week: number;
|
|
2068
|
+
seasonType: SeasonType;
|
|
2069
|
+
team: string;
|
|
2070
|
+
conference: (string) | null;
|
|
2071
|
+
opponent: string;
|
|
2072
|
+
offense: TeamRushingProduction;
|
|
2073
|
+
defense: TeamRushingProduction;
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
export type TeamRushingProduction = {
|
|
2077
|
+
attempts: number;
|
|
2078
|
+
rushingYardsAvailable: number;
|
|
2079
|
+
totalRushingYards: (number) | null;
|
|
2080
|
+
yardsPerCarry: (number) | null;
|
|
2081
|
+
individualAttempts: number;
|
|
2082
|
+
unattributedAttempts: number;
|
|
2083
|
+
sacks: number;
|
|
2084
|
+
kneels: number;
|
|
2085
|
+
teamRushes: number;
|
|
2086
|
+
multiCarrierAttempts: number;
|
|
2087
|
+
directionEligibleAttempts: number;
|
|
2088
|
+
directionAvailableAttempts: number;
|
|
2089
|
+
successRate: number;
|
|
2090
|
+
ppa: number;
|
|
2091
|
+
totalPpa: number;
|
|
2092
|
+
lineYards: number;
|
|
2093
|
+
lineYardsTotal: number;
|
|
2094
|
+
secondLevelYards: number;
|
|
2095
|
+
secondLevelYardsTotal: number;
|
|
2096
|
+
openFieldYards: number;
|
|
2097
|
+
openFieldYardsTotal: number;
|
|
2098
|
+
stuffRate: number;
|
|
2099
|
+
powerSuccess: number;
|
|
2100
|
+
explosiveness: number;
|
|
2101
|
+
directions: {
|
|
2102
|
+
unknown: RushingDirectionProduction;
|
|
2103
|
+
right: RushingDirectionProduction;
|
|
2104
|
+
middle: RushingDirectionProduction;
|
|
2105
|
+
left: RushingDirectionProduction;
|
|
2106
|
+
};
|
|
2107
|
+
touchdownStatusAvailable: number;
|
|
2108
|
+
rushingTouchdowns: number;
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
export type TeamRushingSeason = {
|
|
2112
|
+
season: number;
|
|
2113
|
+
team: string;
|
|
2114
|
+
conference: (string) | null;
|
|
2115
|
+
offense: TeamRushingProduction;
|
|
2116
|
+
defense: TeamRushingProduction;
|
|
2117
|
+
};
|
|
2118
|
+
|
|
1919
2119
|
export type TeamRushingStats = {
|
|
1920
2120
|
team: string;
|
|
1921
2121
|
powerSuccess: number;
|
|
@@ -2637,6 +2837,215 @@ export type GetGameHavocStatsResponse = (Array<GameHavocStats>);
|
|
|
2637
2837
|
|
|
2638
2838
|
export type GetGameHavocStatsError = unknown;
|
|
2639
2839
|
|
|
2840
|
+
export type GetRushingPlaysData = {
|
|
2841
|
+
query?: {
|
|
2842
|
+
/**
|
|
2843
|
+
* Rusher attribution status.
|
|
2844
|
+
*/
|
|
2845
|
+
attributionStatus?: RushAttributionStatus;
|
|
2846
|
+
/**
|
|
2847
|
+
* Division classification. Defaults to `fbs`.
|
|
2848
|
+
*/
|
|
2849
|
+
classification?: DivisionClassification;
|
|
2850
|
+
/**
|
|
2851
|
+
* Conference name or abbreviation on either side of the rush.
|
|
2852
|
+
*/
|
|
2853
|
+
conference?: string;
|
|
2854
|
+
/**
|
|
2855
|
+
* Defending team name.
|
|
2856
|
+
*/
|
|
2857
|
+
defense?: string;
|
|
2858
|
+
/**
|
|
2859
|
+
* Filters attempts by ordinary direction-analysis eligibility.
|
|
2860
|
+
*/
|
|
2861
|
+
directionAnalysisEligible?: boolean;
|
|
2862
|
+
/**
|
|
2863
|
+
* Game ID.
|
|
2864
|
+
*/
|
|
2865
|
+
gameId?: number;
|
|
2866
|
+
/**
|
|
2867
|
+
* Filters kneel attempts.
|
|
2868
|
+
*/
|
|
2869
|
+
isKneel?: boolean;
|
|
2870
|
+
/**
|
|
2871
|
+
* Filters known rushing touchdown results.
|
|
2872
|
+
*/
|
|
2873
|
+
isRushingTouchdown?: boolean;
|
|
2874
|
+
/**
|
|
2875
|
+
* Filters sack attempts.
|
|
2876
|
+
*/
|
|
2877
|
+
isSack?: boolean;
|
|
2878
|
+
/**
|
|
2879
|
+
* Filters team-only rushing attempts.
|
|
2880
|
+
*/
|
|
2881
|
+
isTeamRush?: boolean;
|
|
2882
|
+
/**
|
|
2883
|
+
* Rushing offense team name.
|
|
2884
|
+
*/
|
|
2885
|
+
offense?: string;
|
|
2886
|
+
/**
|
|
2887
|
+
* Rushing direction.
|
|
2888
|
+
*/
|
|
2889
|
+
rushDirection?: RushDirection;
|
|
2890
|
+
/**
|
|
2891
|
+
* Rusher athlete ID.
|
|
2892
|
+
*/
|
|
2893
|
+
rusherId?: string;
|
|
2894
|
+
/**
|
|
2895
|
+
* Season type.
|
|
2896
|
+
*/
|
|
2897
|
+
seasonType?: SeasonType;
|
|
2898
|
+
/**
|
|
2899
|
+
* Team name on either side of the rush; either team or week is required with year.
|
|
2900
|
+
*/
|
|
2901
|
+
team?: string;
|
|
2902
|
+
/**
|
|
2903
|
+
* Week number. Requires year; either team or week is required with year.
|
|
2904
|
+
*/
|
|
2905
|
+
week?: number;
|
|
2906
|
+
/**
|
|
2907
|
+
* Season year. Requires team or week.
|
|
2908
|
+
*/
|
|
2909
|
+
year?: number;
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2913
|
+
export type GetRushingPlaysResponse = (Array<RushingPlay>);
|
|
2914
|
+
|
|
2915
|
+
export type GetRushingPlaysError = unknown;
|
|
2916
|
+
|
|
2917
|
+
export type GetPlayerRushingBySeasonData = {
|
|
2918
|
+
query?: {
|
|
2919
|
+
/**
|
|
2920
|
+
* Division classification. Defaults to `fbs`.
|
|
2921
|
+
*/
|
|
2922
|
+
classification?: DivisionClassification;
|
|
2923
|
+
/**
|
|
2924
|
+
* Conference name or abbreviation.
|
|
2925
|
+
*/
|
|
2926
|
+
conference?: string;
|
|
2927
|
+
/**
|
|
2928
|
+
* Rusher athlete ID. Required unless year is specified.
|
|
2929
|
+
*/
|
|
2930
|
+
rusherId?: string;
|
|
2931
|
+
/**
|
|
2932
|
+
* Season type.
|
|
2933
|
+
*/
|
|
2934
|
+
seasonType?: SeasonType;
|
|
2935
|
+
/**
|
|
2936
|
+
* Team name.
|
|
2937
|
+
*/
|
|
2938
|
+
team?: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* Season year. Required unless rusherId is specified.
|
|
2941
|
+
*/
|
|
2942
|
+
year?: number;
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
export type GetPlayerRushingBySeasonResponse = (Array<PlayerRushingSeason>);
|
|
2947
|
+
|
|
2948
|
+
export type GetPlayerRushingBySeasonError = unknown;
|
|
2949
|
+
|
|
2950
|
+
export type GetPlayerRushingByGameData = {
|
|
2951
|
+
query?: {
|
|
2952
|
+
/**
|
|
2953
|
+
* Division classification. Defaults to `fbs`.
|
|
2954
|
+
*/
|
|
2955
|
+
classification?: DivisionClassification;
|
|
2956
|
+
/**
|
|
2957
|
+
* Conference name or abbreviation.
|
|
2958
|
+
*/
|
|
2959
|
+
conference?: string;
|
|
2960
|
+
/**
|
|
2961
|
+
* Rusher athlete ID. Required unless year is specified.
|
|
2962
|
+
*/
|
|
2963
|
+
rusherId?: string;
|
|
2964
|
+
/**
|
|
2965
|
+
* Season type.
|
|
2966
|
+
*/
|
|
2967
|
+
seasonType?: SeasonType;
|
|
2968
|
+
/**
|
|
2969
|
+
* Team name; either team or week is required with year.
|
|
2970
|
+
*/
|
|
2971
|
+
team?: string;
|
|
2972
|
+
/**
|
|
2973
|
+
* Week number. Requires year; either team or week is required with year.
|
|
2974
|
+
*/
|
|
2975
|
+
week?: number;
|
|
2976
|
+
/**
|
|
2977
|
+
* Season year. Requires team or week; optional when rusherId is specified alone.
|
|
2978
|
+
*/
|
|
2979
|
+
year?: number;
|
|
2980
|
+
};
|
|
2981
|
+
};
|
|
2982
|
+
|
|
2983
|
+
export type GetPlayerRushingByGameResponse = (Array<PlayerRushingGame>);
|
|
2984
|
+
|
|
2985
|
+
export type GetPlayerRushingByGameError = unknown;
|
|
2986
|
+
|
|
2987
|
+
export type GetTeamRushingBySeasonData = {
|
|
2988
|
+
query?: {
|
|
2989
|
+
/**
|
|
2990
|
+
* Division classification. Defaults to `fbs`.
|
|
2991
|
+
*/
|
|
2992
|
+
classification?: DivisionClassification;
|
|
2993
|
+
/**
|
|
2994
|
+
* Conference name or abbreviation.
|
|
2995
|
+
*/
|
|
2996
|
+
conference?: string;
|
|
2997
|
+
/**
|
|
2998
|
+
* Season type.
|
|
2999
|
+
*/
|
|
3000
|
+
seasonType?: SeasonType;
|
|
3001
|
+
/**
|
|
3002
|
+
* Team name. Required unless year is specified.
|
|
3003
|
+
*/
|
|
3004
|
+
team?: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* Season year. Required unless team is specified.
|
|
3007
|
+
*/
|
|
3008
|
+
year?: number;
|
|
3009
|
+
};
|
|
3010
|
+
};
|
|
3011
|
+
|
|
3012
|
+
export type GetTeamRushingBySeasonResponse = (Array<TeamRushingSeason>);
|
|
3013
|
+
|
|
3014
|
+
export type GetTeamRushingBySeasonError = unknown;
|
|
3015
|
+
|
|
3016
|
+
export type GetTeamRushingByGameData = {
|
|
3017
|
+
query: {
|
|
3018
|
+
/**
|
|
3019
|
+
* Division classification. Defaults to `fbs`.
|
|
3020
|
+
*/
|
|
3021
|
+
classification?: DivisionClassification;
|
|
3022
|
+
/**
|
|
3023
|
+
* Conference name or abbreviation.
|
|
3024
|
+
*/
|
|
3025
|
+
conference?: string;
|
|
3026
|
+
/**
|
|
3027
|
+
* Season type.
|
|
3028
|
+
*/
|
|
3029
|
+
seasonType?: SeasonType;
|
|
3030
|
+
/**
|
|
3031
|
+
* Team name. Either team or week is required.
|
|
3032
|
+
*/
|
|
3033
|
+
team?: string;
|
|
3034
|
+
/**
|
|
3035
|
+
* Week number. Either team or week is required.
|
|
3036
|
+
*/
|
|
3037
|
+
week?: number;
|
|
3038
|
+
/**
|
|
3039
|
+
* Season year. Required.
|
|
3040
|
+
*/
|
|
3041
|
+
year: number;
|
|
3042
|
+
};
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3045
|
+
export type GetTeamRushingByGameResponse = (Array<TeamRushingGame>);
|
|
3046
|
+
|
|
3047
|
+
export type GetTeamRushingByGameError = unknown;
|
|
3048
|
+
|
|
2640
3049
|
export type GetRecruitsData = {
|
|
2641
3050
|
query?: {
|
|
2642
3051
|
/**
|
package/cfbd-5.25.0.tgz
DELETED
|
Binary file
|