Java APi for http://kickbox.io
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

kickbox

The Java API for the Kickbox.io service.

How to use

Simple validate:

 KickBoxApi kickBoxApi = new KickBoxApi("KEY");
 boolean valid = kickBoxApi.verify("your_email@gmail.com");

Validate with response:

 KickBoxApi kickBoxApi = new KickBoxApi("KEY");
 KickBoxResponse response = kickBoxApi.verifyWithResponse("your_email@gmail.com");

Where KickBoxResponse is response structure:

 public class KickBoxResponse {
     public String result;
     public String reason;
     public boolean role;
     public boolean free;
     public boolean disposable;
     public boolean accept_all;
     public String did_you_mean;
     public double sendex;
     public String email;
     public String user;
     public String domain;
     public boolean success;
}

Build for Java application

gradle clean test jar or gradle -Pprofile=none clean test jar

Build for Android application

gradle -Pprofile=android clean test jar