I have to get bitcoin money for every week. And if I use JsonObject, then I get the json, BUT I CAN NOT USE THE CYCLE to take all the data. And if I use JSONObject, then retured null. Please,Help me!
This is my api:
https://api.coindesk.com/v1/bpi/historical/close.json?start=2018-08-01&end=2018-08-19
{"bpi":{"2018-08-01":7603.7488,"2018-08-02":7535.02,"2018-08-03":7415.5613,"2018-08-04":7009.0888,"2018-08-05":7026.9913,"2018-08-06":6937.0738,"2018-08-07":6717.2088,"2018-08-08":6280.58,"2018-08-09":6537.9025,"2018-08-10":6143.305,"2018-08-11":6233.3813,"2018-08-12":6312.8338,"2018-08-13":6252.37,"2018-08-14":6192.3063,"2018-08-15":6270.0425,"2018-08-16":6314.2413,"2018-08-17":6583.2388,"2018-08-18":6395.3525},"disclaimer":"This data was produced from the CoinDesk Bitcoin Price Index. BPI value data returned as USD.","time":{"updated":"Aug 19, 2018 13:06:45 UTC","updatedISO":"2018-08-19T13:06:45+00:00"}}