Twits du Jour (Jul 2)
<1 min read
- I'm at Fred Meyer in Everett, WA swarmapp.com/c/8JfJHBPx0bE #
- I'm at US Post Office in Everett, WA swarmapp.com/c/7hhGBJHwae5 #
I've just released version 1.0.0 Pinboard Poster, a small Kotlin/Java library for posting to Pinboard.
No new functionality, just a lot of internal cleanup. Smaller and faster, I guess.
Kotlin
val poster = PinboardPoster("user:TOKEN")
poster.addPin("http://www.example.com/foo", "This is a test")
poster.deletePin("http:///www.example.com/bar")
Java
final PinboardPoster poster = new PinBboardPoster("user:TOKEN");
poster.addPin("http://www.example.com/foo", "This is a test");
poster.deletePin("http:///www.example.com/bar");
As usual documentation and source are on GitHub.