Home

Awesome

toggl-api-v9

build Maven Central

Java RestClients for Toggl APIv9

Features:

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

<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:

have been marked as provided to go with your project's spring-versions