/nodejs-clockodo

Primary LanguageJavaScriptMIT LicenseMIT

This is a simple node package for using some of the endpoints of [https://www.clockodo.com/en/api/]

Installation

There's no release yet on npm, so you must install from github directly.

npm install git+https://github.com/bratelefant/nodejs-clockodo.git

Usage

Import and configure the module like so

import { Clockodo } from "nodejs-clockodo";

Clockodo.configure({
    server: "https://my.clockodo.com/api/",
    email: "mymailatclockodo@mail.com",
    apikey: "1234",
    verbose: true
})

CLI

Configure CLI by copying settings.json.example to settings.json and fill in the required infos. Start by making the cli.js user executable by running chmod u+x and then use run the cli interface by ./cli.js.