Display your ESPN Fantasy Football matchup as a tile on your dashboard
Tile and device attributes indicate:
- whether your team or your opponent's team is starting a player who is out (injured with a projected score of 0)
- whether any of your players are playing now, and whether any of your opponent's players are playing now (switch turns to on when you have players playing)
- minutes left, number of players in play, and number of players yet to play, for your team and your opponent's team
- number of points scored, both actual and projected
To Install, you'll need your ESPN Fantasy Football league id (see the url on your team's league page). If the league is a private league that is not viewable by the public, you'll also need the values of the SWID cookie and the espn_32 cookie. See instructions here on how to get those. Remove the brackets {} from the cookie values.
Also, I'm currently working on an issue with it updating. I just uploaded a new version that will fix the out-of-game updates, but still working on the (presumably more frequent) in-game updates. Very much an alpha version at this point, but figured better to release while we're already in week 4 of NFL.
EDIT: ok just release 1.0.2 that hopefully should fix the in game updating. At least for now it's the easiest/best way - plan on poking around the undocumented API more to see if there's a better way to do it
Also, the projected score is the projection before the games start. Looking for how to get the live updated projection after games start, and will replace when I figure that out.
It's actually quite frustrating to try to tap into an undocumented API, especially ESPNs - theirs seems quite unorganized with so much overlapping data between API endpoints and so much "encoding" of the meaning of various data points.
Still getting an error, different line. java.lang.NullPointerException: Cannot get property 'teamId' on null object on line 353 (method updated)
EDIT: just a thought, we have an odd number in our league this year; so someone always has a bye. Is that throwing the error since it can't find the matchup?
I've done a lot of work on this over the past week. I expect I'll release a new version in the next day or so, with a lot of new features. I will make sure it can handle byes now that you mention it - not something that I had considered yet, so thx.
@fieldsjm
Just released v1.1.0. Major update. You'll definitely need to go into the app and set it back up. Lots of new settings to ensure are configured. Bye weeks are handled now.
Thanks.
I remove the app and re-installed (just in case).
No longer getting the bye related error. Successfully created the two child devices (league and team). But the log is showing no matchup found. I double checked espn and I do have a matchup this week.
What are these values in the application state for you? Wondering if there's something about it being a tuesday that it isn't catching the right matchup week yet.
And get you a nice team icon too. I like this AI image generator since it can generate transparent background png files and can generate nice simplistic logos.