@databallr/sdk 0.3.5 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/generated/methods.d.ts +64 -48
- package/dist/generated/methods.js +11 -1
- package/dist/generated/schema.d.ts +3106 -357
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,10 +36,10 @@ const standings = await dbr.get("/v1/nba/standings", { query: { season: 2026 } }
|
|
|
36
36
|
- Non-2xx responses throw `DataballrError` (`status`, `code`, `type`,
|
|
37
37
|
`retryable`, `message`, `requestId`, `requiredScope`, `retryAfter`).
|
|
38
38
|
`code` is UPPER_SNAKE for errors any call can hit: `INVALID_TOKEN` (401),
|
|
39
|
-
`INSUFFICIENT_SCOPE` (403), `RATE_LIMITED` (429), `UPSTREAM_ERROR`
|
|
40
|
-
or `HTTP_ERROR` when the body is not the
|
|
41
|
-
operation's own errors (bad input, nothing
|
|
42
|
-
status: `INVALID_REQUEST` (400), `UNAUTHORIZED` (401), `FORBIDDEN` (403),
|
|
39
|
+
`INSUFFICIENT_SCOPE` (403), `RATE_LIMITED` (429), `UPSTREAM_ERROR` or
|
|
40
|
+
`UPSTREAM_UNAVAILABLE` (502), or `HTTP_ERROR` when the body is not the
|
|
41
|
+
API's error envelope. An operation's own errors (bad input, nothing
|
|
42
|
+
found) carry one code per status: `INVALID_REQUEST` (400), `UNAUTHORIZED` (401), `FORBIDDEN` (403),
|
|
43
43
|
`NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),
|
|
44
44
|
`BODY_TOO_LARGE` (413), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500),
|
|
45
45
|
`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503). The reason
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** First 12 hex characters of the SHA-256 of the key-callable spec these files came from. */
|
|
2
|
-
export declare const SPEC_HASH = "
|
|
2
|
+
export declare const SPEC_HASH = "7c5211507581";
|
|
3
3
|
/**
|
|
4
4
|
* Every generated method: GET operations by path, POST queries as
|
|
5
5
|
* `POST <path>`. `Databallr` turns this table into `dbr.nba.players.search(...)`.
|
|
@@ -11,23 +11,23 @@ export declare const methods: {
|
|
|
11
11
|
readonly duelStats: "/v1/apps/sixrings/duel-stats";
|
|
12
12
|
/** Get SixRings FFA queue depth. `GET /v1/apps/sixrings/ffa-queue-status` · `games:read` */
|
|
13
13
|
readonly ffaQueueStatus: "/v1/apps/sixrings/ffa-queue-status";
|
|
14
|
-
/** List
|
|
14
|
+
/** List players online in SixRings games. `GET /v1/apps/sixrings/games-presence` · `games:read` */
|
|
15
15
|
readonly gamesPresence: "/v1/apps/sixrings/games-presence";
|
|
16
16
|
/** Get the SixRings achievement leaderboard. `GET /v1/apps/sixrings/leaderboard` · `games:read` */
|
|
17
17
|
readonly leaderboard: "/v1/apps/sixrings/leaderboard";
|
|
18
|
-
/** Get
|
|
18
|
+
/** Get your SixRings trophy case. `GET /v1/apps/sixrings/profiles/me` · `games:read` */
|
|
19
19
|
readonly profilesMe: "/v1/apps/sixrings/profiles/me";
|
|
20
|
-
/** Get the
|
|
20
|
+
/** Get the Solo SixRings player count. `GET /v1/apps/sixrings/solo-presence` · `games:read` */
|
|
21
21
|
readonly soloPresence: "/v1/apps/sixrings/solo-presence";
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
readonly nba: {
|
|
25
25
|
readonly contracts: {
|
|
26
|
-
/** List NBA free
|
|
26
|
+
/** List NBA free agents. `GET /v1/nba/contracts/free-agency` · `stats:read` */
|
|
27
27
|
readonly freeAgency: "/v1/nba/contracts/free-agency";
|
|
28
28
|
/** List NBA contracts for a player. `GET /v1/nba/contracts/players/{player_id}` · `stats:read` */
|
|
29
29
|
readonly playersByPlayerId: "/v1/nba/contracts/players/{player_id}";
|
|
30
|
-
/** Get
|
|
30
|
+
/** Get an NBA player's contract totals. `GET /v1/nba/contracts/players/{player_id}/aggregate` · `stats:read` */
|
|
31
31
|
readonly playersByPlayerIdAggregate: "/v1/nba/contracts/players/{player_id}/aggregate";
|
|
32
32
|
/** List NBA contracts for a team. `GET /v1/nba/contracts/teams/{team_id}` · `stats:read` */
|
|
33
33
|
readonly teamsByTeamId: "/v1/nba/contracts/teams/{team_id}";
|
|
@@ -39,29 +39,37 @@ export declare const methods: {
|
|
|
39
39
|
readonly bigBoard: "/v1/nba/draft/big-board";
|
|
40
40
|
/** List NBA draft prospect comparisons. `GET /v1/nba/draft/comps` · `stats:read` */
|
|
41
41
|
readonly comps: "/v1/nba/draft/comps";
|
|
42
|
-
/** List
|
|
42
|
+
/** List NBA draft prospects' high school shooting. `GET /v1/nba/draft/hs-shooting` · `stats:read` */
|
|
43
43
|
readonly hsShooting: "/v1/nba/draft/hs-shooting";
|
|
44
44
|
/** List NBA draft seasons. `GET /v1/nba/draft/seasons` · `stats:read` */
|
|
45
45
|
readonly seasons: "/v1/nba/draft/seasons";
|
|
46
46
|
/** List NBA draft stat rankings. `GET /v1/nba/draft/stat-rankings` · `stats:read` */
|
|
47
47
|
readonly statRankings: "/v1/nba/draft/stat-rankings";
|
|
48
|
-
/** List NBA draft
|
|
48
|
+
/** List NBA draft prospect videos. `GET /v1/nba/draft/youtube` · `stats:read` */
|
|
49
49
|
readonly youtube: "/v1/nba/draft/youtube";
|
|
50
50
|
};
|
|
51
51
|
readonly games: {
|
|
52
|
-
/**
|
|
52
|
+
/** Run the PBP engine on a game's NBA live feed: on/off, lineups and an optional on/off lattice, for any time window. `GET /v1/nba/games/{game_id}/engine` · `stats:read` */
|
|
53
|
+
readonly byGameIdEngine: "/v1/nba/games/{game_id}/engine";
|
|
54
|
+
/** Get a game's play-by-play from the NBA live-data feed. `GET /v1/nba/games/{game_id}/feed-plays` · `stats:read` */
|
|
55
|
+
readonly byGameIdFeedPlays: "/v1/nba/games/{game_id}/feed-plays";
|
|
56
|
+
/** Get an NBA game's box score. `GET /v1/nba/games/{game_id}/gamelog` · `stats:read` */
|
|
53
57
|
readonly byGameIdGamelog: "/v1/nba/games/{game_id}/gamelog";
|
|
54
58
|
/** Get an NBA game's play-by-play. `GET /v1/nba/games/{game_id}/pbp` · `stats:read` */
|
|
55
59
|
readonly byGameIdPbp: "/v1/nba/games/{game_id}/pbp";
|
|
56
60
|
/** List play-by-play events for an NBA game. `GET /v1/nba/games/{game_id}/plays` · `stats:read` */
|
|
57
61
|
readonly byGameIdPlays: "/v1/nba/games/{game_id}/plays";
|
|
62
|
+
/** List an NBA game's field-goal attempts and latest play. `GET /v1/nba/games/{game_id}/shots` · `stats:read` */
|
|
63
|
+
readonly byGameIdShots: "/v1/nba/games/{game_id}/shots";
|
|
64
|
+
/** One game's stretch with chosen players of either team on and off the floor, in any time window: both teams' stats, player lines and shots. `GET /v1/nba/games/{game_id}/wowy` · `stats:read` */
|
|
65
|
+
readonly byGameIdWowy: "/v1/nba/games/{game_id}/wowy";
|
|
58
66
|
};
|
|
59
67
|
readonly injuries: {
|
|
60
|
-
/** List NBA injuries for
|
|
68
|
+
/** List NBA injuries for a date. `GET /v1/nba/injuries` · `stats:read` */
|
|
61
69
|
readonly get: "/v1/nba/injuries";
|
|
62
70
|
};
|
|
63
71
|
readonly leagueBaselines: {
|
|
64
|
-
/**
|
|
72
|
+
/** Get NBA league averages by season. `GET /v1/nba/league-baselines` · `stats:read` */
|
|
65
73
|
readonly get: "/v1/nba/league-baselines";
|
|
66
74
|
};
|
|
67
75
|
readonly live: {
|
|
@@ -69,7 +77,7 @@ export declare const methods: {
|
|
|
69
77
|
readonly games: "/v1/nba/live/games";
|
|
70
78
|
/** List NBA live games for a date. `GET /v1/nba/live/games/{game_date}` · `stats:read` */
|
|
71
79
|
readonly gamesByGameDate: "/v1/nba/live/games/{game_date}";
|
|
72
|
-
/** Get
|
|
80
|
+
/** Get a live NBA game's box score. `GET /v1/nba/live/games/{game_id}/box-score` · `stats:read` */
|
|
73
81
|
readonly gamesByGameIdBoxScore: "/v1/nba/live/games/{game_id}/box-score";
|
|
74
82
|
};
|
|
75
83
|
readonly matchups: {
|
|
@@ -85,31 +93,31 @@ export declare const methods: {
|
|
|
85
93
|
readonly gamesByGameIdProps: "/v1/nba/odds/games/{game_id}/props";
|
|
86
94
|
};
|
|
87
95
|
readonly opponentQuality: {
|
|
88
|
-
/**
|
|
96
|
+
/** List NBA teams in a rating tier. `GET /v1/nba/opponent-quality` · `stats:read` */
|
|
89
97
|
readonly get: "/v1/nba/opponent-quality";
|
|
90
98
|
};
|
|
91
99
|
readonly pbp: {
|
|
92
|
-
/** Get
|
|
100
|
+
/** Get NBA lineup totals, player stats and lineups. `POST /v1/nba/pbp/enhanced-stats` · `stats:read` */
|
|
93
101
|
readonly enhancedStats: "POST /v1/nba/pbp/enhanced-stats";
|
|
94
|
-
/**
|
|
102
|
+
/** List NBA five-man lineups. `POST /v1/nba/pbp/lineup/combos` · `stats:read` */
|
|
95
103
|
readonly lineupCombos: "POST /v1/nba/pbp/lineup/combos";
|
|
96
|
-
/** Get NBA
|
|
104
|
+
/** Get NBA player stats from lineups. `POST /v1/nba/pbp/lineup/players` · `stats:read` */
|
|
97
105
|
readonly lineupPlayers: "POST /v1/nba/pbp/lineup/players";
|
|
98
|
-
/** Get NBA lineup
|
|
106
|
+
/** Get NBA lineup totals and four factors. `POST /v1/nba/pbp/lineup/summary` · `stats:read` */
|
|
99
107
|
readonly lineupSummary: "POST /v1/nba/pbp/lineup/summary";
|
|
100
|
-
/**
|
|
108
|
+
/** List NBA play-by-play endpoints and options. `GET /v1/nba/pbp/manifest` · `stats:read` */
|
|
101
109
|
readonly manifest: "/v1/nba/pbp/manifest";
|
|
102
|
-
/** Get
|
|
110
|
+
/** Get an NBA player's season game log. `GET /v1/nba/pbp/player-log` · `stats:read` */
|
|
103
111
|
readonly playerLog: "/v1/nba/pbp/player-log";
|
|
104
|
-
/** Get
|
|
112
|
+
/** Get an NBA player's stats with and without teammates. `POST /v1/nba/pbp/player-wowy` · `stats:read` */
|
|
105
113
|
readonly playerWowy: "POST /v1/nba/pbp/player-wowy";
|
|
106
|
-
/**
|
|
114
|
+
/** List NBA players who played in a season. `GET /v1/nba/pbp/players-by-season` · `stats:read` */
|
|
107
115
|
readonly playersBySeason: "/v1/nba/pbp/players-by-season";
|
|
108
|
-
/** Get
|
|
116
|
+
/** Get NBA season totals for every player or team. `GET /v1/nba/pbp/season-totals` · `stats:read` */
|
|
109
117
|
readonly seasonTotals: "/v1/nba/pbp/season-totals";
|
|
110
|
-
/** Get
|
|
118
|
+
/** Get an NBA team's season game log. `GET /v1/nba/pbp/team-log` · `stats:read` */
|
|
111
119
|
readonly teamLog: "/v1/nba/pbp/team-log";
|
|
112
|
-
/** Get NBA
|
|
120
|
+
/** Get NBA on/off stats for player combinations. `POST /v1/nba/pbp/wowy-combos-stats` · `stats:read` */
|
|
113
121
|
readonly wowyCombosStats: "POST /v1/nba/pbp/wowy-combos-stats";
|
|
114
122
|
};
|
|
115
123
|
readonly players: {
|
|
@@ -143,7 +151,7 @@ export declare const methods: {
|
|
|
143
151
|
readonly zts: "/v1/nba/players/zts";
|
|
144
152
|
/** Get an NBA player. `GET /v1/nba/players/{player_id}` · `stats:read` */
|
|
145
153
|
readonly byPlayerId: "/v1/nba/players/{player_id}";
|
|
146
|
-
/** Get
|
|
154
|
+
/** Get an NBA player's shooting by distance. `GET /v1/nba/players/{player_id}/distance-analysis` · `stats:read` */
|
|
147
155
|
readonly byPlayerIdDistanceAnalysis: "/v1/nba/players/{player_id}/distance-analysis";
|
|
148
156
|
/** Get a player's shots for the interactive shot map. `GET /v1/nba/players/{player_id}/shots` · `stats:read` */
|
|
149
157
|
readonly byPlayerIdShots: "/v1/nba/players/{player_id}/shots";
|
|
@@ -159,19 +167,27 @@ export declare const methods: {
|
|
|
159
167
|
readonly seriesBySeriesIdGames: "/v1/nba/playoffs/series/{series_id}/games";
|
|
160
168
|
};
|
|
161
169
|
readonly roster: {
|
|
162
|
-
/** Get
|
|
170
|
+
/** Get an NBA team's roster by season. `GET /v1/nba/roster` · `stats:read` */
|
|
163
171
|
readonly get: "/v1/nba/roster";
|
|
164
172
|
};
|
|
165
173
|
readonly rosterShapes: {
|
|
166
174
|
/** Get a Roster Shapes document. `GET /v1/nba/roster-shapes/{doc_key}` · `stats:read` */
|
|
167
175
|
readonly byDocKey: "/v1/nba/roster-shapes/{doc_key}";
|
|
168
176
|
};
|
|
177
|
+
readonly schedule: {
|
|
178
|
+
/** List a day's NBA games with their NBA game ids, from the NBA schedule feed. `GET /v1/nba/schedule/{date}` · `stats:read` */
|
|
179
|
+
readonly byDate: "/v1/nba/schedule/{date}";
|
|
180
|
+
};
|
|
181
|
+
readonly scoreboard: {
|
|
182
|
+
/** List a day's NBA games with live scores and clocks, from the NBA feed. `GET /v1/nba/scoreboard/{date}` · `stats:read` */
|
|
183
|
+
readonly byDate: "/v1/nba/scoreboard/{date}";
|
|
184
|
+
};
|
|
169
185
|
readonly shotChart: {
|
|
170
|
-
/** Get NBA league
|
|
186
|
+
/** Get NBA league shooting by zone. `GET /v1/nba/shot-chart/league` · `stats:read` */
|
|
171
187
|
readonly league: "/v1/nba/shot-chart/league";
|
|
172
|
-
/** Get
|
|
188
|
+
/** Get an NBA player's shot chart. `GET /v1/nba/shot-chart/player` · `stats:read` */
|
|
173
189
|
readonly player: "/v1/nba/shot-chart/player";
|
|
174
|
-
/** Get
|
|
190
|
+
/** Get an NBA team's shot chart. `GET /v1/nba/shot-chart/team` · `stats:read` */
|
|
175
191
|
readonly team: "/v1/nba/shot-chart/team";
|
|
176
192
|
};
|
|
177
193
|
readonly shotQuality: {
|
|
@@ -189,7 +205,7 @@ export declare const methods: {
|
|
|
189
205
|
readonly shots: {
|
|
190
206
|
/** List NBA shot matchups. `GET /v1/nba/shots` · `stats:read` */
|
|
191
207
|
readonly get: "/v1/nba/shots";
|
|
192
|
-
/** List the
|
|
208
|
+
/** List the seasons and teams for shot search. `GET /v1/nba/shots/filters` · `stats:read` */
|
|
193
209
|
readonly filters: "/v1/nba/shots/filters";
|
|
194
210
|
};
|
|
195
211
|
readonly standings: {
|
|
@@ -197,7 +213,7 @@ export declare const methods: {
|
|
|
197
213
|
readonly get: "/v1/nba/standings";
|
|
198
214
|
};
|
|
199
215
|
readonly stats: {
|
|
200
|
-
/** Get the full NBA player stats
|
|
216
|
+
/** Get the full NBA player stats dataset. `GET /v1/nba/stats/dataset` · `stats:read` */
|
|
201
217
|
readonly dataset: "/v1/nba/stats/dataset";
|
|
202
218
|
/** Query the NBA player stats table. `GET /v1/nba/stats/query` · `stats:read` */
|
|
203
219
|
readonly query: "/v1/nba/stats/query";
|
|
@@ -255,7 +271,7 @@ export declare const methods: {
|
|
|
255
271
|
};
|
|
256
272
|
readonly wnba: {
|
|
257
273
|
readonly leagueBaselines: {
|
|
258
|
-
/** WNBA league
|
|
274
|
+
/** Get WNBA league averages by season. `GET /v1/wnba/league-baselines` · `stats:read` */
|
|
259
275
|
readonly get: "/v1/wnba/league-baselines";
|
|
260
276
|
};
|
|
261
277
|
readonly live: {
|
|
@@ -269,31 +285,31 @@ export declare const methods: {
|
|
|
269
285
|
readonly playsByEventId: "/v1/wnba/live/plays/{event_id}";
|
|
270
286
|
};
|
|
271
287
|
readonly opponentQuality: {
|
|
272
|
-
/** WNBA teams
|
|
288
|
+
/** List WNBA teams in a rating tier. `GET /v1/wnba/opponent-quality` · `stats:read` */
|
|
273
289
|
readonly get: "/v1/wnba/opponent-quality";
|
|
274
290
|
};
|
|
275
291
|
readonly pbp: {
|
|
276
|
-
/** Get
|
|
292
|
+
/** Get WNBA lineup totals, player stats and lineups. `POST /v1/wnba/pbp/enhanced-stats` · `stats:read` */
|
|
277
293
|
readonly enhancedStats: "POST /v1/wnba/pbp/enhanced-stats";
|
|
278
|
-
/**
|
|
294
|
+
/** List WNBA five-man lineups. `POST /v1/wnba/pbp/lineup/combos` · `stats:read` */
|
|
279
295
|
readonly lineupCombos: "POST /v1/wnba/pbp/lineup/combos";
|
|
280
|
-
/** Get WNBA
|
|
296
|
+
/** Get WNBA player stats from lineups. `POST /v1/wnba/pbp/lineup/players` · `stats:read` */
|
|
281
297
|
readonly lineupPlayers: "POST /v1/wnba/pbp/lineup/players";
|
|
282
|
-
/** Get WNBA lineup
|
|
298
|
+
/** Get WNBA lineup totals and four factors. `POST /v1/wnba/pbp/lineup/summary` · `stats:read` */
|
|
283
299
|
readonly lineupSummary: "POST /v1/wnba/pbp/lineup/summary";
|
|
284
|
-
/**
|
|
300
|
+
/** List WNBA play-by-play endpoints and options. `GET /v1/wnba/pbp/manifest` · `stats:read` */
|
|
285
301
|
readonly manifest: "/v1/wnba/pbp/manifest";
|
|
286
|
-
/** Get
|
|
302
|
+
/** Get a WNBA player's season game log. `GET /v1/wnba/pbp/player-log` · `stats:read` */
|
|
287
303
|
readonly playerLog: "/v1/wnba/pbp/player-log";
|
|
288
|
-
/** Get
|
|
304
|
+
/** Get a WNBA player's stats with and without teammates. `POST /v1/wnba/pbp/player-wowy` · `stats:read` */
|
|
289
305
|
readonly playerWowy: "POST /v1/wnba/pbp/player-wowy";
|
|
290
|
-
/**
|
|
306
|
+
/** List WNBA players who played in a season. `GET /v1/wnba/pbp/players-by-season` · `stats:read` */
|
|
291
307
|
readonly playersBySeason: "/v1/wnba/pbp/players-by-season";
|
|
292
|
-
/** Get
|
|
308
|
+
/** Get WNBA season totals for every player or team. `GET /v1/wnba/pbp/season-totals` · `stats:read` */
|
|
293
309
|
readonly seasonTotals: "/v1/wnba/pbp/season-totals";
|
|
294
|
-
/** Get
|
|
310
|
+
/** Get a WNBA team's season game log. `GET /v1/wnba/pbp/team-log` · `stats:read` */
|
|
295
311
|
readonly teamLog: "/v1/wnba/pbp/team-log";
|
|
296
|
-
/** Get WNBA
|
|
312
|
+
/** Get WNBA on/off stats for player combinations. `POST /v1/wnba/pbp/wowy-combos-stats` · `stats:read` */
|
|
297
313
|
readonly wowyCombosStats: "POST /v1/wnba/pbp/wowy-combos-stats";
|
|
298
314
|
};
|
|
299
315
|
readonly players: {
|
|
@@ -305,11 +321,11 @@ export declare const methods: {
|
|
|
305
321
|
readonly get: "/v1/wnba/playoffs";
|
|
306
322
|
};
|
|
307
323
|
readonly shotChart: {
|
|
308
|
-
/** Get WNBA league
|
|
324
|
+
/** Get WNBA league shooting by zone. `GET /v1/wnba/shot-chart/league` · `stats:read` */
|
|
309
325
|
readonly league: "/v1/wnba/shot-chart/league";
|
|
310
|
-
/** Get
|
|
326
|
+
/** Get a WNBA player's shot chart. `GET /v1/wnba/shot-chart/player` · `stats:read` */
|
|
311
327
|
readonly player: "/v1/wnba/shot-chart/player";
|
|
312
|
-
/** Get
|
|
328
|
+
/** Get a WNBA team's shot chart. `GET /v1/wnba/shot-chart/team` · `stats:read` */
|
|
313
329
|
readonly team: "/v1/wnba/shot-chart/team";
|
|
314
330
|
};
|
|
315
331
|
readonly stats: {
|
|
@@ -321,7 +337,7 @@ export declare const methods: {
|
|
|
321
337
|
readonly percentiles: "/v1/wnba/stats/percentiles";
|
|
322
338
|
/** List WNBA season totals. `GET /v1/wnba/stats/season-totals` · `stats:read` */
|
|
323
339
|
readonly seasonTotals: "/v1/wnba/stats/season-totals";
|
|
324
|
-
/** List WNBA VPM
|
|
340
|
+
/** List WNBA VPM. `GET /v1/wnba/stats/vpm` · `stats:read` */
|
|
325
341
|
readonly vpm: "/v1/wnba/stats/vpm";
|
|
326
342
|
};
|
|
327
343
|
readonly teams: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const SPEC_HASH = "
|
|
1
|
+
export const SPEC_HASH = "7c5211507581";
|
|
2
2
|
export const methods = {
|
|
3
3
|
apps: {
|
|
4
4
|
sixrings: {
|
|
@@ -27,9 +27,13 @@ export const methods = {
|
|
|
27
27
|
youtube: "/v1/nba/draft/youtube",
|
|
28
28
|
},
|
|
29
29
|
games: {
|
|
30
|
+
byGameIdEngine: "/v1/nba/games/{game_id}/engine",
|
|
31
|
+
byGameIdFeedPlays: "/v1/nba/games/{game_id}/feed-plays",
|
|
30
32
|
byGameIdGamelog: "/v1/nba/games/{game_id}/gamelog",
|
|
31
33
|
byGameIdPbp: "/v1/nba/games/{game_id}/pbp",
|
|
32
34
|
byGameIdPlays: "/v1/nba/games/{game_id}/plays",
|
|
35
|
+
byGameIdShots: "/v1/nba/games/{game_id}/shots",
|
|
36
|
+
byGameIdWowy: "/v1/nba/games/{game_id}/wowy",
|
|
33
37
|
},
|
|
34
38
|
injuries: {
|
|
35
39
|
get: "/v1/nba/injuries",
|
|
@@ -97,6 +101,12 @@ export const methods = {
|
|
|
97
101
|
rosterShapes: {
|
|
98
102
|
byDocKey: "/v1/nba/roster-shapes/{doc_key}",
|
|
99
103
|
},
|
|
104
|
+
schedule: {
|
|
105
|
+
byDate: "/v1/nba/schedule/{date}",
|
|
106
|
+
},
|
|
107
|
+
scoreboard: {
|
|
108
|
+
byDate: "/v1/nba/scoreboard/{date}",
|
|
109
|
+
},
|
|
100
110
|
shotChart: {
|
|
101
111
|
league: "/v1/nba/shot-chart/league",
|
|
102
112
|
player: "/v1/nba/shot-chart/player",
|