my js code is
<script> fetch('https://api.binance.com/api/v1/trades?symbol=BTCUSDT') .then(resi => resi.json()) .then(data =>(console.log(data))); resi.send(); </script>
and from its response one is the below one :
[0 … 99]
0:
id: 96874552
isBestMatch: true
isBuyerMaker: true
price: "3584.58000000"
qty: "0.00293100"
time: 1548506554914
proto: Object
and i have 100s of result like this. but can i only get qty or price from this and store each in to a variable using arrays?
#javascript #html #json #api