Skip to content

sinumohan/clockify-npm

Repository files navigation

clockify-npm

A wraper for Clockify REST APIs. For API docs Please refer developers-api.

NPM Package.

Installation

npm install clockify-npm

Examples

You can find the different methods under lib/Workspace.js.

const Clockify = require('clockify-npm');

Clockify.SetKey('YOUR_API_KEY');

// Get all Workspaces of the current User
Clockify.Workspaces.get()
    .then((data) => {
        console.log(data)
    }).catch((err) => {
        console.error(err);
    })

// Create a new Workspace
Clockify.Workspaces.add('My Work Space')
    .then((data) => {
        console.log(data)
    }).catch((err) => {
        console.error(err);
    })

CircleCI

About

Rest Client for Clockify https://clockify.me

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •