Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjfitz/node-toggl
Toggl API wrapper for node.js
https://github.com/hjfitz/node-toggl
ajax axios crypto-js es6 node timer toggl
Last synced: 28 days ago
JSON representation
Toggl API wrapper for node.js
- Host: GitHub
- URL: https://github.com/hjfitz/node-toggl
- Owner: hjfitz
- Created: 2018-03-03T21:03:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T15:16:07.000Z (about 6 years ago)
- Last Synced: 2024-11-14T10:40:53.725Z (3 months ago)
- Topics: ajax, axios, crypto-js, es6, node, timer, toggl
- Language: JavaScript
- Homepage: https://hjfitz.github.io/node-toggl
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-toggl
> Toggl api wrapper for node## Installation
```zsh
yarn add toggl
```## Usage
```js
import toggl from 'node-toggl';// token based auth
const client = toggl.createClient({
token: 'fkjdlfhsfafdsgdd',
});// user based auth
const client = toggl.createClient({
username: '[email protected]',
password: process.env.TOGGL_PASSWORD,
});/**
* TODO
*/// get all entries
// get a given entry
// stop most recent timer
// stop given timer
// start new timer
```