Created
August 3, 2017 02:28
-
-
Save amustafa/bf10b4fd83399201655c35e7578178af to your computer and use it in GitHub Desktop.
Python API for Shapeshift.io's getcoins.
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 | |
BASE_URL = 'https://shapeshift.io/%s' | |
def get_coins(): | |
url_path = 'getcoins' | |
url = BASE_URL % url_path | |
response = requests.get(url) | |
return response.json() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment