This repository contains Python APIs for interacting with and managing Azure DevOps. These APIs power the Azure DevOps Extension for Azure CLI. To learn more about the Azure DevOps Extension for Azure CLI, visit the Microsoft/azure-devops-cli-extension repo.
git clone <repo>
python3 -m venv env
source ./env/bin/activate
pip install -r ./hack/requirements.txt
To use the API, establish a connection using a personal access token and the URL to your Azure DevOps organization. Then get a client from the connection and make API calls.
# Fill in with your personal access token, org URL and project
personal_access_token = 'YOURPAT'
organization_url = 'https://dev.azure.com/YOURORG'
project = 'YOURPROJECT'Run pipe.py
$ python3 pipe.py