{"id":13674672,"url":"https://github.com/7eggs/node-toggl-api","last_synced_at":"2025-04-28T14:31:56.513Z","repository":{"id":17652233,"uuid":"20456780","full_name":"7eggs/node-toggl-api","owner":"7eggs","description":"Toggl API for Node.js","archived":false,"fork":false,"pushed_at":"2024-05-08T14:29:36.000Z","size":631,"stargazers_count":121,"open_issues_count":5,"forks_count":44,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-05T13:05:37.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://7eggs.github.io/node-toggl-api/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7eggs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-06-03T19:40:23.000Z","updated_at":"2024-07-26T15:18:59.000Z","dependencies_parsed_at":"2024-04-26T18:40:44.718Z","dependency_job_id":"257f50ce-cf99-4345-8c70-35335322f07d","html_url":"https://github.com/7eggs/node-toggl-api","commit_stats":{"total_commits":58,"total_committers":8,"mean_commits":7.25,"dds":"0.13793103448275867","last_synced_commit":"439b10ae2f88552e2f84ef1024aeaddb06aabb4b"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7eggs%2Fnode-toggl-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7eggs%2Fnode-toggl-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7eggs%2Fnode-toggl-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7eggs%2Fnode-toggl-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7eggs","download_url":"https://codeload.github.com/7eggs/node-toggl-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224120281,"owners_count":17259042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T11:00:56.692Z","updated_at":"2024-11-11T14:31:24.659Z","avatar_url":"https://github.com/7eggs.png","language":"JavaScript","funding_links":[],"categories":["API wrapper","JavaScript"],"sub_categories":[],"readme":"toggl-api\n==========\n\n[Toggl](https://www.toggl.com/) API for Node.js. Library is based on official Toggl API [documentation](https://github.com/toggl/toggl_api_docs).\n\n## Installation\n\n    npm install toggl-api --save\n\n## How to use\n\n```javascript\nvar TogglClient = require('toggl-api');\nvar toggl = new TogglClient({apiToken: '1971800d4d82861d8f2c1651fea4d212'});\n\ntoggl.startTimeEntry({\n  description: 'Some cool work',\n  billable:    true\n}, function(err, timeEntry) {\n  // handle error\n\n  // working 10 seconds\n  setTimeout(function() {\n    toggl.stopTimeEntry(timeEntry.id, function(err) {\n      // handle error\n\n      toggl.updateTimeEntry(timeEntry.id, {tags: ['finished']}, function(err) {\n        toggl.destroy()\n      });\n    });\n  }, 120000);\n});\n```\n\n## Documentation\n\nDocumentation is available at: [http://7eggs.github.io/node-toggl-api/](http://7eggs.github.io/node-toggl-api/)\n\n## TODO\n\n* TESTS\n* Update argument quantity logic on all calls\n* Documentation in Markdown format\n* Remove custom data validator\n* v9 migration\n  * add support for new endpoints:\n    * /workspaces/{workspace_id}/clients/{client_id}/archive\n    * /workspaces/{workspace_id}/clients/{client_id}/restore\n    * /organizations/{organization_id}/invitations/{invitation_code}/resend\n    * /organizations/invitations/{invitation_code}/accept\n    * /organizations/invitations/{invitation_code}/reject\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7eggs%2Fnode-toggl-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7eggs%2Fnode-toggl-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7eggs%2Fnode-toggl-api/lists"}