Page 1 of 1

Match NBA play by play data to timestamp

Posted: Sat May 13, 2017 2:44 pm
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

Re: Match NBA play by play data to timestamp

Posted: Sun May 28, 2017 8:41 pm
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.