8000 geminipy/README.md at v0.0.1 · geminipy/geminipy · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 747 Bytes

README.md

File metadata and controls

41 lines (24 loc) · 747 Bytes

Geminipy

A library for the Gemini bitcoin exchange API

Easily communicate with the Gemini Bitcoin exchange API without having to deal with HTTP requests.

Installation

Just download geminipy.py

Example

from geminipy import Geminipy

con = Geminipy(api_key='your API key', secret_key='your secret key')

# public request
symbols = con.symbols()

print symbols.content

# authenticated request
order = con.new_order(amount='1', price='200',side='buy')

print order.content

#send a heartbeat
con.heartbeat()

The required nonce is the current millisecond timestamp.

Dependencies

requests >=2.9.1

sudo pip install requests --upgrade
0