Skip to content

Instantly share code, notes, and snippets.

@uneasyguy
Created July 18, 2019 20:45
Show Gist options
  • Save uneasyguy/f4d8511b3cced004cd69535dafb070b9 to your computer and use it in GitHub Desktop.
Save uneasyguy/f4d8511b3cced004cd69535dafb070b9 to your computer and use it in GitHub Desktop.
server version of testing.py from https://youtu.be/i2qnM_S1vh4
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