KToggl is Kotlin client for the Toggl API v8 and the Toggl Reports API v2
Project is under heavy development and its API (packages, classes, methods names) may change without warning.
Project is designed to work on JVM and AndroidRuntime, that's why contains ktoggl-jvm and ktoggl-android modules that extends ktoggl-core.
Building ktoggl-android required Android SDK installed on OS. If you do not need ktoggl-android, you can use following command to build:
mvn -pl '!ktoggl-android' clean install
To build all ktoggl modules you have to:
- Install Android SDK
- Set ANDROID_HOME environment variable
- Install Android SDK Platform for 28 API Level
- Run
mvn clean install
Some Toggl API endpoints was skipped in current implementation because of its low importance (based on my opinion). Eventually all the endpoints should find itself in KToggl.
If you think that something should be added faster, feel free to create an issue.
-
Authentication
- HTTP Basic Auth with e-mail and password - NO
- HTTP Basic Auth with API token - YES
- Authentication with a session cookie - NO
- Destroy the session - NO
-
Clients
- Create a client - NO
- Get client details - NO
- Update a client - NO
- Delete a client - NO
- Get clients visible to user - NO
- Get client projects - NO
-
CORS whitelists
- Create an entry - NO
- Get entries for current user - NO
- Delete an entry - NO
-
Dashboard
- Get Dashboard data - NO
-
Groups
- Create a group - NO
- Update a group - NO
- Delete a group - NO
-
Project users
- Create a project user - NO
- Update a project user - NO
- Delete a project user - NO
- Get list of project users in a Workspace - NO
- Create multiple project users for single project - NO
- Mass update for project users - NO
- Delete multiple project users - NO
-
Projects
- Create project - NO
- Get project data - NO
- Update project data - NO
- Delete a project - NO
- Get project users - NO
- Get project tasks - NO
- Delete multiple projects - NO
-
Tags
- Create tag - YES
- Update a tag - YES
- Delete a tag - YES
-
Tasks
- Create a task - NO
- Get task details - NO
- Update a task - NO
- Delete a task - NO
- Update multiple tasks - NO
- Delete multiple tasks - NO
-
Time Entries
- Create a time entry - YES
- Start a time entry - YES
- Stop a time entry - YES
- Get time entry details - YES
- Get running time entry - YES
- Update a time entry - YES
- Delete a time entry - YES
- Get time entries started in a specific time range - YES
- Bulk update time entries tags - YES
-
Users
- Get current user data without related - YES
- Get current user data with related - NO
- Update user data - YES
- Update user password - YES
- Reset API token - NO
- Sign up new user - NO
-
Workspace Users
- Invite users to workspace - NO
- Update workspace user - NO
- Delete workspace user - NO
- Get workspace users - NO
-
Workspaces
- Get workspaces - YES
- Get single workspace - YES
- Update workspace - YES
- Get workspace users - NO
- Get workspace clients - NO
- Get workspace groups - NO
- Get workspace projects - YES
- Get workspace tasks - NO
- Get workspace tags - YES
- Detailed report - YES
- Project dashboard - NO
- Summary report - NO
- Weekly report - NO