Bitly-Shorten 0.9.3
<1 min read
I've just released an update to the Bitly Shortener library, a simple Kotlin/Java implementation of the URL shortening (bitlinks) abilities of the Bitly v4 API.
This version implements a way to retrieve the last API call response:
val bitlinks = Bitlinks(apikey)
val shortUrl = bitlinks.shorten(longUrl)
val response = bitlinks.lastCallResponse
if (response.isSuccessful) { println(response.body) }
As usual the source code, documentation and binaries are on GitHub.