An API built using Fetch API to pull raw data from Statsbomb free data resources (https://github.com/statsbomb/open-data) and generate football llineups and results
- Clone this repository
- Open index.html on a web browser
- A GET request is sent to the StatsBomb open data endpoint to retrieve the raw data, which is then converted to JSON
- JSON data is manipulated in JavaScript code and then relevant data appended to the DOM. Below is an example of team lineups/formations being generated on a pitch:
- Further example of the lineup being generated in table format: