import json import os from pyteamcity import TeamCity tc = TeamCity() # data = tc.get_all_users() # print(json.dumps(data, indent=4)) data = tc.get_user_by_username('codyw') print(json.dumps(data, indent=4)) # data = tc.get_all_vcs_roots() # print(json.dumps(data, indent=4)) # data = tc.get_vcs_root_by_vcs_root_id('CodeRepo') # print(json.dumps(data, indent=4)) # data = tc.get_all_build_types() # print(json.dumps(data, indent=4)) # data = tc.get_changes_by_build_id(73450) # print(json.dumps(data, indent=4)) # data = tc.get_build_statistics_by_build_id(73450) # print(json.dumps(data, indent=4)) # data = tc.get_build_tags_by_build_id(73450) # print(json.dumps(data, indent=4))
import json from pyteamcity import TeamCity tc = TeamCity() # data = tc.get_all_users() # print(json.dumps(data, indent=4)) data = tc.get_user_by_username('codyw') print(json.dumps(data, indent=4)) # data = tc.get_all_vcs_roots() # print(json.dumps(data, indent=4)) # data = tc.get_vcs_root_by_vcs_root_id('CodeRepo') # print(json.dumps(data, indent=4)) # data = tc.get_all_build_types() # print(json.dumps(data, indent=4)) # data = tc.get_changes_by_build_id(73450) # print(json.dumps(data, indent=4)) # data = tc.get_build_statistics_by_build_id(73450) # print(json.dumps(data, indent=4)) # data = tc.get_build_tags_by_build_id(73450) # print(json.dumps(data, indent=4)) # data = tc.get_change_by_change_id(16884)