Created
September 27, 2018 14:29
-
-
Save uneasyguy/1939ed4b0cc29e8b6bcac36b9545760c 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 requests | |
url = 'https://api.binance.com/api/v1/exchangeInfo' | |
r = requests.get(url) | |
data = r.json() | |
symbols_info = data['symbols'] | |
market_list = list() | |
for x in range(0,len(symbols_info)): | |
symbol = symbols_info[x]['symbol'] | |
market_list.append(symbol) | |
print ('{}'.format(str(market_list))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment