metalwihen / Kayako-Java-SDK

Java SDK for Kayako

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

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)

Getting Started

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'
    }

Sample Usage

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); 

Documentation

For a more detailed documentation, head over to Kayako's Developer Portal.

About

Java SDK for Kayako


Languages

Language:Java 100.0%