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… #
I've just released a couple libraries for Kotlin:
Retrieve jokes from Sv443's JokeAPI
val joke = joke()
val safe = joke(safe = true)
val pun = joke(categories = setOf(Category.PUN))
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
I've just released the first multiplatform version of the UrlEncoder for Kotlin library. A simple defensive library to encode/decode URL components.
UrlEncoderUtil.encode("?test=a test", allow = "?=") // -> ?test=a%20test
UrlEncoderUtil.decode("foo+bar", plusToSpace = true) // -> foo bar
Big shout-out to Adam for getting this going.