saolsen / cryptotrade

A simple Python API wrapper for Bitcoin trading platforms such as MtGox and TradeHill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Cryptotrade

A simple API wrapper for Bitcoin trading platforms such as MtGox and TradeHill.

##Install

pip install cryptotrade

##Example

import cryptotrade

mg = cryptotrade.MtGox()
mg.ticker()

th = cryptotrade.TradeHill()
th.ticker()

In order to make trades with the API you'll need to provide your login information for each service. When you instantiate your instances of either platform you should provide this information. After that you're free to use all the API functionality currently offered by the platforms.

mg = cryptotrade.MtGox(username='Foo', password='sekrit')
th = cryptotrade.TradeHill(username='Bar', password='hunter2')

Happy trading!

About

A simple Python API wrapper for Bitcoin trading platforms such as MtGox and TradeHill

License:Other