Skip to main content

API client for Gemini

Project description

# Geminipy
A library for the Gemini bitcoin exchange API

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


Requirements
============
Please get an API key from [https://exchange.gemini.com/settings/api](https://exchange.gemini.com/settings/api)


Installation
============

```shell
pip install geminipy
```

Example
=======

```python
from geminipy import Geminipy

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

# public request
symbols = con.symbols()

# a Requests response is returned.
# So we can access the HTTP reponse code,
# the raw response content, or a json object
print symbols.status_code
print symbols.content
print symbols.json()

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

print order.json()

#send a heartbeat
con.heartbeat()
```

The required nonce is the current millisecond timestamp.

Project details


Download files

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

Files for geminipy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size geminipy-0.0.1.tar.gz (15.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page