Taking a command line argument (URL of a single data file) to get information related to sports in CSV format, the script parses this information and finally outputs to the console the result which is the data structured as mutiple JSON objects. This is also saved to a .txt file for viewing at a later date.
- Navigate to the project directory
- Once in the project directory open a terminal window here
- Type
python3 parse-data.py ARG
ARG
being the url of the CSV file from https://www.football-data.co.uk/- An example of a accepted URL is https://www.football-data.co.uk/mmz4281/1920/E0.csv