ctdclient.utils module

ctdclient.utils.get_config_path(root_path, template_path)[source]
Return type:

Path

ctdclient.utils.individual_dship_api_call(url)[source]

One single request to the API, which takes the full URL and returns the calls’ response. Does also stop the API listener upon repeated failed API calls.

Parameters:

url (str: full URL to the specific API method with argument)

Return type:

a dictionary with the API response