Hello,
I’ve been following an article to implement a price search for cryptocurrencies against an API:
Remove the spaces before .com or .org
https://www.dunebook. com/create-a-cryptocurrency-price-update-website-using-wix-code/
The problem with the guide is it has become dated and the API URL is no longer valid. I thought I was clever and could find another public-facing API that pulled the same type of data and everything would work peachy…
Here is the old URL:
https://web.archive. org/web/20180510132754/https://api.coinmarketcap. com/v1/ticker/
Here is the URL I tried to replace it with:
https://api.coingecko. com/api/v3/coins/
When you click on the links you can see the formatting is way different which might be what is causing my problem.
The problem I’m seeing with the new URL is:
It seems it doesn’t recognize the name from response[0].name. Could it be because my new URL is returning a different format where it doesn’t know how to parse for response[0].name?
I only have experience with PowerShell scripting, so a layman’s explanation would be helpful.
Thanks!