Java RestClients for Toggl APIv9
Features:
- Major Track API
- Report Detail API
- Only mainly major path is implemented
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
<dependency>
<groupId>io.rocketbase.toggl</groupId>
<artifactId>toggl-api-v9</artifactId>
<version>${CURRENT_VERSION}</version>
</dependency>
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-jsr310
have been marked as provided to go with your project's spring-versions