Skip to content

Instantly share code, notes, and snippets.

@uneasyguy
Created July 17, 2019 18:57
Show Gist options
  • Save uneasyguy/997356dcfebec53c4bb1e99dd5b15edb to your computer and use it in GitHub Desktop.
Save uneasyguy/997356dcfebec53c4bb1e99dd5b15edb to your computer and use it in GitHub Desktop.
import requests
symbols = ['ETHBTC','XRPBTC','BTCUSDT']
something_else = 'hello world'
query_string = str(symbols)+'&'+something_else
url = f'http://127.0.0.1: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