updated readme.md

This commit is contained in:
skubiak 2015-01-09 08:32:32 +01:00
parent 1f3b1234c0
commit 438ff86ad8

View File

@ -31,6 +31,13 @@ Usage
.push(); .push();
You can additionally add all available options from the official [Pushover documentation][2] You can additionally add all available options from the official [Pushover documentation][2]
You can also validate a user and token using the following method
boolean valid = new JPushover()
.token("MyToken")
.user("MyUser")
.validate();
If you want more information and/or the response from the Pushover API, use the JPushoverResponse object. If you want more information and/or the response from the Pushover API, use the JPushoverResponse object.