Coder Social home page Coder Social logo

bleutrade_python's Introduction

Bleutrade Python API

Python client library implementation of the Bleutrade API

The object will return a dictionary containing the JSON to work with in your program. For more information see: https://bleutrade.com/help/API

NOTE: The module is written for python version 2.7 and will surely not run on python 3 or versions below 2.7. A version for python3 will come later.

Installation

Unix machines:

sudo pip install bleutradeapi

Windows:

pip install bleutradeapi

Usage

    from bleutradeapi.bleutrade import *

    # Fetch all markets
    json = Bleutrade().get_markets()
    print json

Here we fetch data for all markets. As this API method is a public function we don't need to provide any authentication data. Of course, you can always initiate an object and use it:

  from bleutradeapi.bleutrade import *
  
  api = new Bleutrade()
  json = api.get_markets()
  ...

For private methods we do need to provide authentication data:

  from bleutradeapi.bleutrade import *
  
	currencies = ['DOGE', 'BTC', 'LTC']
	json = Bleutrade('YOUR_API_KEY', 'YOUR_API_SECRET').get_balances(currencies)
	print json

bleutrade_python's People

Contributors

sanzaru avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

eddie117

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.