No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md
pom.xml

README.md

jeapie-java-client

Java classes for pushing message to Jeapie

Copy .jar file from "build" directory to your project.

Code sample:

String user = "userKey";         // required  
String token = "tokenKey";       // required  
String title = "messageTitle";   // optional  
String message = "messageBody";  // required  
String device = "userDevice";    // optional
Integer priority = 0;            // optional. can be -1, 0, 1  
JeapieResponse response = JeapieService.send(user, token, title, message, device, priority);

or 

JeapieResponse response = JeapieService.send(user, token, message);

If result return false you can get errors:
response.getErrorMap();

If you are not familiar with Jeapie - visit http://jeapie.com