Created
July 17, 2019 18:57
-
-
Save uneasyguy/997356dcfebec53c4bb1e99dd5b15edb to your computer and use it in GitHub Desktop.
testing.py from https://youtu.be/r92BWhzzfiQ
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 = ['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