talkomatic.py 0.1.2
An easy-to-use Python versatile wrapper for the Talkomatic Bot interface ensuring best practices for making bots, and handling the REST API.
 
Loading...
Searching...
No Matches
server_health Namespace Reference

Variables

 health = ServerHealth.get()
 
 uptime = datetime.fromtimestamp(health.uptime).strftime("%H:%M:%S")
 

Detailed Description

server_health.py

This example shows how to check the server health using the
Talkomatic REST API.

Variable Documentation

◆ health

server_health.health = ServerHealth.get()

Definition at line 13 of file server_health.py.

◆ uptime

server_health.uptime = datetime.fromtimestamp(health.uptime).strftime("%H:%M:%S")

Definition at line 17 of file server_health.py.