BurntSushi / nflgame

An API to retrieve and read NFL Game Center JSON data. It can work with real-time data, which can be used for fantasy football.
http://pdoc.burntsushi.net/nflgame
The Unlicense
1.27k stars 413 forks source link

Live updates not working? #324

Open mattshobe opened 6 years ago

mattshobe commented 6 years ago

I'm using the version of the codebase that has

_CUR_SCHEDULE = "http://www.nfl.com/liveupdate/scorestrip/ss.xml"

(not the postseason version) and I'm getting back the live XML. However, during live games,

games = nflgame.live.current_games(2017)

…is returning None. Something change in the schema? Thanks for this library @BurntSushi , it's been awesome the past three years I've been able to use it in my pick 'em app.

zag2me commented 6 years ago

Yep 2017 seems broken.

2016 still works fine looking back.

mattshobe commented 6 years ago

Thanks - anything quick I can fix on my end, or is live functionality beyond our control? I note http://www.nfl.com/liveupdate/scores/scores.json still seems just fine.

derek-adair commented 5 years ago

We have a working version over here

gnagle5997 commented 2 years ago

I am now using a hidden API from espn, i was able to parse out all of the live scores for each game using this. it is big, but all of the info is there, search for /scoreboard/ to find it, i was starting my parse using the .png for each team.

http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard

ThomasMorgani commented 2 years ago

I am now using a hidden API from espn, i was able to parse out all of the live scores for each game using this. it is big, but all of the info is there, search for /scoreboard/ to find it, i was starting my parse using the .png for each team.

http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard

Hey, good find thanks for sharing. i see it takes queries to set the week it returns for example. have you found a way to include/return player stats for the games?

Edorn71 commented 2 years ago

Try checking out https://gist.github.com/nntrn/ee26cb2a0716de0947a0a4e9a157bc1c which gives a full list of these hidden APIs from ESPN.

gnagle5997 commented 2 years ago

I haven't tried anything except scores Gary

Sent from my iPhone

On Sep 22, 2021, at 3:09 PM, Thomas Morgani @.***> wrote:



I am now using a hidden API from espn, i was able to parse out all of the live scores for each game using this. it is big, but all of the info is there, search for /scoreboard/ to find it, i was starting my parse using the .png for each team.

http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard

Hey, good find thanks for sharing. i see it takes queries to set the week it returns for example. have you found a way to include/return player stats for the games?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BurntSushi/nflgame/issues/324#issuecomment-925230752, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEWW25MVX2O4AN6EH2REVPTUDISVZANCNFSM4D2JSIWA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gnagle5997 commented 2 years ago

Great! Thanks for sharing!

Sent from my iPhone

On Sep 22, 2021, at 3:18 PM, Edorn71 @.***> wrote:



Try checking out https://gist.github.com/nntrn/ee26cb2a0716de0947a0a4e9a157bc1c which gives a full list of these hidden APIs from ESPN.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BurntSushi/nflgame/issues/324#issuecomment-925241598, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEWW25NOIHR2IZ2Y3A6OBLTUDITYXANCNFSM4D2JSIWA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

derek-adair commented 2 years ago

I am now using a hidden API from ESPN, I was able to parse out all of the live scores for each game using this. it is big, but all of the info is there, search for /scoreboard/ to find it, I was starting my parse using the .png for each team.

http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard

Fantastic news!!! This could potentially make this project functional again. I am not interested in reviving this project, but if anyone would like to take the reigns I'd be happy to hand it off.