Java library to interact with AskFast.
Doc for the Ask-Fast Api and this library can be found here
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
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.
Running MAVEN will generate the jar file, which will be placed in the target/ folder.
<dependency>
<groupId>com.askfast.askfastapi</groupId>
<artifactId>askfast-api-java</artifactId>
<version>1.4.5</version>
</dependency>
You can see an example of the ASK-Fast API in com.askfast.examples.SimpleExampleServlet.java Create a server and load the servlet:
- A sample question can be seen with:
- An outbound call can be initiated with: