Skip to content

Instantly share code, notes, and snippets.

import requests
import json
while True:
# base URLs
globalURL = "https://api.coinmarketcap.com/v1/global/"
tickerURL = "https://api.coinmarketcap.com/v1/ticker/"
# get data from globalURL
request = requests.get(globalURL)