22 lines
596 B
Python
22 lines
596 B
Python
from tfs import TFSAPI
|
|
from requests_negotiate_sspi import HttpNegotiateAuth
|
|
|
|
import requests
|
|
|
|
|
|
|
|
|
|
user="admindenker"
|
|
password="biadmin#kode4meO2"
|
|
|
|
# Use DefaultCollection
|
|
#client = TFSAPI("http://rmsqls0172:8080/tfs/", auth_type=HttpNegotiateAuth)
|
|
|
|
# Use CustomCollection
|
|
#client = TFSAPI("https://tfs.tfs.ru/tfs/", project="DefaultCollection", user=user, password=password)
|
|
|
|
# Set path to ProjectName in project parameter
|
|
client=TFSAPI("http://rmsqls0172:8080/tfs/", project="Datavarehus/",auth_type=HttpNegotiateAuth)
|
|
|
|
workitem = client.get_workitem(100) # Test connection with Workitem id
|
|
#git |