diff --git a/examples/api_health_check.py b/examples/api_health_check.py new file mode 100644 index 00000000..b6a4763d --- /dev/null +++ b/examples/api_health_check.py @@ -0,0 +1,18 @@ +""" +Simple API health check example. + +This script verifies that the Kalshi API is reachable +and returns a successful response. +""" + +from kalshi.client import KalshiClient + + +def check_api_health() -> None: + client = KalshiClient() + response = client.get_exchange_status() + print("API status:", response) + + +if __name__ == "__main__": + check_api_health()