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

Toots du Jour (Sep 22)

<1 min read

UrlEncoder for Kotlin Multiplatform

<1 min read

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.

Toots du Jour (Sep 21)

<1 min read