from toolbox_sdk import ToolboxClient
# Enable basic debug logging to stderr
ToolboxClient.configure_logger()
# Initialize client with your API key, use default base url
toolbox = ToolboxClient("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
# Run a tool synchronously
type_showcase = toolbox.tool("type_showcase")
result = type_showcase({
"simple_string": ...,
"limited_string": ...,
"optional_string": ...,
"simple_int": ...,
"unsigned_int": ...,
"optional_int": ...,
"simple_float": ...,
"unsigned_float": ...,
"simple_bool": ...,
"optional_bool": ...,
"simple_date": ...,
"optional_date": ...,
"simple_file": toolbox.upload_file("local_file.ext"),
"text_file": toolbox.upload_file("local_file.ext"),