Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 975 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 975 Bytes

Gemini API

Unofficial and open-source Python 3 module for Gemini API.

Dependencies

  • Python >= 3.0
  • Requests >= 2.10.0

Usage

First, install requests.

pip install requests
import gemini

# Set third argument to True if you are experimenting on api.sandbox.gemini.com
session = GeminiSession("my_api_key", "my_api_secret", True)

# Buy .01 BTC at $575/BTC and print the response
print(session.new_order("btcusd", ".01", "575","buy"))

Reference

TODO: Finish this section. For now, see docstrings in gemini.py

Donations

If this has been useful to you, please donate so I can keep on making stuff.

- BTC: 1HYdvp9AtQWaebcSSEk55PKp12HmpKTdz4

Contribute

If you are interested in adding any new features or functionality, feel free to send a pull request!