get_celonis
get_celonis(url=None, api_token=None, key_type=None, return_object=False, verify_ssl=True, read_only=False, user_agent='pycelonis/VERSION', timeout=120, total_retry=0, backoff_factor=0, cookie=None, connect=True, **kwargs)
¶
Get a Celonis object or pass a fully qualified URL to get a specific
Celonis Resource object, e.g. https://<team>.<realm>.celonis.cloud/package-manager/api/spaces/{space_id}
to get
the Space object directly.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url |
str |
Celonis base URL. |
None |
api_token |
str |
Celonis API token. |
None |
key_type |
Union[str, KeyType] |
KeyType of API token. One of [ |
None |
return_object |
bool |
Weather or not to return the requested object. |
False |
verify_ssl |
bool |
Requiring requests to verify the TLS certificate at the remote end. |
True |
read_only |
bool |
If True only GET methods are allowed, set to False to enable PUT, POST and DELETE methods. |
False |
user_agent |
str |
Session header value for |
'pycelonis/VERSION' |
timeout |
int |
How long to wait for the server to send data before giving up
(in seconds, 300 for data push/pull, max 600). |
120 |
total_retry |
int |
Total number of retries (by default disabled, max. 10). |
0 |
backoff_factor |
float |
Factor to apply between retry attempts after the second try (by default disabled). |
0 |
cookie |
str |
Session header value for |
None |
connect |
bool |
If True connects to Celonis on initialization and provides permission information. |
True |
Returns:
Type | Description |
---|---|
Any |
The Celonis API object. |