This SDK contains wrapper code used to call the Kayako Developer API from Java applications.
For Android-specific code and samples, see the [SDK for Android] (https://github.com/kayako/Kayako-Android-SDK)
In order to use the code in this SDK, you need to add the following to your build.gradle file.
repositories {
maven {
url "http://dl.bintray.com/kayako-support/kayako-devkits"
}
}
dependencies {
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.squareup.okio:okio:1.9.0'
compile 'com.google.code.gson:gson:2.4'
compile 'com.kayako:kayako:0.0.3'
}
A simple example to retrieve the list of categories of a help center.
HelpCenter mHelpCenter = new HelpCenter(HELP_CENTER_URL, LOCALE);
List<Category> categories = mHelpCenter.getCategories(0, 10);
For a more detailed documentation, head over to Kayako's Developer Portal.