cryptocurrency

VBA - API call displayed in Excel

好久不见. 提交于 2019-11-26 10:01:14
问题 I am trying to show prices of specific cryptocurrencies in an Excel sheet. I am extracting the JSON data from the API of CoinMarketCap - https://api.coinmarketcap.com/v1/ticker/ Ultimately, I am trying to get the price of Ripple (line 16), and then set cell B1 in my Excel sheet to display the price of ripple (line 17). This is my script, but it is not working for some reason. Sub test() Dim httpObject As Object Set httpObject = CreateObject(\"MSXML2.XMLHTTP\") sURL = \"https://api