I have a JSON Api from my crypto broker:
https://api.bitladon.com/markets/
This a part of it. total 225 inside results.
{
"apistatus": 1,
"error": false,
"msg": "API online",
"all": {
"volume24h": "25610625.51"
},
"result": [
{
"name": "0x",
"ticker": "ZRX",
"buy": "1.30718",
"sell": "1.25090",
"last": "1.30629",
"change24h": "-3.68",
"change72h": "-2.04",
"change168h": "-16.99",
"volume24h": "14084.9312",
"logo": "https://www.bitladon.com/img/currency/ZRX.png",
"eurovolume24h": "18411.54",
"graph": "https://www.bitladon.com/img/graphs/ZRXblue.png?v=1613896092"
},
{
"name": "1inch",
"ticker": "1INCH",
"buy": "4.31477",
"sell": "4.12266",
"last": "4.32569",
"change24h": "4.33",
"change72h": "1.26",
"change168h": "-9.04",
"volume24h": "14445.6432",
"logo": "https://www.bitladon.com/img/currency/1INCH.png",
"eurovolume24h": "62329.63",
"graph": "https://www.bitladon.com/img/graphs/1INCHblue.png?v=1613896092"
},
{
"name": "Zilliqa",
"ticker": "ZIL",
"buy": "0.11346",
"sell": "0.10835",
"last": "0.11341",
"change24h": "-9.75",
"change72h": "-2.17",
"change168h": "-7.51",
"volume24h": "740283.0069",
"logo": "https://www.bitladon.com/img/currency/ZIL.png",
"eurovolume24h": "83992.51",
"graph": "https://www.bitladon.com/img/graphs/ZILblue.png?v=1613896092"
}
]
}
Its a no go to create for every crypto a REST Sensor.
So im looking for a option that makes it easier.
Something with input_select with all the crypto in a list.
When I select a crypto then it will take the info from 1 REST Sensor where this whole JSON is stored:
The attribute have this information now:
This is a part of it.
result:
- name: 0x
ticker: ZRX
buy: '1.34213'
sell: '1.28434'
last: '1.30629'
change24h: '-4.94'
change72h: '0.47'
change168h: '-15.03'
volume24h: '13865.5294'
logo: 'https://www.bitladon.com/img/currency/ZRX.png'
eurovolume24h: '18609.34'
graph: 'https://www.bitladon.com/img/graphs/ZRXblue.png?v=1613899946'
- name: 1inch
ticker: 1INCH
buy: '4.41059'
sell: '4.21810'
last: '4.38181'
change24h: '-0.74'
change72h: '3.43'
change168h: '-7.13'
volume24h: '14617.7241'
logo: 'https://www.bitladon.com/img/currency/1INCH.png'
eurovolume24h: '64472.79'
graph: 'https://www.bitladon.com/img/graphs/1INCHblue.png?v=1613899946'
- name: Aave
ticker: AAVE
buy: '373.332'
sell: '357.131'
last: '371.482'
change24h: '-9.80'
change72h: '-5.67'
change168h: '-10.18'
volume24h: '113.3879'
logo: 'https://www.bitladon.com/img/currency/AAVE.png'
eurovolume24h: '42331.33'
graph: 'https://www.bitladon.com/img/graphs/AAVEblue.png?v=1613899946'
So a automation can do this maybe and put the value’s into a sensor that can be changes by automation.
Then I can use this sensor into the card as entities with the values.