freshping.js
v1.0.3
Published
A simple API wrapper for Freshping.io
Readme
I made this for my project, feel free for your using!
It have almost all things in their document https://support.freshping.io/en/support/solutions/articles/50000003709-freshping-api-documentation except contact because i don't what is that and i don't need that
Example:
import { FreshpingJS } from "freshping.js";
(async () => {
const client = new FreshpingJS("USERNAME", "APIKEY")
const checks = await client.getChecks()
console.log(checks)
})()or:
const { FreshpingJS } = require("freshping.js");
(async () => {
const client = new FreshpingJS("USERNAME", "APIKEY")
const checks = await client.getChecks()
console.log(checks)
})()