Skip to content

Commit 897758e

Browse files
committed
fix(Statcast): Fix sending season params to using season_start and season_end
1 parent c5a3deb commit 897758e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/baseball_stats_python/statcast/catcher_throwing.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ def catcher_throwing(
4343
)
4444

4545
params = {
46-
'gameType': game_type,
47-
'season': season,
46+
'game_type': game_type,
47+
'season_start': season,
48+
'season_end': season,
4849
'n': 0,
4950
}
5051

src/baseball_stats_python/statcast/runner_basestealing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def runner_basestealing(
6565

6666
params = {
6767
'game_type': game_type,
68-
'season': season,
68+
'season_start': season,
69+
'season_end': season,
6970
'n': 0,
7071
'pitch_hand': get_hand_param_str(pitch_hand),
7172
'prior_pk': get_prior_pk_param_str(prior_pk),

0 commit comments

Comments
 (0)