toxinu / bitstamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitstamp

Python module for Bitstamp API.

Installation

pip install git+https://socketubs@bitbucket.org/socketubs/bitstamp.git
cd bitstamp
python setup.py install

Usage

Get your Bitstamp module

>>> from bitstamp import Bitstamp
>>> api = Bitstamp()
>>> ticker = api.get_ticker()
>>> ticker.timestamp
>>> 1410822188
>>> ticker.bid
>>> 470.69

Documentation

You can build the documentation with Sphinx:

cd docs
make html
open build/html/index.html

Tests

pip install - requirements-dev.txt
coverage run -m unittest discover tests
coverage html

Todo

  • Exception for bad credentials (and manage it)
  • Ask for counter about request throttling

About


Languages

Language:Python 100.0%