Variables | |
| health = ServerHealth.get() | |
| uptime = datetime.fromtimestamp(health.uptime).strftime("%H:%M:%S") | |
server_health.py This example shows how to check the server health using the Talkomatic REST API.
| server_health.health = ServerHealth.get() |
Definition at line 13 of file server_health.py.
| server_health.uptime = datetime.fromtimestamp(health.uptime).strftime("%H:%M:%S") |
Definition at line 17 of file server_health.py.