Python-api Consuming an API with Python Create an environment python3 -m venv .venv Activate your environment source .venv/bin/activate Deactivate your environment deactivate Install packages You can run the following command in your (.venv) terminal: python3 -m pip install requests Run the programme python3 main.py Testing the programme Type this command in your terminal: pytest Useful links Missing module docstring Python requests timeout