When I run this code, I just get back an empty array. When I try to use the axios version I get an error. When I use the client to put in my own person league, I also get an empty array. I made the league public but I also tried with the two codes and still got nothing.
I'm just looking to be able to get the league settings, rosters, and users based on a league id. Any way you can point me in the right direction? I had GPT look at the repo but still no luck. Thanks
Is there a very basic working example you could give me? I have the follow code:
The league id is just one I found on Google:
https://fantasy.espn.com/football/league?leagueId=30031
When I run this code, I just get back an empty array. When I try to use the axios version I get an error. When I use the client to put in my own person league, I also get an empty array. I made the league public but I also tried with the two codes and still got nothing.
I'm just looking to be able to get the league settings, rosters, and users based on a league id. Any way you can point me in the right direction? I had GPT look at the repo but still no luck. Thanks