Created
June 5, 2020 00:32
-
-
Save nrese/61905eb3c1cbbe94b648e7388c607020 to your computer and use it in GitHub Desktop.
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 urllib.request | |
url = "https://api.lunarcrush.com/v2?data=influencers&key={API_KEY_HERE}&symbol=BTC" | |
print(urllib.request.urlopen(url).read()) |
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
{ | |
"config": { | |
"data": "influencers", | |
"symbol": "'BTC'", | |
"days": 30, | |
"limit": 100 | |
}, | |
"usage": { | |
"day": 18, | |
"month": 106 | |
}, | |
"data": [{ | |
"medium": "twitter", | |
"identifier": "62513246", | |
"volume": 15, | |
"followers": 14626897, | |
"engagement": 71276, | |
"twitter_screen_name": "jk_rowling", | |
"display_name": "J.K. Rowling", | |
"following": 752, | |
"profile_image": "https://pbs.twimg.com/profile_images/1240994661323411456/9CeA8lPP_normal.jpg", | |
"banner_image": "https://pbs.twimg.com/profile_banners/62513246/1589127926" | |
},{ | |
"medium": "twitter", | |
"identifier": "963021290801172480", | |
"volume": 8, | |
"followers": 27447, | |
"engagement": 46861, | |
"twitter_screen_name": "extstock", | |
"display_name": "ExtStock Exchange", | |
"following": 191, | |
"profile_image": "https://pbs.twimg.com/profile_images/1189482844529278976/DMn3GVEb_normal.png", | |
"banner_image": "https://pbs.twimg.com/profile_banners/963021290801172480/1584623498" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment