Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.19 KB

Football-Match-Data-Generator

View football lineups and match results on a web page

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

How to install and run project

  • Clone this repository
  • Open index.html on a web browser

How it works

  • 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: