Open rbarman opened 2 months ago
Hey @rbarman thanks for submitting this bug. I will try to re-create it and get back to you.
I was able to replicate this locally. My hunch is the API may have changed at some point. I'll push a fix in the next couple weeks.
Is there an existing issue for this?
Current Behavior
The parameters in
get_league
do not affect the output.All of the below calls return the same output. It returns all of the league's information. Changing the
tab
parameter does not do anything.Expected Behavior
If we specify a parameter, then the output should return data only for that parameter.
client.get_league(league_id ,tab='matches')
should only return data about the league's matches.Steps To Reproduce
main.py
Steps:
Environment
Version
1.0.0
Anything else?
The root cause might be incorrect way of applying the tab parameter in the API url
get_league
internally builds urls like these:These urls all return the same data.