Status
Check the status of the API.
status(url=os.getenv('RECEPTIVITI_URL', ''), key=os.getenv('RECEPTIVITI_KEY', ''), secret=os.getenv('RECEPTIVITI_SECRET', ''), dotenv=False, verbose=True)
Check the API's status.
Ping the Receptiviti API to see if it's available, and if your credentials are valid.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url |
str
|
The URL of the API. |
getenv('RECEPTIVITI_URL', '')
|
key |
str
|
Your API key. |
getenv('RECEPTIVITI_KEY', '')
|
secret |
str
|
Your API secret. |
getenv('RECEPTIVITI_SECRET', '')
|
dotenv |
bool | str
|
Path to a .env file to read environment variables from, or |
False
|
verbose |
bool
|
If |
True
|
Returns:
Type | Description |
---|---|
Union[Response, None]
|
Response from the API server. |
Examples: