BuzzerBeater Forums

Suggestions > Add BBAPI access to Play-by-Play actions

Add BBAPI access to Play-by-Play actions

Set priority
Show messages by
From: radszy

This Post:
11
318192.4 in reply to 318192.3
Date: 2/15/2023 3:01:18 PM
Pony Slaystation
III.12
Overall Posts Rated:
5858
With the play-by-play, the shot distribution can be inferred from the event type. If the event is corner shot, then you can roughly tell the distance from the basket. But that is as much as you'll get, because the shot position is randomly generated within an area that fits the event type. Basically, the game doesn't care if it's one corner or the other.

I guess the defensive assignments could also be inferred if one has access to play-by-play.

This Post:
99
318192.6 in reply to 318192.5
Date: 2/16/2023 4:09:36 AM
Wuhan Wastrels
II.4
Overall Posts Rated:
4545
Can we have a thread with a list of your top 10 ideas Justin?

From: Coco

This Post:
00
318192.7 in reply to 318192.5
Date: 2/22/2023 7:52:54 AM
Black Light
NBBA
Overall Posts Rated:
128128
Second Team:
Capitol Hill Arrows
hallelujah! when you do your new nickname will be BB-Jesus

From: radszy

This Post:
22
318192.8 in reply to 318192.1
Date: 3/9/2023 4:19:59 PM
Pony Slaystation
III.12
Overall Posts Rated:
5858
Probably not what you hoped for, but you may want to have a look at the tool I recently pushed to github. It should let you do exactly what you are asking for.
https://github.com/radszy/bbinsider

It's not in a state where an end user can use it, but if you can hack on python code, then you can go very far with it.

As an example, this is the data I could fairly quickly pull out.
https://github.com/radszy/bbinsider/wiki/Shot-Types-(PLK)