CryptoPrice for Kotlin/Java
<1 min read
I've just released the first public version of CryptoPrice. A small Kotlin/Java library to retrieve cryptocurrencies current prices from the Coinbase Public API.
val btc = spotPrice("BTC") // Bitcoin
println(btc.amount)
val eth = spotPrice("ETH", "EUR") // Ethereum in Euros
println(eth.amount)
As usual documentation and source are on GitHub.