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: Moussx
This Post:
11
318192.1
Date: 02/14/2023 14:30:00
Touristes de Sans-Souci
IV.18
Overall Posts Rated:
2929
I would really like if it was possible to augment BBAPI to get access to the play-by-play in games.

That would allow me to make proper analysis of defensive assignment and schemes. I kind of remember an external tool being mentioned where you'd copy-paste the page into the app, but never got it to work somehow; it'd be easier if I just had an endpoint to use with my access key.

If you're afraid of the resource usage of that page, maybe you could restrict the endpoint to only games where one team I manage is involved ? (Including the NT/U21 for their managers)

From: Bergkamp

This Post:
22
318192.2 in reply to 318192.1
Date: 02/14/2023 18:31:42
Arsenal 98
EBBL
Overall Posts Rated:
272272
Second Team:
Stamford Snow Leopards
BB should use the BBAPI to add the defensive stats into BB itself - oddly I was actually just thinking about this as the #1 change I'd like.

What does 18 OD and 9 ID actually look like stats-wise in a game vs a 18 JS / 13 IS player? Better or worse than against 20 JS / 11 IS?

Your all-offence player scores at 60% eFGP but gives up 55% on the other end...maybe you sell that guy and keep your 50 / 40 guy to lean into defence...or do the opposite.

Would add a lot analytically / immersively.

From: Moussx

This Post:
00
318192.3 in reply to 318192.2
Date: 02/15/2023 10:09:19
Touristes de Sans-Souci
IV.18
Overall Posts Rated:
2929
Yeah, I would also like, when preparing a game, to see the Man-to-man assignments used by my opponent, to see where they like to put which player/defender (that would go against the "rate limit" proposal I made in the post, I know)

A next step then (but as it's available almost nowhere that's a stretch), would be to also have the distance to the basket for each shot in the play-by-play, to see how well the shot distribution of the strategy fits with the roster, as well as seeing if defensively some skills are lacking to force outside or inside shooting

Last edited by Moussx at 02/15/2023 10:09:44

From: radszy

This Post:
11
318192.4 in reply to 318192.3
Date: 02/15/2023 15:01:18
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: 02/16/2023 04:09:36
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: 02/22/2023 07:52:54
Black Light
II.3
Overall Posts Rated:
8686
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: 03/09/2023 16:19:59
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)