Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

The Multi-Exchange Bitcoin API

Project Description

MExBtcAPI
=========

Welcome to the Multi-Exchange Bitcoin API!

This project aims to:

* provide a set of well developed interfaces useful in representing useful concepts like
* currency
* money
* exchange rate
* currency market
* promote their use
* provide API implementations of various bitcoin exchanges using them


This is an example of typical usage:

import mexbtcapi
from mexbtcapi.concepts.currencies import USD
from mexbtcapi.concepts.currency import Amount


ten_dollars= Amount(10, USD)
for api in mexbtcapi.apis:
exchange_rate= api.market(USD).getTicker().sell
print "At %s I can get %s for my %s (that's %s)"%(api.name, exchange_rate.convert( ten_dollars ), ten_dollars, exchange_rate)

At the moment, this code returns this output:

At MtGox I can get 1.25 BTC for my 10.00 USD (that's 12.45 USD/BTC)


Obtaining the latest source
===========================
This project is currently developed at github:
https://github.com/goncalopp/mexbtcapi


Adding suport for a new market
===========================
Please consult the add_market file

Release History

This version
History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
mexbtcapi.tar.gz
(23.0 kB) Copy SHA256 Hash SHA256
Source None Jan 10, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting