Skip to content

szagriichuk/kickbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages