Stumbling On The Nhl Goldmine...

Discussion in 'Other Sports' started by NBP81, Jan 26, 2019.

  1. NBP81

    NBP81 Yippi ka yay mother******! Finheaven VIP Donator

    Joined:
    Jan 2008
    Messages:
    8,385
    Likes Received:
    5,723
    Trophy Points:
    113
    I found out recently that the NHL api was public. It was my weekend mission to try and make sense of it and build code to scrape it and put it in decent format. Not sure if anyone's interested but if so, here's the play by play for all games by all teams from the begining of the season up until right now. Its in csv format.

    Its all in there, shots, missed shots, hits, faceoffs, giveaways, takeways, blocked shots... Individual players with time stamps and even (x,y) coordinates for every single events... You could litteraly build a game tracker with this stuff...

    this dataset has 200 625 rows.

    If the thing is to big to open on your prefered software, I can subset it for you, just let me know in this thread.

    If there's any interest I'll update it every week....

    https://www.dropbox.com/s/jzshwhy6nhe955m/current_nhl_log.csv?dl=0
     
    finomenal and Crump like this.
  2. Crump

    Crump FinHeaven VIP Finheaven VIP Donator

    Joined:
    Mar 2004
    Messages:
    2,984
    Likes Received:
    3,852
    Trophy Points:
    113
    Go HURRICANES!!! ill be honest ive been to probably a dozen NFL games, one NHL and about 2-3 AHL or ECHL games (my local charlotte checkers) seeing marino live twice was awesome in 89 and 98..but as far as excitement factor, the hockey games kicked the nfl games *** as far as enjoyment. especially sitting on the ice by the crease with cheerleaders 10 feet behind you, slapping the glass while people were slammed into it. just stepping outside for a pee and smoke (I normally knock both out at the same time when drinking) you'd come back at times and two goals had been scored and 3-5 minutes ran off the clock. NFL seems like you step outside to smoke you miss 3 plays. as far as watching now a days, I randomly do because the wife finds it boring as **** and we're normally laying in bed before the games start so she has the remote. as far as tv goes, ill take my fins, you want me to watch a live game, sheeesh give me good old fashioned chicken dancing at the 50 year old Bojangles coliseum with a lukewarm draft beer and a big ol pretzel
     
    NBP81 likes this.
  3. finomenal

    finomenal FinHeaven VIP Finheaven VIP

    Joined:
    Jan 2009
    Messages:
    8,590
    Likes Received:
    3,589
    Trophy Points:
    113
    I don't watch hockey, but that's impressive man! Good work.
     
    NBP81 likes this.
  4. NBP81

    NBP81 Yippi ka yay mother******! Finheaven VIP Donator

    Joined:
    Jan 2008
    Messages:
    8,385
    Likes Received:
    5,723
    Trophy Points:
    113
    Thanks! I dont watch alot of hockey either these days but I like working with machine learning and deep learning tools. Sports stats are more enjoyable for me so I was really glad I found that data source. I've been trying to crack the MLB and NFL APIs but they're not public at the moment, I emailed them to get a key and basically, they dont give a **** about me...
     
    Crump likes this.

Share This Page