Twits du Jour (May 22)
<1 min read
- Get World's Smallest Camera Drone + 2GB Micro SD Card - Take Off into Thin Air & Take Video with This High-… deals.androidauthority.com/sales/cheerson… #
I've just released Pinboard Poster, a small Kotlin/Java library for posting to Pinboard.
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");
Pretty basic. I needed something to replace del.icio.us since it no longer has a functional API.
As usual documentation and source are on GitHub.