Match NBA play by play data to timestamp

Home for all your discussion of basketball statistical analysis.
Post Reply
GHack101
Posts: 5
Joined: Sun Jul 17, 2016 12:17 pm

Match NBA play by play data to timestamp

Post by GHack101 »

Hi, I was wondering if anyone had any ideas about how if I had the gameclock time in a game, I could match those to real world time? Or if someone out there has already done this somehow? Thanks
Warthog
Posts: 22
Joined: Tue Jul 12, 2016 8:23 pm

Re: Match NBA play by play data to timestamp

Post by Warthog »

You can use the NBA API for this. For example:

http://stats.nba.com/stats/playbyplayv2 ... ndPeriod=1

For each play, PCTIMESTRING is the amount of time left in the period, and WCTIMESTRING is the real world time.
Post Reply