Fetching Data for Prior Weeks (Basketball) #443
Unanswered
itsdaveedwards
asked this question in
Q&A
Replies: 1 comment
-
Hey @itsdaveedwards, what is the scoring type for your league? Also are you trying to get the matchup data or individual days in that matchup period? In my H2H points league I was able to get all of the second matchup data for from this call |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @cwendt94 thank you for all of your hard work on this API, I used it to build a iOS app for our league this year since we use custom scoring which ESPN doesn't support.
I am trying to double check our ESPN data for the year before playoffs start (to account for retroactive stat changes that occur after each week of games ends, which my app was not set to check), but having a lot of issues trying to fetch weeks other than the current one.
Anytime I try to run some variant of
box = league.box_scores(matchup_period = 2, scoring_period = 7, matchup_total = True)
(adding and subtracting the arguments, changing values, etc), I am just getting a list of matchups back but no box scores that my script can use.
Am I doing something wrong? Running box = league.box_scores() always works fine, but it seems like maybe the data structure changes for prior weeks?
Beta Was this translation helpful? Give feedback.
All reactions