Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.