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: about 1 year 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T15:16:07.000Z (over 7 years ago)
- Last Synced: 2025-01-14T03:37:54.519Z (about 1 year 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: 'harry@hjf.io',
password: process.env.TOGGL_PASSWORD,
});
/**
* TODO
*/
// get all entries
// get a given entry
// stop most recent timer
// stop given timer
// start new timer
```