You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to use this library, and I'm running into an issue. I'm wondering if I can come here for help.
It seems like I get {'Error': 'Invalid endpoint'} back anytime I pass an event as a parameter.
Here's what my code looks like.
tba = tbapy.TBA('key')
current_year = tba.status()["current_season"]
team_number = "frc4091"
team_events = tba.team_events(team=team_number, year=current_year)
for event in team_events:
print("Week %s: %s" % (event["week"], event["name"])) # prints Week 2: Orlando Regional
print(tba.event_rankings(event=event)) # prints Rankings({'Error': 'Invalid endpoint'})
print(tba.team_status(team=team_number, event=event)) # prints Status({'Error': 'Invalid endpoint'})
If someone could explain what's happening I'd appreciate it.
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to use this library, and I'm running into an issue. I'm wondering if I can come here for help.
It seems like I get
{'Error': 'Invalid endpoint'}
back anytime I pass an event as a parameter.Here's what my code looks like.
If someone could explain what's happening I'd appreciate it.
The text was updated successfully, but these errors were encountered: