A simple object-oriented python interface to the DevOps REST API
Project description
DevOpsAPI
A simple object-oriented easy-to-use python inteface to the Azure DevOps REST API
Features
- Create, Delete and Modify WorkItems and Test Cases
- Query WorkItems using the wsql
Quickstart
-
Create an PAT on DevOps, give permissions for the scopes you want to access
from DevOpsAPI import Api, Wit, Step api = Api(organisation="myorg", projet="myproject", user="your@email.com", apikey="PAT") wi = api.WorkItems.create(type=Wit.Task, title="First Task", area="my\\area") wi.Description = "Describe your Task" wi.Tags = "tag1,tag2" wi = api.TestCase.create(title="First TestCase", area="my\\area") wi.Description = "Describe your Test Case" wi.Tags = "tag1,tag2" step1 = Step("Given I use DevOpsAPI") step2 = Step("Then I am happy") wi.Steps = [step1, step2]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DevOpsAPI-0.1.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for DevOpsAPI-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddca810ebcb829044a5b8e0bfb2bb89f3e7cce40b95a06a6cf4970169f378bd0 |
|
MD5 | e480c60aef4a9a0efaacf3ff8d5c0362 |
|
BLAKE2b-256 | d267727a76dbc7bd1f1cebad138dd9199ecfca5a8ee8a1a2e34f029ae9bb61bc |