Skip to content

Instantly share code, notes, and snippets.

@amustafa
Created August 3, 2017 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amustafa/bf10b4fd83399201655c35e7578178af to your computer and use it in GitHub Desktop.
Save amustafa/bf10b4fd83399201655c35e7578178af to your computer and use it in GitHub Desktop.
Python API for Shapeshift.io's getcoins.
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