CryptoPrice 1.0 for Kotlin/Java
<1 min read
I've released the second public version of CryptoPrice. A simple Kotlin/Java and Android implementation of the Coinbase Public API to retrieve cryptocurrencies spot, buy, and sell prices.
val btc = spotPrice("BTC") // Bitcoin
println(btc.amount)
val eth = sellPrice("ETH", "EUR") // Ethereum in Euro
println(eth.amount)
val eth = buyPrice("LTC", "GBP") // Litecoin in Pound sterling
println(eth.amount)
As usual, source and documentation are on GitHub.