Get the following statistics from the Official Greek Super League website in JSON format:
- All the games of the selected team.
- Results per player for the selected team.
- Comparison between the starting 11 players and the previous season's roster.
- Install Python.
- Install
virtualenv
tool:pip install virtualenv
- Create the virtual environment:
python -m virtualenv venv
. - Activate the environment:
.\venv\Scripts\activate
. - Add libraries and create a
requirements.txt
file:- This file can then be used by collaborators to update virtual environments using the following command:
pip install -r requirements.txt
. - This command creates a file called
requirements.txt
that enumerates the installed packages:pip freeze > requirements.txt
.
- This file can then be used by collaborators to update virtual environments using the following command:
- Deactivate the environment:
deactivate
.
- Open a new terminal.
- Execute:
python main.py