Bitly-Shorten, Isgd-Shorten and Akismet-Kotlin
<1 min read
I've released updates to a few more Kotlin libraries:
- Akismet 1.0.0
-
Client library for accessing the Automattic Kismet (Akismet) spam comments filtering service.
val akismet = Akismet(apiKey = "YOUR_API_KEY", blog = "YOUR_BLOG_URL") val comment = AkismetComment(userIp = "127.0.0.1", userAgent = "curl/7.29.0") with(comment) { referrer = "https://www.google.com" type = AkismetComment.TYPE_COMMENT author = "admin" authorEmail = "[email protected]" authorUrl = "https://www.CheckOutMyCoolSite.com" dateGmt = Akismet.dateToGmt(Date()) content = "It means a lot that you would take the time to review our software." } val isSpam = akismet.checkComment(comment)
-
- Bitly Shorten 1.0.0
-
A simple implementation of the Bitly link shortening (Bitlinks) API v4.
bitly.bitlinks().shorten("https://erik.thauvin.net/blog") bitly.bitlinks().expand("https://bit.ly/380ojFd")
-
- is.gd Shorten 1.0.0
-
A simple implementation of the is.gd URL shortening and lookup APIs.
Isgd.shorten("https://www.example.com/") // returns https://is.gd/Pt2sET Isgd.lookup("https://is.gd/Pt2sET") // returns https://www.example.com
-
Toots du Jour (Sep 25)
<1 min read
- Bitly Shortener 1.0.0 has been released. #github #java #kotlin github.com/ethauvin/bitly-shor… #
- is.gd Shortner 1.0.0 has been released. #github #java #kotlin github.com/ethauvin/isgd-short… #
Toots du Jour (Sep 24)
<1 min read
- Akismet for Kotlin 1.0.0 has been released. #github #java #kotlin github.com/ethauvin/akismet-ko… #
JokeAPI and CryptoPrice
<1 min read
I've just released a couple libraries for Kotlin:
- JokeAPI 0.9.0
-
Retrieve jokes from Sv443's JokeAPI
val joke = joke() val safe = joke(safe = true) val pun = joke(categories = setOf(Category.PUN)) -
- CryptoPrice 1.0.1
-
Retrieve cryptocurrencies current prices
val btc = spotPrice("BTC") // Bitcoin val eth = sellPrice("ETH", "EUR") // Ethereum in Euro val eth = buyPrice("LTC", "GBP") // Litecoin in Pound sterling -
Toots du Jour (Sep 23)
<1 min read
- A Deep Dive into Kotlin Property Initialization: lateinit, const, var, val, and lazy #kotlin medium.com/@mehdi.taghdisi/a-d… #
- CryptoPrice 1.0.1 has been released. #github #java #kotlin github.com/ethauvin/cryptopric… #
- JokeAPI for Kotlin 0.9.0 has been released. #github #java #kotlin github.com/ethauvin/jokeapi/re… #

