Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.18 KB

toggl-api-v9

build Maven Central

Java RestClients for Toggl APIv9

Features:

  • Major Track API
  • 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

<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