The Artima Developer Community
Sponsored Link

Java Buzz Forum
Pinboard Poster for Kotlin/Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Erik C. Thauvin

Posts: 4232
Nickname: ethauvin
Registered: Apr, 2004

Erik C. Thauvin maintains one of the web's first and most popular linkblogs.
Pinboard Poster for Kotlin/Java Posted: May 18, 2017 5:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Erik C. Thauvin.
Original Post: Pinboard Poster for Kotlin/Java
Feed Title: Erik's Weblog
Feed URL: http://erik.thauvin.net/blog/feed.jsp?cat=Java
Feed Description: The Truth is Out There!
Latest Java Buzz Posts
Latest Java Buzz Posts by Erik C. Thauvin
Latest Posts From Erik's Weblog

Advertisement

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.

 
""

Read: Pinboard Poster for Kotlin/Java

Topic: Java Tutorial: Lambda expression in java[Thread creation using Lambda expression] Previous Topic   Next Topic Topic: Boosting test performance with TestContainers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use