Install the pyatmo
module (I suggest to do this in a virtual environment python3 -m venv venv; . venv/bin/activate
)
python3 -m pip install --upgrade pyatmo
Download the test script
wget https://gist.githubusercontent.com/cgtobi/703b8e1ebc465424df1625213dfb44c9/raw/e8b4a29dc91edd9a342b8ef3fc34e4b82ef18743/gen_test_data_4.py -O gen_test_data.py
Run the script
python gen_test_data.py --CLIENT_ID <YOUR_CLIENT_ID> --CLIENT_SECRET <YOUR_CLIENT_SECRET> --USERNAME '<YOUR@MAIL.COM>' --PASSWORD '<YOUR_SECRET_PASSWORD>' --mode long