No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

ZEEF API Client library

This project contains the client library for the ZEEF API.


To use the ZEEF API, you need to have an API access token for the user you wish to access the API as. Once you have this token, you first need to create an ApiClient instance and set the authorization header for this instance:

ApiClient apiClient = new JaxRsApiClient()

Where apiToken is a variable that contains the API token. Please keep in mind that the ApiClient instances are not thread safe, but can be used for multiple requests within the same thread. The apiClient instance should be closed once it is no longer needed.

You can then create an api object instance for the API endpoint you wish to use. Although the apiClient is not thread-safe, it can be reused for multiple api instances as long as they are used within the same thread and for the same user:

PageApi pageApi = new PageApi(apiClient);
BlockApi blockApi = new BlockApi(apiClient);

That's all there is to it, now you can start invoking calls on the ZEEF API.

Complete example

try(ApiClient apiClient = new JaxRsApiClient()) {
    PagesApi pagesApi = new PagesApi(apiClient);
    for (PageOverview pageOverview: pagesApi.getMyPages().getPageOverviews()) {

Maven/Gradle dependency

To use the library as a Maven or Gradle dependency, you need to register the following (temporary) Maven repository with your project:




maven {
    url ""

You can then add the zeef-api-client library to your project as a dependency:




compile 'com.zeef:zeef-api-client:2015.7'

More information

For more information about the ZEEF API, please see the API documentation.