Hello there,
I have small issue with my (very) simple code.
Code:
import requests
url = "https://api.coinmarketcap.com/v1/ticker/bitcoin"
webObj = requests.get(url)
webJson = webObj.json()
print(webJson[0]["price_usd"])
While running with python3 filenamy.py command this code takes minutes to start. Now I'm waiting 10 minutes for this script to run, same code on MacOS and Windows run without a problem. I guess the problem is with coinmarketcap page but I don't know - what kind of problem this is. If I put any other domain in url variable - everything is working fine.
Bookmarks