/hlidacstatu-client

A client for interacting with the https://www.hlidacstatu.cz API

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Hlidac Statu Client

GitHub npm deno Patreon Donate GitHub Sponsors

Simple to use API client for Hlidac Statu.

Installation

Install with npm:

npm install hlidacstatu-client

Usage

const { V2 } = require('hlidacstatu-client');

const client = new V2.Client('api_token');

const result = await client.ping('Hello world!');
// TypeScript/ES Module support
import { V2 } from 'hlidacstatu-client';

const client = new V2.Client('api_token');

const result = await client.ping('Hello world!');