cfbd 5.24.2 → 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 +59 -1
- package/dist/sdk.gen.js +100 -2
- package/dist/types.gen.d.ts +713 -0
- package/package.json +1 -1
- package/src/sdk.gen.ts +119 -1
- package/src/types.gen.ts +766 -0
- package/cfbd-5.24.2.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, 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
|
*/
|
|
@@ -183,6 +221,26 @@ export declare const getReturningProduction: <ThrowOnError extends boolean = fal
|
|
|
183
221
|
* Returns transfer portal entries for a season.
|
|
184
222
|
*/
|
|
185
223
|
export declare const getTransferPortal: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTransferPortalData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTransferPortalResponse, unknown, ThrowOnError>;
|
|
224
|
+
/**
|
|
225
|
+
* Returns enriched pass attempts.
|
|
226
|
+
*/
|
|
227
|
+
export declare const getPassingPlays: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPassingPlaysData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPassingPlaysResponse, unknown, ThrowOnError>;
|
|
228
|
+
/**
|
|
229
|
+
* Returns passer production by season.
|
|
230
|
+
*/
|
|
231
|
+
export declare const getPlayerPassingBySeason: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPlayerPassingBySeasonData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayerPassingBySeasonResponse, unknown, ThrowOnError>;
|
|
232
|
+
/**
|
|
233
|
+
* Returns passer production by game.
|
|
234
|
+
*/
|
|
235
|
+
export declare const getPlayerPassingByGame: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPlayerPassingByGameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayerPassingByGameResponse, unknown, ThrowOnError>;
|
|
236
|
+
/**
|
|
237
|
+
* Returns team passing production by season.
|
|
238
|
+
*/
|
|
239
|
+
export declare const getTeamPassingBySeason: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetTeamPassingBySeasonData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamPassingBySeasonResponse, unknown, ThrowOnError>;
|
|
240
|
+
/**
|
|
241
|
+
* Returns team passing production by game.
|
|
242
|
+
*/
|
|
243
|
+
export declare const getTeamPassingByGame: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTeamPassingByGameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamPassingByGameResponse, unknown, ThrowOnError>;
|
|
186
244
|
/**
|
|
187
245
|
* Returns predicted points values by down and distance.
|
|
188
246
|
*/
|
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 = 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
|
*/
|
|
@@ -378,6 +436,46 @@ var getTransferPortal = function (options) {
|
|
|
378
436
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/player/portal' }));
|
|
379
437
|
};
|
|
380
438
|
exports.getTransferPortal = getTransferPortal;
|
|
439
|
+
/**
|
|
440
|
+
* Returns enriched pass attempts.
|
|
441
|
+
*/
|
|
442
|
+
var getPassingPlays = function (options) {
|
|
443
|
+
var _a;
|
|
444
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/passing/plays' }));
|
|
445
|
+
};
|
|
446
|
+
exports.getPassingPlays = getPassingPlays;
|
|
447
|
+
/**
|
|
448
|
+
* Returns passer production by season.
|
|
449
|
+
*/
|
|
450
|
+
var getPlayerPassingBySeason = function (options) {
|
|
451
|
+
var _a;
|
|
452
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/passing/players/season' }));
|
|
453
|
+
};
|
|
454
|
+
exports.getPlayerPassingBySeason = getPlayerPassingBySeason;
|
|
455
|
+
/**
|
|
456
|
+
* Returns passer production by game.
|
|
457
|
+
*/
|
|
458
|
+
var getPlayerPassingByGame = function (options) {
|
|
459
|
+
var _a;
|
|
460
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/passing/players/games' }));
|
|
461
|
+
};
|
|
462
|
+
exports.getPlayerPassingByGame = getPlayerPassingByGame;
|
|
463
|
+
/**
|
|
464
|
+
* Returns team passing production by season.
|
|
465
|
+
*/
|
|
466
|
+
var getTeamPassingBySeason = function (options) {
|
|
467
|
+
var _a;
|
|
468
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/passing/teams/season' }));
|
|
469
|
+
};
|
|
470
|
+
exports.getTeamPassingBySeason = getTeamPassingBySeason;
|
|
471
|
+
/**
|
|
472
|
+
* Returns team passing production by game.
|
|
473
|
+
*/
|
|
474
|
+
var getTeamPassingByGame = function (options) {
|
|
475
|
+
var _a;
|
|
476
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/passing/teams/games' }));
|
|
477
|
+
};
|
|
478
|
+
exports.getTeamPassingByGame = getTeamPassingByGame;
|
|
381
479
|
/**
|
|
382
480
|
* Returns predicted points values by down and distance.
|
|
383
481
|
*/
|