Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rocketbase-io/toggl-api-v9
java toggl-api-v9 version with use of spring RestClient
https://github.com/rocketbase-io/toggl-api-v9
api-client restclient spring toggl
Last synced: 2 months ago
JSON representation
java toggl-api-v9 version with use of spring RestClient
- Host: GitHub
- URL: https://github.com/rocketbase-io/toggl-api-v9
- Owner: rocketbase-io
- License: mit
- Created: 2024-06-08T22:21:54.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T18:43:19.000Z (8 months ago)
- Last Synced: 2024-06-11T00:40:47.387Z (8 months ago)
- Topics: api-client, restclient, spring, toggl
- Language: Java
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# toggl-api-v9
![build](https://github.com/rocketbase-io/toggl-api-v9/actions/workflows/ci.yml/badge.svg)
[![Maven Central](https://badgen.net/maven/v/maven-central/io.rocketbase.toggl/toggl-api-v9)](https://central.sonatype.com/artifact/io.rocketbase.toggl/toggl-api-v9/versions)Java RestClients for Toggl APIv9
Features:
- [X] Major Track API
- [X] Report Detail API
- [ ] Only mainly major path is implemented## designed
It's desinged in a fluent mapper. Starting from **TogglApi** your can navigate to track / report api... After that you
can go to the different resources and their metheods## usage
````xml
io.rocketbase.toggl
toggl-api-v9
${CURRENT_VERSION}````
````java
import io.rocketbase.toggl.TogglApi;
import io.rocketbase.toggl.TogglApiRest;
import io.rocketbase.toggl.TogglConfig;TogglApi togglApi = new TogglApiRest(new TogglConfig("api-token-xxx"));
MeDto response = togglApi.track()
.me()
.get();
````Library needs as dependency:
- spring-web
- jackson-databind
- jackson-datatype-jsr310have been marked as provided to go with your project's spring-versions