Last active
July 25, 2021 10:53
-
-
Save nrese/9fd5c334fbea8856fb7ae4123ec82d3f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 urllib.request | |
| url = "https://api.lunarcrush.com/v2?data=market&key={API_KEY_HERE}" | |
| print(urllib.request.urlopen(url).read()) |
This file contains hidden or 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
| { | |
| "config": { | |
| "data": "market" | |
| }, | |
| "usage": { | |
| "day": 16, | |
| "month": 104 | |
| }, | |
| "data": [{ | |
| "s": "KAVA", | |
| "n": "Kava", | |
| "p": 1.080387, | |
| "p_btc": 0.000110400073805536, | |
| "v": 17099674.06, | |
| "vt": 0.08228840950731763, | |
| "pc": 14.73, | |
| "pch": -0.5, | |
| "mc": 29376436, | |
| "gs": 64, | |
| "ss": 4145358, | |
| "sp": 167, | |
| "t": 392, | |
| "sv": 436, | |
| "u": 100, | |
| "c": 18, | |
| "sd": 0.20971520098508425, | |
| "d": 0.01053918849762729, | |
| "acr": 1, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment