Open mattyanselmo opened 2 years ago
For future me, a reproducible example: https://app.americansocceranalysis.com/api/v1/mls/players/goals-added?minimum_minutes=6000&season_name=2018%2C2019&split_by_seasons=false.
Also, this combination unexpectedly doesn't enforce the minutes filter: https://app.americansocceranalysis.com/api/v1/mls/players/goals-added?minimum_minutes=6000&season_name=2018%2C2019&split_by_seasons=false&split_by_teams=true&split_by_games=false.
What happened?
The split_by_seasons 'false' option is not working in the API, as can be tested here.
When I try to select "false" from the dropdown menu I get a 500 error. Through the package's get_player_goals_added() function, you can pass "" or NULL or TRUE into this input to get what you expect, respectively, but not "false" or FALSE, or as it turns out, "fart" either.
Version
0.1.1
What version of Python or R are you using?
R 3.6.x
What operating system are you using?
Windows
Relevant log output
No response