I have this Python script:
import json
from cinbase.walle.client import Client
apiKey = foo
mysecret = bar
client = Client( apiKey, mySecret )
price = client.get_spot_price(currency_pair = 'BTC-EUR')
This is my output:
{
"data" :{
"amount": "123455"
"currency": "EUR"
}
}
How to get only "amount" value?