Fixed example.
This commit is contained in:
parent
f62f9a6927
commit
f918aec230
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ val btc = marketPrice("BTC") // Bitcoin
|
|||
print(btc.amount)
|
||||
|
||||
val eth = marketPrice("ETH", "EUR") // Ethereum in Euros
|
||||
price(eth.amount)
|
||||
println(eth.amount)
|
||||
|
||||
```
|
||||
- View [Kotlin](https://github.com/ethauvin/cryptoprice/blob/master/examples/src/main/kotlin/com/example/CryptoPriceExample.kt) or [Java](https://github.com/ethauvin/cryptoprice/blob/master/examples/src/main/java/com/example/CryptoPriceSample.java) Examples.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue