Created
July 18, 2019 20:45
-
-
Save uneasyguy/f4d8511b3cced004cd69535dafb070b9 to your computer and use it in GitHub Desktop.
server version of testing.py from https://youtu.be/i2qnM_S1vh4
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 requests | |
symbols = ['STRATBTC','OMGBTC','BTCUSDT'] | |
something_else = 'hello world' | |
query_string = str(symbols)+'&'+something_else | |
url = f'http://****public ip goes here****:5000/symbols/{query_string}' | |
r = requests.get(url) | |
data = r.json() | |
print (data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment