Venue data suddenly missing? #227
Unanswered
saamijaffer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using a simple call to get the schedule for the year 2022. My code was working smoothly for the past month but suddenly stopped working a few days ago. My code is :
schedule_2022 = mlb.get_schedule(start_date='2022-04-07', end_date='2022-10-05', sport_id=1, game_Types='R')
The error is:
TypeError: Venue.__init__() missing 1 required positional argument: 'id'
The error only occurs in certain date ranges making me think that it's an issue with sudden missing venue data? I was wondering if anybody knew of a potential workaround, I'd be super grateful for any help! Thanks so much :)
Beta Was this translation helpful? Give feedback.
All reactions