Skip to main content

Simple Python Tooling to interact with Healthcheck.io projects.

Project description

healthcheckioapi

Description

Simple API binding to assist with using the HealthCheck.IO Ping functionality. The whole purpose of this project is to simplify the and minimize the amount of code necessary to perform all the ping functionality available from HealthCheck.IO

Installation

pip install healthcheckioapi

Usage

Send Normal Ping:

import healthcheckio.hc_ping as hc
PING_UUID="THE-UUID-GIVEN-FROM-THE-LINK"
ping = hc.ping(PING_UUID)
ping.ping_send()

Send Fail Ping:

import healthcheckio.hc_ping as hc
PING_UUID="THE-UUID-GIVEN-FROM-THE-LINK"
ping = hc.ping(PING_UUID)
ping.ping_error()

Send Start Ping:

import healthcheckio.hc_ping as hc
PING_UUID="THE-UUID-GIVEN-FROM-THE-LINK"
ping = hc.ping(PING_UUID)
ping.ping_start()

Send Log Ping:

import healthcheckio.hc_ping as hc
PING_UUID="THE-UUID-GIVEN-FROM-THE-LINK"
ping = hc.ping(PING_UUID)
ping.ping_log("THIS IS DATA YOU WANT TO LOG")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

HealthCheckIOAPI-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file HealthCheckIOAPI-1.0.3.tar.gz.

File metadata

  • Download URL: HealthCheckIOAPI-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for HealthCheckIOAPI-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6d99c3a2b1f7691a7a72df345f3984ea7173ce49ea41029450c6b699ffc214a4
MD5 5732252b1c7aef990e059f4a7a64ece4
BLAKE2b-256 440b421cc438dcb48c79398ae083c283d46b60f14549d6566fc12f8bdb451d21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page