Use the Analytics 2.0 APIs with Python
Create a local virtual environment
Copied to your clipboard$ rm -rf venv;$ virtualenv -p $(which python3 2>/dev/null || which python) venvActivate the virtual environment
Copied to your clipboard$ [ -f venv/bin/activate ] && source venv/bin/activate || source venv/Scripts/activateInstall python requirements
Copied to your clipboard$ pip install -r requirements.txtSet up authentication.
Populate
config.ini
with parameters specific to your integrationRun
python ims_client.py
See Python client resources on GitHub for example code and additional resources.