Added links to examples.
This commit is contained in:
parent
87f6a91094
commit
2b1ac20aa6
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# [Pinboard](https://pinboard.in) Poster for Kotlin/Java
|
# [Pinboard](https://pinboard.in) Poster for Kotlin/Java
|
||||||
|
|
||||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ethauvin/pinboard-poster) [](https://www.versioneye.com/user/projects/58ff729f6ac171425cd00acf) [ ](https://bintray.com/ethauvin/maven/pinboard-poster/_latestVersion)
|
[](http://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ethauvin/pinboard-poster) [](https://www.versioneye.com/user/projects/591c0293b81f680038a784b3) [ ](https://bintray.com/ethauvin/maven/pinboard-poster/_latestVersion)
|
||||||
|
|
||||||
A small Kotlin/Java library for posting to [Pinboard](https://pinboard.in).
|
A small Kotlin/Java library for posting to [Pinboard](https://pinboard.in).
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ poster.addPin("http://www.example.com/foo", "This is a test")
|
||||||
poster.deletePin("http:///www.example.com/bar")
|
poster.deletePin("http:///www.example.com/bar")
|
||||||
|
|
||||||
```
|
```
|
||||||
|
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/src/main/kotlin/net/thauvin/erik/pinboard/PinboardPoster.kt#L199)
|
||||||
|
|
||||||
### Java
|
### Java
|
||||||
```java
|
```java
|
||||||
|
@ -25,6 +26,7 @@ final PinboardPoster poster = new PinBboardPoster("user:TOKEN");
|
||||||
poster.addPin("http://www.example.com/foo", "This is a test");
|
poster.addPin("http://www.example.com/foo", "This is a test");
|
||||||
poster.deletePin("http:///www.example.com/bar");
|
poster.deletePin("http:///www.example.com/bar");
|
||||||
```
|
```
|
||||||
|
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/src/main/java/net/thauvin/erik/pinboard/JavaExample.java)
|
||||||
|
|
||||||
Your API authentication token is available on the [Pinboard settings page](https://pinboard.in/settings/password).
|
Your API authentication token is available on the [Pinboard settings page](https://pinboard.in/settings/password).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue