statsbomb/statsbombpy — reverse-engineered prompt

Reverse engineered prompt

Build me a small Python library that makes it really easy to pull StatsBomb football data into a notebook or script. I want to be able to import one simple module and fetch things like competitions, matches, match events, and related data as clean pandas dataframes, with sensible defaults so open data works without any login.

It should also support authenticated access for paid API users by reading a username and password from environment variables, and also let people pass credentials directly in code if they want. For the heavier calls, add optional parallel loading based on a cores setting from the environment so large data pulls are faster.

Please make it feel beginner friendly, with clear examples in the README showing the basic workflow from competitions to matches to event level data. Make it pip installable, organized like a normal Python package, and include a small test suite so the main functions are covered. If anything is unclear, look up the current StatsBomb docs and open data conventions online.

Want more depth? Deep Reverse