cfbd 5.4.8-alpha.0 → 5.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cfbd-5.8.2.tgz +0 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +63 -59
- package/dist/sdk.gen.js +68 -345
- package/dist/types.gen.d.ts +1394 -1861
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/sdk.gen.ts +241 -573
- package/src/types.gen.ts +1429 -1898
- package/cfbd-5.4.8-alpha.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# cfbd
|
|
2
|
-
This
|
|
2
|
+
This is an API for query various college football datasets and analytics. API keys can be acquired from the CollegeFootballData.com website.
|
|
3
3
|
|
|
4
4
|
This TypeScript package is automatically generated by the [Hey API](https://heyapi.vercel.app/) project:
|
|
5
5
|
|
|
6
|
-
- API version: 5.
|
|
7
|
-
- Package version: 5.
|
|
6
|
+
- API version: 5.5.1
|
|
7
|
+
- Package version: 5.5.1
|
|
8
8
|
|
|
9
9
|
## Requirements.
|
|
10
10
|
|
package/cfbd-5.8.2.tgz
ADDED
|
Binary file
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
18
|
-
__exportStar(require("./types.gen"), exports);
|
|
19
18
|
__exportStar(require("./sdk.gen"), exports);
|
|
19
|
+
__exportStar(require("./types.gen"), exports);
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,231 +1,235 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { GetAdjustedTeamSeasonStatsData, GetAdjustedPlayerPassingStatsData, GetAdjustedPlayerRushingStatsData, GetKickerPaarData, GetTeamsData, GetFbsTeamsData, GetMatchupData, GetRosterData,
|
|
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, GetRosterData, GetRosterResponse, GetConferencesResponse, GetTalentData, GetTalentResponse, GetVenuesResponse, GetPlayerSeasonStatsData, GetPlayerSeasonStatsResponse, GetTeamStatsData, GetTeamStatsResponse, GetCategoriesResponse, GetAdvancedSeasonStatsData, GetAdvancedSeasonStatsResponse, GetAdvancedGameStatsData, GetAdvancedGameStatsResponse, GetRecruitsData, GetRecruitsResponse, GetTeamRecruitingRankingsData, GetTeamRecruitingRankingsResponse, GetAggregatedTeamRecruitingRatingsData, GetAggregatedTeamRecruitingRatingsResponse, GetSpData, GetSpResponse, GetConferenceSpData, GetConferenceSpResponse, GetSrsData, GetSrsResponse, GetEloData, GetEloResponse, GetFpiData, GetFpiResponse, GetRankingsData, GetRankingsResponse, GetPlaysData, GetPlaysResponse, GetPlayTypesResponse, GetPlayStatsData, GetPlayStatsResponse, GetPlayStatTypesResponse, SearchPlayersData, SearchPlayersResponse, GetPlayerUsageData, GetPlayerUsageResponse, GetReturningProductionData, GetReturningProductionResponse, GetTransferPortalData, GetTransferPortalResponse, GetPredictedPointsData, GetPredictedPointsResponse, GetPredictedPointsAddedByTeamData, GetPredictedPointsAddedByTeamResponse, GetPredictedPointsAddedByGameData, GetPredictedPointsAddedByGameResponse, GetPredictedPointsAddedByPlayerGameData, GetPredictedPointsAddedByPlayerGameResponse, GetPredictedPointsAddedByPlayerSeasonData, GetPredictedPointsAddedByPlayerSeasonResponse, GetWinProbabilityData, GetWinProbabilityResponse, GetPregameWinProbabilitiesData, GetPregameWinProbabilitiesResponse, GetFieldGoalExpectedPointsResponse, GetLivePlaysData, GetLinesData, GetLinesResponse, GetUserInfoResponse, GetGamesData, GetGamesResponse, GetGameTeamStatsData, GetGameTeamStatsResponse, GetGamePlayerStatsData, GetGamePlayerStatsResponse, GetMediaData, GetMediaResponse, GetWeatherData, GetWeatherResponse, GetRecordsData, GetRecordsResponse, GetCalendarData, GetCalendarResponse, GetScoreboardData, GetScoreboardResponse, GetDrivesData, GetDrivesResponse, GetDraftTeamsResponse, GetDraftPositionsResponse, GetDraftPicksData, GetDraftPicksResponse, GetCoachesData, GetCoachesResponse, 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
|
* Retrieve opponent-adjusted team season statistics
|
|
6
6
|
*/
|
|
7
|
-
export declare const getAdjustedTeamSeasonStats: <ThrowOnError extends boolean = false>(options?:
|
|
7
|
+
export declare const getAdjustedTeamSeasonStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdjustedTeamSeasonStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedTeamSeasonStatsResponse, unknown, ThrowOnError>;
|
|
8
8
|
/**
|
|
9
9
|
* Retrieve opponent-adjusted player passing statistics
|
|
10
10
|
*/
|
|
11
|
-
export declare const getAdjustedPlayerPassingStats: <ThrowOnError extends boolean = false>(options?:
|
|
11
|
+
export declare const getAdjustedPlayerPassingStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdjustedPlayerPassingStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedPlayerPassingStatsResponse, unknown, ThrowOnError>;
|
|
12
12
|
/**
|
|
13
13
|
* Retrieve opponent-adjusted player rushing statistics
|
|
14
14
|
*/
|
|
15
|
-
export declare const getAdjustedPlayerRushingStats: <ThrowOnError extends boolean = false>(options?:
|
|
15
|
+
export declare const getAdjustedPlayerRushingStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdjustedPlayerRushingStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdjustedPlayerRushingStatsResponse, unknown, ThrowOnError>;
|
|
16
16
|
/**
|
|
17
17
|
* Retrieve Points Added Above Replacement (PAAR) ratings for kickers
|
|
18
18
|
*/
|
|
19
|
-
export declare const getKickerPaar: <ThrowOnError extends boolean = false>(options?:
|
|
19
|
+
export declare const getKickerPaar: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetKickerPaarData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetKickerPaarResponse, unknown, ThrowOnError>;
|
|
20
20
|
/**
|
|
21
21
|
* Retrieves team information
|
|
22
22
|
*/
|
|
23
|
-
export declare const getTeams: <ThrowOnError extends boolean = false>(options?:
|
|
23
|
+
export declare const getTeams: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetTeamsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamsResponse, unknown, ThrowOnError>;
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves information on teams playing in the highest division of CFB
|
|
26
26
|
*/
|
|
27
|
-
export declare const getFbsTeams: <ThrowOnError extends boolean = false>(options?:
|
|
27
|
+
export declare const getFbsTeams: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetFbsTeamsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetFbsTeamsResponse, unknown, ThrowOnError>;
|
|
28
28
|
/**
|
|
29
29
|
* Retrieves historical matchup details for two given teams
|
|
30
30
|
*/
|
|
31
|
-
export declare const getMatchup: <ThrowOnError extends boolean = false>(options:
|
|
31
|
+
export declare const getMatchup: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetMatchupData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").Matchup, unknown, ThrowOnError>;
|
|
32
32
|
/**
|
|
33
33
|
* Retrieves historical roster data
|
|
34
34
|
*/
|
|
35
|
-
export declare const getRoster: <ThrowOnError extends boolean = false>(options?:
|
|
35
|
+
export declare const getRoster: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRosterData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetRosterResponse, unknown, ThrowOnError>;
|
|
36
36
|
/**
|
|
37
37
|
* Retrieves list of conferences
|
|
38
38
|
*/
|
|
39
|
-
export declare const getConferences: <ThrowOnError extends boolean = false>(options?:
|
|
39
|
+
export declare const getConferences: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetConferencesResponse, unknown, ThrowOnError>;
|
|
40
40
|
/**
|
|
41
41
|
* Retrieve 247 Team Talent Composite for a given year
|
|
42
42
|
*/
|
|
43
|
-
export declare const getTalent: <ThrowOnError extends boolean = false>(options:
|
|
43
|
+
export declare const getTalent: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTalentData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTalentResponse, unknown, ThrowOnError>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve list of venues
|
|
46
46
|
*/
|
|
47
|
-
export declare const getVenues: <ThrowOnError extends boolean = false>(options?:
|
|
47
|
+
export declare const getVenues: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetVenuesResponse, unknown, ThrowOnError>;
|
|
48
48
|
/**
|
|
49
49
|
* Retrieves aggregated player statistics for a given season
|
|
50
50
|
*/
|
|
51
|
-
export declare const getPlayerSeasonStats: <ThrowOnError extends boolean = false>(options:
|
|
51
|
+
export declare const getPlayerSeasonStats: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPlayerSeasonStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayerSeasonStatsResponse, unknown, ThrowOnError>;
|
|
52
52
|
/**
|
|
53
53
|
* Retrieves aggregated team season statistics
|
|
54
54
|
*/
|
|
55
|
-
export declare const getTeamStats: <ThrowOnError extends boolean = false>(options?:
|
|
55
|
+
export declare const getTeamStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetTeamStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamStatsResponse, unknown, ThrowOnError>;
|
|
56
56
|
/**
|
|
57
57
|
* Gets team statistical categories
|
|
58
58
|
*/
|
|
59
|
-
export declare const getCategories: <ThrowOnError extends boolean = false>(options?:
|
|
59
|
+
export declare const getCategories: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetCategoriesResponse, unknown, ThrowOnError>;
|
|
60
60
|
/**
|
|
61
61
|
* Retrieves advanced season statistics for teams
|
|
62
62
|
*/
|
|
63
|
-
export declare const getAdvancedSeasonStats: <ThrowOnError extends boolean = false>(options?:
|
|
63
|
+
export declare const getAdvancedSeasonStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdvancedSeasonStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdvancedSeasonStatsResponse, unknown, ThrowOnError>;
|
|
64
64
|
/**
|
|
65
65
|
* Retrieves advanced statistics aggregated by game
|
|
66
66
|
*/
|
|
67
|
-
export declare const getAdvancedGameStats: <ThrowOnError extends boolean = false>(options?:
|
|
67
|
+
export declare const getAdvancedGameStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdvancedGameStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAdvancedGameStatsResponse, unknown, ThrowOnError>;
|
|
68
68
|
/**
|
|
69
69
|
* Retrieves player recruiting rankings
|
|
70
70
|
*/
|
|
71
|
-
export declare const getRecruits: <ThrowOnError extends boolean = false>(options?:
|
|
71
|
+
export declare const getRecruits: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRecruitsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetRecruitsResponse, unknown, ThrowOnError>;
|
|
72
72
|
/**
|
|
73
73
|
* Retrieves team recruiting rankings
|
|
74
74
|
*/
|
|
75
|
-
export declare const getTeamRecruitingRankings: <ThrowOnError extends boolean = false>(options?:
|
|
75
|
+
export declare const getTeamRecruitingRankings: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetTeamRecruitingRankingsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTeamRecruitingRankingsResponse, unknown, ThrowOnError>;
|
|
76
76
|
/**
|
|
77
77
|
* Retrieves aggregated recruiting statistics by team and position grouping
|
|
78
78
|
*/
|
|
79
|
-
export declare const getAggregatedTeamRecruitingRatings: <ThrowOnError extends boolean = false>(options?:
|
|
79
|
+
export declare const getAggregatedTeamRecruitingRatings: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAggregatedTeamRecruitingRatingsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetAggregatedTeamRecruitingRatingsResponse, unknown, ThrowOnError>;
|
|
80
80
|
/**
|
|
81
81
|
* Retrieves SP+ ratings for a given year or school
|
|
82
82
|
*/
|
|
83
|
-
export declare const getSp: <ThrowOnError extends boolean = false>(options?:
|
|
83
|
+
export declare const getSp: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetSpData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetSpResponse, unknown, ThrowOnError>;
|
|
84
84
|
/**
|
|
85
85
|
* Retrieves aggregated historical conference SP+ data
|
|
86
86
|
*/
|
|
87
|
-
export declare const getConferenceSp: <ThrowOnError extends boolean = false>(options?:
|
|
87
|
+
export declare const getConferenceSp: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetConferenceSpData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetConferenceSpResponse, unknown, ThrowOnError>;
|
|
88
88
|
/**
|
|
89
89
|
* Retrieves historical SRS for a year or team
|
|
90
90
|
*/
|
|
91
|
-
export declare const getSrs: <ThrowOnError extends boolean = false>(options?:
|
|
91
|
+
export declare const getSrs: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetSrsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetSrsResponse, unknown, ThrowOnError>;
|
|
92
92
|
/**
|
|
93
93
|
* Retrieves historical Elo ratings
|
|
94
94
|
*/
|
|
95
|
-
export declare const getElo: <ThrowOnError extends boolean = false>(options?:
|
|
95
|
+
export declare const getElo: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetEloData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetEloResponse, unknown, ThrowOnError>;
|
|
96
96
|
/**
|
|
97
97
|
* Retrieves historical Football Power Index (FPI) ratings
|
|
98
98
|
*/
|
|
99
|
-
export declare const getFpi: <ThrowOnError extends boolean = false>(options?:
|
|
99
|
+
export declare const getFpi: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetFpiData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetFpiResponse, unknown, ThrowOnError>;
|
|
100
100
|
/**
|
|
101
101
|
* Retrieves historical poll data
|
|
102
102
|
*/
|
|
103
|
-
export declare const getRankings: <ThrowOnError extends boolean = false>(options:
|
|
103
|
+
export declare const getRankings: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRankingsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetRankingsResponse, unknown, ThrowOnError>;
|
|
104
104
|
/**
|
|
105
105
|
* Retrieves historical play data
|
|
106
106
|
*/
|
|
107
|
-
export declare const getPlays: <ThrowOnError extends boolean = false>(options:
|
|
107
|
+
export declare const getPlays: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPlaysData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlaysResponse, unknown, ThrowOnError>;
|
|
108
108
|
/**
|
|
109
109
|
* Retrieves available play types
|
|
110
110
|
*/
|
|
111
|
-
export declare const getPlayTypes: <ThrowOnError extends boolean = false>(options?:
|
|
111
|
+
export declare const getPlayTypes: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayTypesResponse, unknown, ThrowOnError>;
|
|
112
112
|
/**
|
|
113
113
|
* Retrieve player-play associations (limit 2000)
|
|
114
114
|
*/
|
|
115
|
-
export declare const getPlayStats: <ThrowOnError extends boolean = false>(options?:
|
|
115
|
+
export declare const getPlayStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPlayStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayStatsResponse, unknown, ThrowOnError>;
|
|
116
116
|
/**
|
|
117
117
|
* Retrieves available play stat types
|
|
118
118
|
*/
|
|
119
|
-
export declare const getPlayStatTypes: <ThrowOnError extends boolean = false>(options?:
|
|
119
|
+
export declare const getPlayStatTypes: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayStatTypesResponse, unknown, ThrowOnError>;
|
|
120
120
|
/**
|
|
121
121
|
* Search for players (lists top 100 results)
|
|
122
122
|
*/
|
|
123
|
-
export declare const searchPlayers: <ThrowOnError extends boolean = false>(options:
|
|
123
|
+
export declare const searchPlayers: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SearchPlayersData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<SearchPlayersResponse, unknown, ThrowOnError>;
|
|
124
124
|
/**
|
|
125
125
|
* Retrieves player usage data for a given season
|
|
126
126
|
*/
|
|
127
|
-
export declare const getPlayerUsage: <ThrowOnError extends boolean = false>(options:
|
|
127
|
+
export declare const getPlayerUsage: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPlayerUsageData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPlayerUsageResponse, unknown, ThrowOnError>;
|
|
128
128
|
/**
|
|
129
129
|
* Retrieves returning production data. Either a year or team filter must be specified.
|
|
130
130
|
*/
|
|
131
|
-
export declare const getReturningProduction: <ThrowOnError extends boolean = false>(options?:
|
|
131
|
+
export declare const getReturningProduction: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetReturningProductionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetReturningProductionResponse, unknown, ThrowOnError>;
|
|
132
132
|
/**
|
|
133
133
|
* Retrieves transfer portal data for a given year
|
|
134
134
|
*/
|
|
135
|
-
export declare const getTransferPortal: <ThrowOnError extends boolean = false>(options:
|
|
135
|
+
export declare const getTransferPortal: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTransferPortalData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTransferPortalResponse, unknown, ThrowOnError>;
|
|
136
136
|
/**
|
|
137
137
|
* Query Predicted Points values by down and distance
|
|
138
138
|
*/
|
|
139
|
-
export declare const getPredictedPoints: <ThrowOnError extends boolean = false>(options:
|
|
139
|
+
export declare const getPredictedPoints: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPredictedPointsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPredictedPointsResponse, unknown, ThrowOnError>;
|
|
140
140
|
/**
|
|
141
141
|
* Retrieves historical team PPA metrics by season
|
|
142
142
|
*/
|
|
143
|
-
export declare const getPredictedPointsAddedByTeam: <ThrowOnError extends boolean = false>(options?:
|
|
143
|
+
export declare const getPredictedPointsAddedByTeam: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPredictedPointsAddedByTeamData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPredictedPointsAddedByTeamResponse, unknown, ThrowOnError>;
|
|
144
144
|
/**
|
|
145
145
|
* Retrieves historical team PPA metrics by game
|
|
146
146
|
*/
|
|
147
|
-
export declare const getPredictedPointsAddedByGame: <ThrowOnError extends boolean = false>(options:
|
|
147
|
+
export declare const getPredictedPointsAddedByGame: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPredictedPointsAddedByGameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPredictedPointsAddedByGameResponse, unknown, ThrowOnError>;
|
|
148
148
|
/**
|
|
149
149
|
* Queries player PPA statistics by game
|
|
150
150
|
*/
|
|
151
|
-
export declare const getPredictedPointsAddedByPlayerGame: <ThrowOnError extends boolean = false>(options:
|
|
151
|
+
export declare const getPredictedPointsAddedByPlayerGame: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPredictedPointsAddedByPlayerGameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPredictedPointsAddedByPlayerGameResponse, unknown, ThrowOnError>;
|
|
152
152
|
/**
|
|
153
153
|
* Queries player PPA statistics by season
|
|
154
154
|
*/
|
|
155
|
-
export declare const getPredictedPointsAddedByPlayerSeason: <ThrowOnError extends boolean = false>(options?:
|
|
155
|
+
export declare const getPredictedPointsAddedByPlayerSeason: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPredictedPointsAddedByPlayerSeasonData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPredictedPointsAddedByPlayerSeasonResponse, unknown, ThrowOnError>;
|
|
156
156
|
/**
|
|
157
157
|
* Query play win probabilities by game
|
|
158
158
|
*/
|
|
159
|
-
export declare const getWinProbability: <ThrowOnError extends boolean = false>(options:
|
|
159
|
+
export declare const getWinProbability: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetWinProbabilityData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetWinProbabilityResponse, unknown, ThrowOnError>;
|
|
160
160
|
/**
|
|
161
161
|
* Queries pregame win probabilities
|
|
162
162
|
*/
|
|
163
|
-
export declare const getPregameWinProbabilities: <ThrowOnError extends boolean = false>(options?:
|
|
163
|
+
export declare const getPregameWinProbabilities: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetPregameWinProbabilitiesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetPregameWinProbabilitiesResponse, unknown, ThrowOnError>;
|
|
164
164
|
/**
|
|
165
165
|
* Queries field goal expected points values
|
|
166
166
|
*/
|
|
167
|
-
export declare const getFieldGoalExpectedPoints: <ThrowOnError extends boolean = false>(options?:
|
|
167
|
+
export declare const getFieldGoalExpectedPoints: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetFieldGoalExpectedPointsResponse, unknown, ThrowOnError>;
|
|
168
168
|
/**
|
|
169
169
|
* Queries live play-by-play data and advanced stats
|
|
170
170
|
*/
|
|
171
|
-
export declare const getLivePlays: <ThrowOnError extends boolean = false>(options:
|
|
171
|
+
export declare const getLivePlays: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetLivePlaysData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").LiveGame, unknown, ThrowOnError>;
|
|
172
172
|
/**
|
|
173
173
|
* Retrieves historical betting data
|
|
174
174
|
*/
|
|
175
|
-
export declare const getLines: <ThrowOnError extends boolean = false>(options?:
|
|
175
|
+
export declare const getLines: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetLinesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetLinesResponse, unknown, ThrowOnError>;
|
|
176
|
+
/**
|
|
177
|
+
* Retrieves information about the user, including their Patreon level and remaining API calls.
|
|
178
|
+
*/
|
|
179
|
+
export declare const getUserInfo: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetUserInfoResponse, unknown, ThrowOnError>;
|
|
176
180
|
/**
|
|
177
181
|
* Retrieves historical game data
|
|
178
182
|
*/
|
|
179
|
-
export declare const getGames: <ThrowOnError extends boolean = false>(options?:
|
|
183
|
+
export declare const getGames: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGamesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGamesResponse, unknown, ThrowOnError>;
|
|
180
184
|
/**
|
|
181
185
|
* Retrieves team box score statistics
|
|
182
186
|
*/
|
|
183
|
-
export declare const getGameTeamStats: <ThrowOnError extends boolean = false>(options?:
|
|
187
|
+
export declare const getGameTeamStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGameTeamStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGameTeamStatsResponse, unknown, ThrowOnError>;
|
|
184
188
|
/**
|
|
185
189
|
* Retrieves player box score statistics
|
|
186
190
|
*/
|
|
187
|
-
export declare const getGamePlayerStats: <ThrowOnError extends boolean = false>(options?:
|
|
191
|
+
export declare const getGamePlayerStats: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetGamePlayerStatsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGamePlayerStatsResponse, unknown, ThrowOnError>;
|
|
188
192
|
/**
|
|
189
193
|
* Retrieves media information for games
|
|
190
194
|
*/
|
|
191
|
-
export declare const getMedia: <ThrowOnError extends boolean = false>(options:
|
|
195
|
+
export declare const getMedia: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetMediaData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetMediaResponse, unknown, ThrowOnError>;
|
|
192
196
|
/**
|
|
193
197
|
* Retrieve historical and future weather data (Patreon only)
|
|
194
198
|
*/
|
|
195
|
-
export declare const getWeather: <ThrowOnError extends boolean = false>(options?:
|
|
199
|
+
export declare const getWeather: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetWeatherData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetWeatherResponse, unknown, ThrowOnError>;
|
|
196
200
|
/**
|
|
197
201
|
* Retrieves historical team records
|
|
198
202
|
*/
|
|
199
|
-
export declare const getRecords: <ThrowOnError extends boolean = false>(options?:
|
|
203
|
+
export declare const getRecords: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetRecordsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetRecordsResponse, unknown, ThrowOnError>;
|
|
200
204
|
/**
|
|
201
205
|
* Retrieves calendar information
|
|
202
206
|
*/
|
|
203
|
-
export declare const getCalendar: <ThrowOnError extends boolean = false>(options:
|
|
207
|
+
export declare const getCalendar: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetCalendarData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetCalendarResponse, unknown, ThrowOnError>;
|
|
204
208
|
/**
|
|
205
209
|
* Retrieves live scoreboard data
|
|
206
210
|
*/
|
|
207
|
-
export declare const getScoreboard: <ThrowOnError extends boolean = false>(options?:
|
|
211
|
+
export declare const getScoreboard: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetScoreboardData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetScoreboardResponse, unknown, ThrowOnError>;
|
|
208
212
|
/**
|
|
209
213
|
* Retrieves historical drive data
|
|
210
214
|
*/
|
|
211
|
-
export declare const getDrives: <ThrowOnError extends boolean = false>(options:
|
|
215
|
+
export declare const getDrives: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetDrivesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetDrivesResponse, unknown, ThrowOnError>;
|
|
212
216
|
/**
|
|
213
217
|
* Retrieves list of NFL teams
|
|
214
218
|
*/
|
|
215
|
-
export declare const getDraftTeams: <ThrowOnError extends boolean = false>(options?:
|
|
219
|
+
export declare const getDraftTeams: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetDraftTeamsResponse, unknown, ThrowOnError>;
|
|
216
220
|
/**
|
|
217
221
|
* Retrieves list of player position categories for the NFL Draft
|
|
218
222
|
*/
|
|
219
|
-
export declare const getDraftPositions: <ThrowOnError extends boolean = false>(options?:
|
|
223
|
+
export declare const getDraftPositions: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetDraftPositionsResponse, unknown, ThrowOnError>;
|
|
220
224
|
/**
|
|
221
225
|
* Retrieve historical NFL draft data
|
|
222
226
|
*/
|
|
223
|
-
export declare const getDraftPicks: <ThrowOnError extends boolean = false>(options?:
|
|
227
|
+
export declare const getDraftPicks: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetDraftPicksData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetDraftPicksResponse, unknown, ThrowOnError>;
|
|
224
228
|
/**
|
|
225
229
|
* Retrieves historical head coach information and records
|
|
226
230
|
*/
|
|
227
|
-
export declare const getCoaches: <ThrowOnError extends boolean = false>(options?:
|
|
231
|
+
export declare const getCoaches: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetCoachesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetCoachesResponse, unknown, ThrowOnError>;
|
|
228
232
|
/**
|
|
229
233
|
* Retrieves an advanced box score for a game
|
|
230
234
|
*/
|
|
231
|
-
export declare const getAdvancedBoxScore: <ThrowOnError extends boolean = false>(options:
|
|
235
|
+
export declare const getAdvancedBoxScore: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdvancedBoxScoreData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").AdvancedBoxScore, unknown, ThrowOnError>;
|