updated readme.md
This commit is contained in:
parent
ee8ba1f6c1
commit
e7d3518f7c
12
README.md
12
README.md
@ -1,6 +1,10 @@
|
||||
[](https://maven-badges.herokuapp.com/maven-central/de.svenkubiak/jpushover)
|
||||
[](http://travis-ci.org/svenkubiak/JPushover)
|
||||
|
||||
If this software is useful to you, you can support further development by using Flattr. Thank you!
|
||||
|
||||
[](https://flattr.com/submit/auto?user_id=svenkubiak&url=https://github.com/svenkubiak/JPushover&title=JPushover&language=en&tags=github&category=software)
|
||||
|
||||
JPushover
|
||||
================
|
||||
|
||||
@ -17,7 +21,7 @@ Usage
|
||||
<version>x.x.x</version>
|
||||
</dependency>
|
||||
|
||||
2) Use the JPushover object were need
|
||||
2) Use the JPushover object with the required informations were you want
|
||||
|
||||
new JPushover()
|
||||
.token("MyToken")
|
||||
@ -25,7 +29,9 @@ Usage
|
||||
.message("MyMessage")
|
||||
.push();
|
||||
|
||||
If you want more information and/or the response from Pushover API, use the JPushoverResponse object.
|
||||
You can additionally add all available options from the official [Pushover documentation][2]
|
||||
|
||||
If you want more information and/or the response from the Pushover API, use the JPushoverResponse object.
|
||||
|
||||
JPushoverResponse jPushoverResponse = new JPushover()
|
||||
.token("MyToken")
|
||||
@ -36,3 +42,5 @@ If you want more information and/or the response from Pushover API, use the JPus
|
||||
JPushoverResponse will return the raw HTTP status code, along with the raw JSON response and a convenient boolean if the request was successful or not.
|
||||
|
||||
[1]: https://pushover.net
|
||||
[2]: https://pushover.net/api
|
||||
[3]: https://flattr.com/thing/037fd7045120e788b1d42b188ade4fd1
|
Loading…
x
Reference in New Issue
Block a user