Skip to content

mfunkie/tfs.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

TFS.py

tfs.py is a python module for interfacing with TFS 2012 via undocumented REST APIs

Features

  • Find currently queued builds

Usage

import tfs

tfs.TFS_URL = 'https://tfs.mycompany.com/tfs'
tfs.TFS_TEAM_PROJECT_COLLECTION = 'DefaultCollection'
tfs.TFS_TEAM_PROJECT = 'Unlimited'
# If a password is not supplied, the user will be prompted
builds = tfs.getQueuedBuilds('username','pass')
for build in builds:
	print "%-20s:%15s" % (build["definition"], build["status"])

Requirements

About

TFS 2012 API for python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages