Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Python package Build Status Python

Azure DevOps Python API

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.

Install

git clone <repo>
python3 -m venv env
source ./env/bin/activate
pip install -r ./hack/requirements.txt

Get started

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'

Usage

Run pipe.py

$ python3 pipe.py