Skip to content

askfast/askfast-api-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskFast API Java

Java library to interact with AskFast.

Doc for the Ask-Fast Api and this library can be found here

Overview

This is library to help you create dialogs which interact with the AskFast system. You can download the latest pre-build version here jar


Current version is 1.5.0

Requirements

You can install this library in any Java application or application server. The library depends primarily on jackson libraries. The following listing shows all the libraries that need to be present in an application that uses the AskFast Library:

* askfast-api-java-1.4.5.jar
* jackson-core-2.0.0.jar
* javax.servlet-api-3.0.1.jar
* okio-1.6.0.jar
* org.apache.oltu.oauth2.common-0.31.jar
* jackson-annotations-2.0.0.jar
* jackson-databind-2.0.0.jar
* okhttp-2.2.0.jar
* org.apache.oltu.oauth2.client-0.31.jar
* retrofit-1.9.0.jar

All libraries have been included in the lib/ folder.

Build

Running MAVEN will generate the jar file, which will be placed in the target/ folder.

Using the Maven artifact

<dependency>
    <groupId>com.askfast.askfastapi</groupId>
    <artifactId>askfast-api-java</artifactId>
    <version>1.4.5</version>
</dependency>

Examples

You can see an example of the ASK-Fast API in com.askfast.examples.SimpleExampleServlet.java Create a server and load the servlet: