import requests url = "https://api.currencyapi.com/v3/latest" headers = { 'apikey': 'YOUR-API-KEY' } response = requests.request("GET", url, headers=headers) print(response.text
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter