I want to use the following API response: link
Then I want to divide it into blocks like this: [1456617600,434.3867,434.3867,433,781,433,781.4.15450000] and put it on a list to work with the data.
I was doing so but it is not working:
r=requests.get('https://cex.io/api/ohlcv/hd/20160228/BTC/USD')
r= json.loads(r.text)
list= []
for row in r:
list.append(row)