@databallr/sdk 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +42 -2
- package/dist/client.d.ts +44 -0
- package/dist/client.js +199 -0
- package/dist/errors.d.ts +40 -0
- package/dist/errors.js +45 -0
- package/dist/generated/methods.d.ts +300 -0
- package/dist/generated/methods.js +181 -0
- package/dist/generated/schema.d.ts +8390 -0
- package/dist/generated/schema.js +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +3 -0
- package/dist/types.d.ts +83 -0
- package/dist/types.js +1 -0
- package/package.json +44 -3
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/** First 12 hex characters of the SHA-256 of the key-callable spec these files came from. */
|
|
2
|
+
export declare const SPEC_HASH = "7086dd019d80";
|
|
3
|
+
/**
|
|
4
|
+
* Every generated method: GET operations by path, POST queries as
|
|
5
|
+
* `POST <path>`. `Databallr` turns this table into `dbr.nba.players.search(...)`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const methods: {
|
|
8
|
+
readonly apps: {
|
|
9
|
+
readonly sixrings: {
|
|
10
|
+
/** Get SixRings duel stats. `GET /v1/apps/sixrings/duel-stats` · `games:read` */
|
|
11
|
+
readonly duelStats: "/v1/apps/sixrings/duel-stats";
|
|
12
|
+
/** Get SixRings FFA queue depth. `GET /v1/apps/sixrings/ffa-queue-status` · `games:read` */
|
|
13
|
+
readonly ffaQueueStatus: "/v1/apps/sixrings/ffa-queue-status";
|
|
14
|
+
/** List visible SixRings games-platform browsers. `GET /v1/apps/sixrings/games-presence` · `games:read` */
|
|
15
|
+
readonly gamesPresence: "/v1/apps/sixrings/games-presence";
|
|
16
|
+
/** Get the SixRings achievement leaderboard. `GET /v1/apps/sixrings/leaderboard` · `games:read` */
|
|
17
|
+
readonly leaderboard: "/v1/apps/sixrings/leaderboard";
|
|
18
|
+
/** Get the signed-in user's SixRings trophy-case rows. `GET /v1/apps/sixrings/profiles/me` · `games:read` */
|
|
19
|
+
readonly profilesMe: "/v1/apps/sixrings/profiles/me";
|
|
20
|
+
/** Get the anonymous Solo SixRings browser count. `GET /v1/apps/sixrings/solo-presence` · `games:read` */
|
|
21
|
+
readonly soloPresence: "/v1/apps/sixrings/solo-presence";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly nba: {
|
|
25
|
+
readonly contracts: {
|
|
26
|
+
/** List NBA free-agency board rows. `GET /v1/nba/contracts/free-agency` · `stats:read` */
|
|
27
|
+
readonly freeAgency: "/v1/nba/contracts/free-agency";
|
|
28
|
+
/** List NBA contracts for a player. `GET /v1/nba/contracts/players/{player_id}` · `stats:read` */
|
|
29
|
+
readonly playersByPlayerId: "/v1/nba/contracts/players/{player_id}";
|
|
30
|
+
/** Get aggregated NBA contract totals for a player. `GET /v1/nba/contracts/players/{player_id}/aggregate` · `stats:read` */
|
|
31
|
+
readonly playersByPlayerIdAggregate: "/v1/nba/contracts/players/{player_id}/aggregate";
|
|
32
|
+
/** List NBA contracts for a team. `GET /v1/nba/contracts/teams/{team_id}` · `stats:read` */
|
|
33
|
+
readonly teamsByTeamId: "/v1/nba/contracts/teams/{team_id}";
|
|
34
|
+
/** List NBA contracts for a team across seasons. `GET /v1/nba/contracts/teams/{team_id}/multi-season` · `stats:read` */
|
|
35
|
+
readonly teamsByTeamIdMultiSeason: "/v1/nba/contracts/teams/{team_id}/multi-season";
|
|
36
|
+
};
|
|
37
|
+
readonly draft: {
|
|
38
|
+
/** List the NBA draft big board. `GET /v1/nba/draft/big-board` · `stats:read` */
|
|
39
|
+
readonly bigBoard: "/v1/nba/draft/big-board";
|
|
40
|
+
/** List NBA draft prospect comparisons. `GET /v1/nba/draft/comps` · `stats:read` */
|
|
41
|
+
readonly comps: "/v1/nba/draft/comps";
|
|
42
|
+
/** List high-school shooting stats for draft prospects. `GET /v1/nba/draft/hs-shooting` · `stats:read` */
|
|
43
|
+
readonly hsShooting: "/v1/nba/draft/hs-shooting";
|
|
44
|
+
/** List NBA draft seasons. `GET /v1/nba/draft/seasons` · `stats:read` */
|
|
45
|
+
readonly seasons: "/v1/nba/draft/seasons";
|
|
46
|
+
/** List NBA draft stat rankings. `GET /v1/nba/draft/stat-rankings` · `stats:read` */
|
|
47
|
+
readonly statRankings: "/v1/nba/draft/stat-rankings";
|
|
48
|
+
/** List NBA draft YouTube videos. `GET /v1/nba/draft/youtube` · `stats:read` */
|
|
49
|
+
readonly youtube: "/v1/nba/draft/youtube";
|
|
50
|
+
};
|
|
51
|
+
readonly games: {
|
|
52
|
+
/** Get an NBA game's play-by-play. `GET /v1/nba/games/{game_id}/pbp` · `stats:read` */
|
|
53
|
+
readonly byGameIdPbp: "/v1/nba/games/{game_id}/pbp";
|
|
54
|
+
/** List play-by-play events for an NBA game. `GET /v1/nba/games/{game_id}/plays` · `stats:read` */
|
|
55
|
+
readonly byGameIdPlays: "/v1/nba/games/{game_id}/plays";
|
|
56
|
+
};
|
|
57
|
+
readonly injuries: {
|
|
58
|
+
/** List NBA injuries for teams playing on a date. `GET /v1/nba/injuries` · `stats:read` */
|
|
59
|
+
readonly get: "/v1/nba/injuries";
|
|
60
|
+
};
|
|
61
|
+
readonly leagueBaselines: {
|
|
62
|
+
/** League-wide rates per season (the comparison base for any stat), from the engine's own totals. `GET /v1/nba/league-baselines` · `stats:read` */
|
|
63
|
+
readonly get: "/v1/nba/league-baselines";
|
|
64
|
+
};
|
|
65
|
+
readonly live: {
|
|
66
|
+
/** List NBA live games for today or a date. `GET /v1/nba/live/games` · `stats:read` */
|
|
67
|
+
readonly games: "/v1/nba/live/games";
|
|
68
|
+
/** List NBA live games for a date. `GET /v1/nba/live/games/{game_date}` · `stats:read` */
|
|
69
|
+
readonly gamesByGameDate: "/v1/nba/live/games/{game_date}";
|
|
70
|
+
/** Get the box score for an NBA game. `GET /v1/nba/live/games/{game_id}/box-score` · `stats:read` */
|
|
71
|
+
readonly gamesByGameIdBoxScore: "/v1/nba/live/games/{game_id}/box-score";
|
|
72
|
+
};
|
|
73
|
+
readonly matchups: {
|
|
74
|
+
/** List NBA matchup tables. `GET /v1/nba/matchups` · `stats:read` */
|
|
75
|
+
readonly get: "/v1/nba/matchups";
|
|
76
|
+
};
|
|
77
|
+
readonly odds: {
|
|
78
|
+
/** List NBA betting odds for games on a date. `GET /v1/nba/odds` · `stats:read` */
|
|
79
|
+
readonly get: "/v1/nba/odds";
|
|
80
|
+
/** Get NBA betting odds for a game. `GET /v1/nba/odds/games/{game_id}` · `stats:read` */
|
|
81
|
+
readonly gamesByGameId: "/v1/nba/odds/games/{game_id}";
|
|
82
|
+
/** List NBA player props for a game. `GET /v1/nba/odds/games/{game_id}/props` · `stats:read` */
|
|
83
|
+
readonly gamesByGameIdProps: "/v1/nba/odds/games/{game_id}/props";
|
|
84
|
+
};
|
|
85
|
+
readonly opponentQuality: {
|
|
86
|
+
/** Teams ranking in a rating range (top, middle or bottom of the league by ORtg, DRtg or NetRtg), from the engine's own totals. `GET /v1/nba/opponent-quality` · `stats:read` */
|
|
87
|
+
readonly get: "/v1/nba/opponent-quality";
|
|
88
|
+
};
|
|
89
|
+
readonly pbp: {
|
|
90
|
+
/** Get combined NBA PBP analytics. `POST /v1/nba/pbp/enhanced-stats` · `stats:read` */
|
|
91
|
+
readonly enhancedStats: "POST /v1/nba/pbp/enhanced-stats";
|
|
92
|
+
/** Get NBA five-player lineup combinations. `POST /v1/nba/pbp/lineup/combos` · `stats:read` */
|
|
93
|
+
readonly lineupCombos: "POST /v1/nba/pbp/lineup/combos";
|
|
94
|
+
/** Get NBA lineup player statistics. `POST /v1/nba/pbp/lineup/players` · `stats:read` */
|
|
95
|
+
readonly lineupPlayers: "POST /v1/nba/pbp/lineup/players";
|
|
96
|
+
/** Get NBA lineup possession totals. `POST /v1/nba/pbp/lineup/summary` · `stats:read` */
|
|
97
|
+
readonly lineupSummary: "POST /v1/nba/pbp/lineup/summary";
|
|
98
|
+
/** Discover NBA PBP analytics endpoints. `GET /v1/nba/pbp/manifest` · `stats:read` */
|
|
99
|
+
readonly manifest: "/v1/nba/pbp/manifest";
|
|
100
|
+
/** Get one NBA player's game log for a season. `GET /v1/nba/pbp/player-log` · `stats:read` */
|
|
101
|
+
readonly playerLog: "/v1/nba/pbp/player-log";
|
|
102
|
+
/** Get one player's production across teammate on/off combinations. `POST /v1/nba/pbp/player-wowy` · `stats:read` */
|
|
103
|
+
readonly playerWowy: "POST /v1/nba/pbp/player-wowy";
|
|
104
|
+
/** Get NBA players appearing in a PBP season. `GET /v1/nba/pbp/players-by-season` · `stats:read` */
|
|
105
|
+
readonly playersBySeason: "/v1/nba/pbp/players-by-season";
|
|
106
|
+
/** Get one NBA team's game log for a season. `GET /v1/nba/pbp/team-log` · `stats:read` */
|
|
107
|
+
readonly teamLog: "/v1/nba/pbp/team-log";
|
|
108
|
+
/** Get NBA player on/off combinations. `POST /v1/nba/pbp/wowy-combos-stats` · `stats:read` */
|
|
109
|
+
readonly wowyCombosStats: "POST /v1/nba/pbp/wowy-combos-stats";
|
|
110
|
+
};
|
|
111
|
+
readonly players: {
|
|
112
|
+
/** List current NBA player metrics. `GET /v1/nba/players/current-metrics` · `stats:read` */
|
|
113
|
+
readonly currentMetrics: "/v1/nba/players/current-metrics";
|
|
114
|
+
/** List current-season NBA player game logs. `GET /v1/nba/players/game-logs` · `stats:read` */
|
|
115
|
+
readonly gameLogs: "/v1/nba/players/game-logs";
|
|
116
|
+
/** List NBA game logs. `GET /v1/nba/players/gamelog` · `stats:read` */
|
|
117
|
+
readonly gamelog: "/v1/nba/players/gamelog";
|
|
118
|
+
/** List NBA player impact metrics. `GET /v1/nba/players/impact` · `stats:read` */
|
|
119
|
+
readonly impact: "/v1/nba/players/impact";
|
|
120
|
+
/** Search NBA player info. `GET /v1/nba/players/info` · `stats:read` */
|
|
121
|
+
readonly info: "/v1/nba/players/info";
|
|
122
|
+
/** List NBA player profiles. `GET /v1/nba/players/profiles` · `stats:read` */
|
|
123
|
+
readonly profiles: "/v1/nba/players/profiles";
|
|
124
|
+
/** Search NBA players. `GET /v1/nba/players/search` · `stats:read` */
|
|
125
|
+
readonly search: "/v1/nba/players/search";
|
|
126
|
+
/** List NBA player similarities. `GET /v1/nba/players/similarities` · `stats:read` */
|
|
127
|
+
readonly similarities: "/v1/nba/players/similarities";
|
|
128
|
+
/** List NBA player stats. `GET /v1/nba/players/stats` · `stats:read` */
|
|
129
|
+
readonly stats: "/v1/nba/players/stats";
|
|
130
|
+
/** List NBA player stats with metrics. `GET /v1/nba/players/stats/advanced` · `stats:read` */
|
|
131
|
+
readonly statsAdvanced: "/v1/nba/players/stats/advanced";
|
|
132
|
+
/** List NBA player stints. `GET /v1/nba/players/stints` · `stats:read` */
|
|
133
|
+
readonly stints: "/v1/nba/players/stints";
|
|
134
|
+
/** List NBA wingspan measurements. `GET /v1/nba/players/wingspan/measurements` · `stats:read` */
|
|
135
|
+
readonly wingspanMeasurements: "/v1/nba/players/wingspan/measurements";
|
|
136
|
+
/** List NBA wingspan similarities. `GET /v1/nba/players/wingspan/similarity` · `stats:read` */
|
|
137
|
+
readonly wingspanSimilarity: "/v1/nba/players/wingspan/similarity";
|
|
138
|
+
/** List NBA player ZTS scores. `GET /v1/nba/players/zts` · `stats:read` */
|
|
139
|
+
readonly zts: "/v1/nba/players/zts";
|
|
140
|
+
/** Get an NBA player. `GET /v1/nba/players/{player_id}` · `stats:read` */
|
|
141
|
+
readonly byPlayerId: "/v1/nba/players/{player_id}";
|
|
142
|
+
/** Get a player's shot totals by distance from the basket. `GET /v1/nba/players/{player_id}/distance-analysis` · `stats:read` */
|
|
143
|
+
readonly byPlayerIdDistanceAnalysis: "/v1/nba/players/{player_id}/distance-analysis";
|
|
144
|
+
/** Get a player's shots for the interactive shot map. `GET /v1/nba/players/{player_id}/shots` · `stats:read` */
|
|
145
|
+
readonly byPlayerIdShots: "/v1/nba/players/{player_id}/shots";
|
|
146
|
+
/** Get NBA player game stats. `GET /v1/nba/players/{player_id}/stats` · `stats:read` */
|
|
147
|
+
readonly byPlayerIdStats: "/v1/nba/players/{player_id}/stats";
|
|
148
|
+
};
|
|
149
|
+
readonly playoffs: {
|
|
150
|
+
/** Get the NBA playoffs bracket. `GET /v1/nba/playoffs/bracket` · `stats:read` */
|
|
151
|
+
readonly bracket: "/v1/nba/playoffs/bracket";
|
|
152
|
+
/** Get an NBA playoff series. `GET /v1/nba/playoffs/series/{series_id}` · `stats:read` */
|
|
153
|
+
readonly seriesBySeriesId: "/v1/nba/playoffs/series/{series_id}";
|
|
154
|
+
/** List games in an NBA playoff series. `GET /v1/nba/playoffs/series/{series_id}/games` · `stats:read` */
|
|
155
|
+
readonly seriesBySeriesIdGames: "/v1/nba/playoffs/series/{series_id}/games";
|
|
156
|
+
};
|
|
157
|
+
readonly roster: {
|
|
158
|
+
/** Get one NBA team's roster for one or more seasons (players with minutes by default; include=all adds players who never played). `GET /v1/nba/roster` · `stats:read` */
|
|
159
|
+
readonly get: "/v1/nba/roster";
|
|
160
|
+
};
|
|
161
|
+
readonly rosterShapes: {
|
|
162
|
+
/** Get a Roster Shapes document. `GET /v1/nba/roster-shapes/{doc_key}` · `stats:read` */
|
|
163
|
+
readonly byDocKey: "/v1/nba/roster-shapes/{doc_key}";
|
|
164
|
+
};
|
|
165
|
+
readonly shotChart: {
|
|
166
|
+
/** Get one NBA player's shot chart coordinates. `GET /v1/nba/shot-chart/player` · `stats:read` */
|
|
167
|
+
readonly player: "/v1/nba/shot-chart/player";
|
|
168
|
+
/** Get one NBA team's shot chart coordinates (its own shots, or the shots taken against it). `GET /v1/nba/shot-chart/team` · `stats:read` */
|
|
169
|
+
readonly team: "/v1/nba/shot-chart/team";
|
|
170
|
+
};
|
|
171
|
+
readonly shotQuality: {
|
|
172
|
+
/** List NBA shot-quality possessions. `GET /v1/nba/shot-quality/possessions` · `stats:read` */
|
|
173
|
+
readonly possessions: "/v1/nba/shot-quality/possessions";
|
|
174
|
+
/** List NBA shot-quality ranks. `GET /v1/nba/shot-quality/rank` · `stats:read` */
|
|
175
|
+
readonly rank: "/v1/nba/shot-quality/rank";
|
|
176
|
+
/** List NBA shot-quality RAPM. `GET /v1/nba/shot-quality/rapm` · `stats:read` */
|
|
177
|
+
readonly rapm: "/v1/nba/shot-quality/rapm";
|
|
178
|
+
/** List top NBA shot-quality defenders. `GET /v1/nba/shot-quality/top-defenders` · `stats:read` */
|
|
179
|
+
readonly topDefenders: "/v1/nba/shot-quality/top-defenders";
|
|
180
|
+
/** List top guarded NBA shot-quality players. `GET /v1/nba/shot-quality/top-guarded` · `stats:read` */
|
|
181
|
+
readonly topGuarded: "/v1/nba/shot-quality/top-guarded";
|
|
182
|
+
};
|
|
183
|
+
readonly shots: {
|
|
184
|
+
/** List NBA shot matchups. `GET /v1/nba/shots` · `stats:read` */
|
|
185
|
+
readonly get: "/v1/nba/shots";
|
|
186
|
+
/** List the shot-map filter seasons and teams. `GET /v1/nba/shots/filters` · `stats:read` */
|
|
187
|
+
readonly filters: "/v1/nba/shots/filters";
|
|
188
|
+
/** Get a shot video link by shot id. `GET /v1/nba/shots/video-link-by-shot-id/{shot_id}` · `stats:read` */
|
|
189
|
+
readonly videoLinkByShotId: "/v1/nba/shots/video-link-by-shot-id/{shot_id}";
|
|
190
|
+
/** Get a shot video link by game and action number. `GET /v1/nba/shots/video-link/{game_id}/{action_number}` · `stats:read` */
|
|
191
|
+
readonly videoLinkByGameIdByActionNumber: "/v1/nba/shots/video-link/{game_id}/{action_number}";
|
|
192
|
+
};
|
|
193
|
+
readonly standings: {
|
|
194
|
+
/** List NBA standings. `GET /v1/nba/standings` · `stats:read` */
|
|
195
|
+
readonly get: "/v1/nba/standings";
|
|
196
|
+
};
|
|
197
|
+
readonly stats: {
|
|
198
|
+
/** Get the full NBA player stats population for analysis. `GET /v1/nba/stats/dataset` · `stats:read` */
|
|
199
|
+
readonly dataset: "/v1/nba/stats/dataset";
|
|
200
|
+
/** Query the NBA player stats table. `GET /v1/nba/stats/query` · `stats:read` */
|
|
201
|
+
readonly query: "/v1/nba/stats/query";
|
|
202
|
+
/** List NBA stat rankings. `GET /v1/nba/stats/rankings` · `stats:read` */
|
|
203
|
+
readonly rankings: "/v1/nba/stats/rankings";
|
|
204
|
+
/** List time-decay NBA RAPM. `GET /v1/nba/stats/rapm` · `stats:read` */
|
|
205
|
+
readonly rapm: "/v1/nba/stats/rapm";
|
|
206
|
+
/** List NBA shot-profile twins. `GET /v1/nba/stats/shot-profile-twins` · `stats:read` */
|
|
207
|
+
readonly shotProfileTwins: "/v1/nba/stats/shot-profile-twins";
|
|
208
|
+
/** List the shot-profile twin catalog. `GET /v1/nba/stats/shot-profile-twins/catalog` · `stats:read` */
|
|
209
|
+
readonly shotProfileTwinsCatalog: "/v1/nba/stats/shot-profile-twins/catalog";
|
|
210
|
+
/** List top NBA defenders. `GET /v1/nba/stats/top-defenders` · `stats:read` */
|
|
211
|
+
readonly topDefenders: "/v1/nba/stats/top-defenders";
|
|
212
|
+
/** List top NBA offensive opponents. `GET /v1/nba/stats/top-offensive-opponents` · `stats:read` */
|
|
213
|
+
readonly topOffensiveOpponents: "/v1/nba/stats/top-offensive-opponents";
|
|
214
|
+
};
|
|
215
|
+
readonly teams: {
|
|
216
|
+
/** List NBA team play-type difficulty. `GET /v1/nba/teams/playtype-difficulty` · `stats:read` */
|
|
217
|
+
readonly playtypeDifficulty: "/v1/nba/teams/playtype-difficulty";
|
|
218
|
+
/** List NBA team rosters. `GET /v1/nba/teams/rosters` · `stats:read` */
|
|
219
|
+
readonly rosters: "/v1/nba/teams/rosters";
|
|
220
|
+
/** Compare NBA team similarity. `POST /v1/nba/teams/similarity` · `stats:read` */
|
|
221
|
+
readonly similarity: "POST /v1/nba/teams/similarity";
|
|
222
|
+
/** List NBA team stats. `GET /v1/nba/teams/stats` · `stats:read` */
|
|
223
|
+
readonly stats: "/v1/nba/teams/stats";
|
|
224
|
+
};
|
|
225
|
+
readonly wowy: {
|
|
226
|
+
/** List NBA WOWY leaders. `GET /v1/nba/wowy/leaders` · `stats:read` */
|
|
227
|
+
readonly leaders: "/v1/nba/wowy/leaders";
|
|
228
|
+
/** List NBA WOWY lineup stats. `GET /v1/nba/wowy/stats` · `stats:read` */
|
|
229
|
+
readonly stats: "/v1/nba/wowy/stats";
|
|
230
|
+
/** List NBA WOWY stats for a season range. `GET /v1/nba/wowy/stats-range` · `stats:read` */
|
|
231
|
+
readonly statsRange: "/v1/nba/wowy/stats-range";
|
|
232
|
+
/** List NBA team WOWY RAPM. `GET /v1/nba/wowy/team-rapm` · `stats:read` */
|
|
233
|
+
readonly teamRapm: "/v1/nba/wowy/team-rapm";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly me: {
|
|
237
|
+
/** List the current user's custom stats. `GET /v1/users/me/custom-stats` · `account:read` */
|
|
238
|
+
readonly customStats: "/v1/users/me/custom-stats";
|
|
239
|
+
/** List the current user's favorite players. `GET /v1/users/me/favorites` · `account:read` */
|
|
240
|
+
readonly favorites: "/v1/users/me/favorites";
|
|
241
|
+
/** Check whether a player is in the current user's favorites. `GET /v1/users/me/favorites/{player_id}/check` · `account:read` */
|
|
242
|
+
readonly favoritesByPlayerIdCheck: "/v1/users/me/favorites/{player_id}/check";
|
|
243
|
+
/** List the current user's last-games views. `GET /v1/users/me/last-games-views` · `account:read` */
|
|
244
|
+
readonly lastGamesViews: "/v1/users/me/last-games-views";
|
|
245
|
+
/** List the current user's player favorites. `GET /v1/users/me/player-favorites` · `account:read` */
|
|
246
|
+
readonly playerFavorites: "/v1/users/me/player-favorites";
|
|
247
|
+
/** List the current user's PvP custom views. `GET /v1/users/me/pvp-custom-views` · `account:read` */
|
|
248
|
+
readonly pvpCustomViews: "/v1/users/me/pvp-custom-views";
|
|
249
|
+
/** List the current user's stat views. `GET /v1/users/me/stat-views` · `account:read` */
|
|
250
|
+
readonly statViews: "/v1/users/me/stat-views";
|
|
251
|
+
/** Get the current user's tab order. `GET /v1/users/me/tab-order` · `account:read` */
|
|
252
|
+
readonly tabOrder: "/v1/users/me/tab-order";
|
|
253
|
+
};
|
|
254
|
+
readonly wnba: {
|
|
255
|
+
readonly live: {
|
|
256
|
+
/** Get a WNBA live game center. `GET /v1/wnba/live/game-center/{event_id}` · `stats:read` */
|
|
257
|
+
readonly gameCenterByEventId: "/v1/wnba/live/game-center/{event_id}";
|
|
258
|
+
/** List WNBA live games. `GET /v1/wnba/live/games` · `stats:read` */
|
|
259
|
+
readonly games: "/v1/wnba/live/games";
|
|
260
|
+
/** List WNBA live games for a date. `GET /v1/wnba/live/games/{game_date}` · `stats:read` */
|
|
261
|
+
readonly gamesByGameDate: "/v1/wnba/live/games/{game_date}";
|
|
262
|
+
/** List WNBA live plays for a game. `GET /v1/wnba/live/plays/{event_id}` · `stats:read` */
|
|
263
|
+
readonly playsByEventId: "/v1/wnba/live/plays/{event_id}";
|
|
264
|
+
};
|
|
265
|
+
readonly players: {
|
|
266
|
+
/** Get a WNBA player headshot. `GET /v1/wnba/players/image/{entity_id}` · `stats:read` */
|
|
267
|
+
readonly imageByEntityId: "/v1/wnba/players/image/{entity_id}";
|
|
268
|
+
/** List WNBA player stats. `GET /v1/wnba/players/stats` · `stats:read` */
|
|
269
|
+
readonly stats: "/v1/wnba/players/stats";
|
|
270
|
+
};
|
|
271
|
+
readonly playoffs: {
|
|
272
|
+
/** Get the WNBA playoff bracket, series and games. `GET /v1/wnba/playoffs` · `stats:read` */
|
|
273
|
+
readonly get: "/v1/wnba/playoffs";
|
|
274
|
+
};
|
|
275
|
+
readonly stats: {
|
|
276
|
+
/** List WNBA advanced stats. `GET /v1/wnba/stats/advanced-stats` · `stats:read` */
|
|
277
|
+
readonly advancedStats: "/v1/wnba/stats/advanced-stats";
|
|
278
|
+
/** List WNBA on/off splits. `GET /v1/wnba/stats/on-off` · `stats:read` */
|
|
279
|
+
readonly onOff: "/v1/wnba/stats/on-off";
|
|
280
|
+
/** List WNBA percentiles. `GET /v1/wnba/stats/percentiles` · `stats:read` */
|
|
281
|
+
readonly percentiles: "/v1/wnba/stats/percentiles";
|
|
282
|
+
/** List WNBA season totals. `GET /v1/wnba/stats/season-totals` · `stats:read` */
|
|
283
|
+
readonly seasonTotals: "/v1/wnba/stats/season-totals";
|
|
284
|
+
/** List WNBA VPM (value over replacement) rows. `GET /v1/wnba/stats/vpm` · `stats:read` */
|
|
285
|
+
readonly vpm: "/v1/wnba/stats/vpm";
|
|
286
|
+
};
|
|
287
|
+
readonly teams: {
|
|
288
|
+
/** List WNBA team rosters. `GET /v1/wnba/teams/rosters` · `stats:read` */
|
|
289
|
+
readonly rosters: "/v1/wnba/teams/rosters";
|
|
290
|
+
/** List WNBA team stats. `GET /v1/wnba/teams/stats` · `stats:read` */
|
|
291
|
+
readonly stats: "/v1/wnba/teams/stats";
|
|
292
|
+
};
|
|
293
|
+
readonly wowy: {
|
|
294
|
+
/** List WNBA WOWY leaders. `GET /v1/wnba/wowy/leaders` · `stats:read` */
|
|
295
|
+
readonly leaders: "/v1/wnba/wowy/leaders";
|
|
296
|
+
/** List WNBA WOWY lineup stats. `GET /v1/wnba/wowy/stats` · `stats:read` */
|
|
297
|
+
readonly stats: "/v1/wnba/wowy/stats";
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export const SPEC_HASH = "7086dd019d80";
|
|
2
|
+
export const methods = {
|
|
3
|
+
apps: {
|
|
4
|
+
sixrings: {
|
|
5
|
+
duelStats: "/v1/apps/sixrings/duel-stats",
|
|
6
|
+
ffaQueueStatus: "/v1/apps/sixrings/ffa-queue-status",
|
|
7
|
+
gamesPresence: "/v1/apps/sixrings/games-presence",
|
|
8
|
+
leaderboard: "/v1/apps/sixrings/leaderboard",
|
|
9
|
+
profilesMe: "/v1/apps/sixrings/profiles/me",
|
|
10
|
+
soloPresence: "/v1/apps/sixrings/solo-presence",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
nba: {
|
|
14
|
+
contracts: {
|
|
15
|
+
freeAgency: "/v1/nba/contracts/free-agency",
|
|
16
|
+
playersByPlayerId: "/v1/nba/contracts/players/{player_id}",
|
|
17
|
+
playersByPlayerIdAggregate: "/v1/nba/contracts/players/{player_id}/aggregate",
|
|
18
|
+
teamsByTeamId: "/v1/nba/contracts/teams/{team_id}",
|
|
19
|
+
teamsByTeamIdMultiSeason: "/v1/nba/contracts/teams/{team_id}/multi-season",
|
|
20
|
+
},
|
|
21
|
+
draft: {
|
|
22
|
+
bigBoard: "/v1/nba/draft/big-board",
|
|
23
|
+
comps: "/v1/nba/draft/comps",
|
|
24
|
+
hsShooting: "/v1/nba/draft/hs-shooting",
|
|
25
|
+
seasons: "/v1/nba/draft/seasons",
|
|
26
|
+
statRankings: "/v1/nba/draft/stat-rankings",
|
|
27
|
+
youtube: "/v1/nba/draft/youtube",
|
|
28
|
+
},
|
|
29
|
+
games: {
|
|
30
|
+
byGameIdPbp: "/v1/nba/games/{game_id}/pbp",
|
|
31
|
+
byGameIdPlays: "/v1/nba/games/{game_id}/plays",
|
|
32
|
+
},
|
|
33
|
+
injuries: {
|
|
34
|
+
get: "/v1/nba/injuries",
|
|
35
|
+
},
|
|
36
|
+
leagueBaselines: {
|
|
37
|
+
get: "/v1/nba/league-baselines",
|
|
38
|
+
},
|
|
39
|
+
live: {
|
|
40
|
+
games: "/v1/nba/live/games",
|
|
41
|
+
gamesByGameDate: "/v1/nba/live/games/{game_date}",
|
|
42
|
+
gamesByGameIdBoxScore: "/v1/nba/live/games/{game_id}/box-score",
|
|
43
|
+
},
|
|
44
|
+
matchups: {
|
|
45
|
+
get: "/v1/nba/matchups",
|
|
46
|
+
},
|
|
47
|
+
odds: {
|
|
48
|
+
get: "/v1/nba/odds",
|
|
49
|
+
gamesByGameId: "/v1/nba/odds/games/{game_id}",
|
|
50
|
+
gamesByGameIdProps: "/v1/nba/odds/games/{game_id}/props",
|
|
51
|
+
},
|
|
52
|
+
opponentQuality: {
|
|
53
|
+
get: "/v1/nba/opponent-quality",
|
|
54
|
+
},
|
|
55
|
+
pbp: {
|
|
56
|
+
enhancedStats: "POST /v1/nba/pbp/enhanced-stats",
|
|
57
|
+
lineupCombos: "POST /v1/nba/pbp/lineup/combos",
|
|
58
|
+
lineupPlayers: "POST /v1/nba/pbp/lineup/players",
|
|
59
|
+
lineupSummary: "POST /v1/nba/pbp/lineup/summary",
|
|
60
|
+
manifest: "/v1/nba/pbp/manifest",
|
|
61
|
+
playerLog: "/v1/nba/pbp/player-log",
|
|
62
|
+
playerWowy: "POST /v1/nba/pbp/player-wowy",
|
|
63
|
+
playersBySeason: "/v1/nba/pbp/players-by-season",
|
|
64
|
+
teamLog: "/v1/nba/pbp/team-log",
|
|
65
|
+
wowyCombosStats: "POST /v1/nba/pbp/wowy-combos-stats",
|
|
66
|
+
},
|
|
67
|
+
players: {
|
|
68
|
+
currentMetrics: "/v1/nba/players/current-metrics",
|
|
69
|
+
gameLogs: "/v1/nba/players/game-logs",
|
|
70
|
+
gamelog: "/v1/nba/players/gamelog",
|
|
71
|
+
impact: "/v1/nba/players/impact",
|
|
72
|
+
info: "/v1/nba/players/info",
|
|
73
|
+
profiles: "/v1/nba/players/profiles",
|
|
74
|
+
search: "/v1/nba/players/search",
|
|
75
|
+
similarities: "/v1/nba/players/similarities",
|
|
76
|
+
stats: "/v1/nba/players/stats",
|
|
77
|
+
statsAdvanced: "/v1/nba/players/stats/advanced",
|
|
78
|
+
stints: "/v1/nba/players/stints",
|
|
79
|
+
wingspanMeasurements: "/v1/nba/players/wingspan/measurements",
|
|
80
|
+
wingspanSimilarity: "/v1/nba/players/wingspan/similarity",
|
|
81
|
+
zts: "/v1/nba/players/zts",
|
|
82
|
+
byPlayerId: "/v1/nba/players/{player_id}",
|
|
83
|
+
byPlayerIdDistanceAnalysis: "/v1/nba/players/{player_id}/distance-analysis",
|
|
84
|
+
byPlayerIdShots: "/v1/nba/players/{player_id}/shots",
|
|
85
|
+
byPlayerIdStats: "/v1/nba/players/{player_id}/stats",
|
|
86
|
+
},
|
|
87
|
+
playoffs: {
|
|
88
|
+
bracket: "/v1/nba/playoffs/bracket",
|
|
89
|
+
seriesBySeriesId: "/v1/nba/playoffs/series/{series_id}",
|
|
90
|
+
seriesBySeriesIdGames: "/v1/nba/playoffs/series/{series_id}/games",
|
|
91
|
+
},
|
|
92
|
+
roster: {
|
|
93
|
+
get: "/v1/nba/roster",
|
|
94
|
+
},
|
|
95
|
+
rosterShapes: {
|
|
96
|
+
byDocKey: "/v1/nba/roster-shapes/{doc_key}",
|
|
97
|
+
},
|
|
98
|
+
shotChart: {
|
|
99
|
+
player: "/v1/nba/shot-chart/player",
|
|
100
|
+
team: "/v1/nba/shot-chart/team",
|
|
101
|
+
},
|
|
102
|
+
shotQuality: {
|
|
103
|
+
possessions: "/v1/nba/shot-quality/possessions",
|
|
104
|
+
rank: "/v1/nba/shot-quality/rank",
|
|
105
|
+
rapm: "/v1/nba/shot-quality/rapm",
|
|
106
|
+
topDefenders: "/v1/nba/shot-quality/top-defenders",
|
|
107
|
+
topGuarded: "/v1/nba/shot-quality/top-guarded",
|
|
108
|
+
},
|
|
109
|
+
shots: {
|
|
110
|
+
get: "/v1/nba/shots",
|
|
111
|
+
filters: "/v1/nba/shots/filters",
|
|
112
|
+
videoLinkByShotId: "/v1/nba/shots/video-link-by-shot-id/{shot_id}",
|
|
113
|
+
videoLinkByGameIdByActionNumber: "/v1/nba/shots/video-link/{game_id}/{action_number}",
|
|
114
|
+
},
|
|
115
|
+
standings: {
|
|
116
|
+
get: "/v1/nba/standings",
|
|
117
|
+
},
|
|
118
|
+
stats: {
|
|
119
|
+
dataset: "/v1/nba/stats/dataset",
|
|
120
|
+
query: "/v1/nba/stats/query",
|
|
121
|
+
rankings: "/v1/nba/stats/rankings",
|
|
122
|
+
rapm: "/v1/nba/stats/rapm",
|
|
123
|
+
shotProfileTwins: "/v1/nba/stats/shot-profile-twins",
|
|
124
|
+
shotProfileTwinsCatalog: "/v1/nba/stats/shot-profile-twins/catalog",
|
|
125
|
+
topDefenders: "/v1/nba/stats/top-defenders",
|
|
126
|
+
topOffensiveOpponents: "/v1/nba/stats/top-offensive-opponents",
|
|
127
|
+
},
|
|
128
|
+
teams: {
|
|
129
|
+
playtypeDifficulty: "/v1/nba/teams/playtype-difficulty",
|
|
130
|
+
rosters: "/v1/nba/teams/rosters",
|
|
131
|
+
similarity: "POST /v1/nba/teams/similarity",
|
|
132
|
+
stats: "/v1/nba/teams/stats",
|
|
133
|
+
},
|
|
134
|
+
wowy: {
|
|
135
|
+
leaders: "/v1/nba/wowy/leaders",
|
|
136
|
+
stats: "/v1/nba/wowy/stats",
|
|
137
|
+
statsRange: "/v1/nba/wowy/stats-range",
|
|
138
|
+
teamRapm: "/v1/nba/wowy/team-rapm",
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
me: {
|
|
142
|
+
customStats: "/v1/users/me/custom-stats",
|
|
143
|
+
favorites: "/v1/users/me/favorites",
|
|
144
|
+
favoritesByPlayerIdCheck: "/v1/users/me/favorites/{player_id}/check",
|
|
145
|
+
lastGamesViews: "/v1/users/me/last-games-views",
|
|
146
|
+
playerFavorites: "/v1/users/me/player-favorites",
|
|
147
|
+
pvpCustomViews: "/v1/users/me/pvp-custom-views",
|
|
148
|
+
statViews: "/v1/users/me/stat-views",
|
|
149
|
+
tabOrder: "/v1/users/me/tab-order",
|
|
150
|
+
},
|
|
151
|
+
wnba: {
|
|
152
|
+
live: {
|
|
153
|
+
gameCenterByEventId: "/v1/wnba/live/game-center/{event_id}",
|
|
154
|
+
games: "/v1/wnba/live/games",
|
|
155
|
+
gamesByGameDate: "/v1/wnba/live/games/{game_date}",
|
|
156
|
+
playsByEventId: "/v1/wnba/live/plays/{event_id}",
|
|
157
|
+
},
|
|
158
|
+
players: {
|
|
159
|
+
imageByEntityId: "/v1/wnba/players/image/{entity_id}",
|
|
160
|
+
stats: "/v1/wnba/players/stats",
|
|
161
|
+
},
|
|
162
|
+
playoffs: {
|
|
163
|
+
get: "/v1/wnba/playoffs",
|
|
164
|
+
},
|
|
165
|
+
stats: {
|
|
166
|
+
advancedStats: "/v1/wnba/stats/advanced-stats",
|
|
167
|
+
onOff: "/v1/wnba/stats/on-off",
|
|
168
|
+
percentiles: "/v1/wnba/stats/percentiles",
|
|
169
|
+
seasonTotals: "/v1/wnba/stats/season-totals",
|
|
170
|
+
vpm: "/v1/wnba/stats/vpm",
|
|
171
|
+
},
|
|
172
|
+
teams: {
|
|
173
|
+
rosters: "/v1/wnba/teams/rosters",
|
|
174
|
+
stats: "/v1/wnba/teams/stats",
|
|
175
|
+
},
|
|
176
|
+
wowy: {
|
|
177
|
+
leaders: "/v1/wnba/wowy/leaders",
|
|
178
|
+
stats: "/v1/wnba/wowy/stats",
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
};
|