Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The Multi-Exchange Bitcoin API offers a proper consistent and OO API access across multiple bitcoin exchanges

NotificationsYou must be signed in to change notification settings

jackric/mexbtcapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 mexbtcapifrom mexbtcapi.concepts.currencies import USDfrom mexbtcapi.concepts.currency import Amountten_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)

About

The Multi-Exchange Bitcoin API offers a proper consistent and OO API access across multiple bitcoin exchanges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp