Skip to content

deniskristov/checkbox-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Checkbox REST API Client Library for Java

Java CI with Maven

This API Client is a wrapper around https://checkbox.ua/ REST API. Please see the API documentation for more information.

Use as Maven dependency. Add to your pom.xml repository and dependency:

<repository>
    <id>checkbox</id>
    <name>Checkbox API</name>
    <url>https://maven.pkg.github.com/deniskristov/checkbox-api-client</url>
    <releases>
        <enabled>true</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

<dependency>
    <groupId>ua.in.checkbox</groupId>
    <artifactId>checkbox-api-client</artifactId>
    <version>{latest-version}</version>
</dependency>

Example of usage:

CheckboxApiClient client = new CheckboxApiClient(
    "login",
    "password",
    "https://dev-api.checkbox.in.ua",
    apiVersion);
client.signIn();
ShiftWithCashierAndCashRegister shift = client.openShift("X-License-Key");