Python Library for Cryptsy's V2 API
- Tested in Python 2.7
- requests lib. (http://docs.python-requests.org/en/latest/)
Print Last Hours Worth of OHLC
fromCryptsyimportCryptsyfrompprintimportpprintimporttimec=Cryptsy("", "")
ohlc=c.market_ohlc(132, start=0, stop=time.time(), interval="minute", limit=60)
pprint(ohlc)List Currencies
fromCryptsyimportCryptsyfrompprintimportpprintc=Cryptsy("", "")
currencies=c.currencies()
pprint(currencies)Create Converter Quote with 2% fee.
fromCryptsyimportCryptsyfrompprintimportpprintc=Cryptsy("", "")
quote=c.convert_create(3, 132, sendingamount=1, tradekey="", feepercent=2)
pprint(quote)rename config.example.py to config.py
example .gitignore: *.swp *.pyc *~ config.py temp_temp