Last active
August 2, 2019 18:31
-
-
Save coinscious-io/319d299933c86b6451deeaf21c8b4c46 to your computer and use it in GitHub Desktop.
Get the VWAP of a cryptocurrency denominated in a fiat currency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = "https://api.coinscious.org/vwap/btc" | |
querystring = {"fiat":"CAD”} | |
payload = "" | |
headers = { | |
'Authorization': "Bearer <token>" | |
} | |
response = requests.request("GET", url, data=payload, headers=headers, params=querystring) | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment