View LunarCRUSHAssetResponse.json
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": "assets", | |
"symbol": "'BTC'", | |
"interval": "hour", | |
"data_points": 24 | |
}, | |
"usage": { | |
"day": 15, | |
"month": 103 |
View NomicsRequest.py
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.nomics.com/v1/currencies/ticker?key=demo-26240835858194712a4f8cc0dc635c7a&ids=BTC,ETH,XRP&interval=1d,30d&convert=EUR" | |
print(urllib.request.urlopen(url).read()) |
View MessariRequest.py
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 | |
url = "https://data.messari.io/api/v1/assets/btc/metrics" | |
print(urllib.request.urlopen(url).read()) |
View LunarCRUSHRequest.py
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=assets&key={API_KEY_HERE}&symbol=BTC" | |
print(urllib.request.urlopen(url).read()) |
View LunarCRUSHRequestInfluencers.py
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()) |
View LunarCRUSHRequestGlobal.py
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=global&key={API_KEY_HERE}&data_points=24" | |
print(urllib.request.urlopen(url).read()) |
View LunarCRUSHRequestMarket.py
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=market&key={API_KEY_HERE}" | |
print(urllib.request.urlopen(url).read()) |
View CoinGeckoRequest.py
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.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin" | |
print(urllib.request.urlopen(url).read()) |
View CoinMarketCapRequest.py
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
#This example uses Python 2.7 and the python-request library. | |
from requests import Request, Session | |
from requests.exceptions import ConnectionError, Timeout, TooManyRedirects | |
import json | |
url = 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest' | |
parameters = { |
View NomicsRequest.py
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.nomics.com/v1/currencies/ticker?key=demo-26240835858194712a4f8cc0dc635c7a&ids=BTC,ETH,XRP&interval=1d,30d&convert=EUR" | |
print(urllib.request.urlopen(url).read()) |
NewerOlder