Skip to content
Official Java client for ticktok.io
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
.gitignore
LICENSE
README.md
docker-compose.yml
pom.xml
settings.xml

README.md

Ticktok Java client

CircleCI Release License

This is the official Java sdk for Ticktok.io service.

Quick Start

Import sdk

artifacts available @ bintray repositories

Gradle

repositories {
    jcenter()
}

... 

dependencies {
  ...
    compile 'io.ticktok:ticktok-java-client:0.4.6'
}

Maven

<repositories>
    ...
    <repository>
        <id>jcenter</id>
        <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>

...

<dependencies>
    ...
    <dependency>
        <groupId>io.ticktok</groupId>
        <artifactId>ticktok-java-client</artifactId>
        <version>0.4.6</version>
    </dependency>
</dependencies>

Example

new Ticktok(options().domain("<ticktok-domain>").token("<ticktok-token>")).
    schedule("my first clock", "every.5.seconds", () -> {
        System.out.print("tick me baby one more time");
    });
new Ticktok(options().domain("<ticktok-domain>").token("<ticktok-token>")).
    tick("my first clock", "every.5.seconds");

Community

Come & chat with us on Slack

You can’t perform that action at this time.