In Python REST API for Azure DevOps (https://github.com/Microsoft/azure-devops-python-api), there is only a single example given to parse the list of projects:
from vsts.vss_connection import VssConnection
from msrest.authentication import BasicAuthentication
import pprint
# Fill in with your personal access token and org URL
personal_access_token = 'YOURPAT'
organization_url = 'https://dev.azure.com/YOURORG'
# Create a connection to the org
credentials = BasicAuthentication('', personal_access_token)
connection = VssConnection(base_url=organization_url, creds=credentials)
# Get a client (the "core" client provides access to projects, teams, etc)
core_client = connection.get_client('vsts.core.v4_0.core_client.CoreClient')
Where is this string 'vsts.core.v4_0.core_client.CoreClient' coming from?
And more importantly, what is the corresponding "magic string" for manipulating:
- WorkItems
- Test Runs and Results
- Tasks
- Builds
- etc...
