Skip to main content

API client for Gemini

Project description

# TSGemini- Shockdav 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 tsgemini

Example

python from tsgemini import TSGemini

# The connection defaults to the Gemini sandbox. # Add ‘live=True’ to use the live exchange con = Geminipy(api_key=’your API key’, secret_key=’your secret key’, live=True)

# 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.

TS-Shockdav

Project details


Download files

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

Source Distribution

monedadigitag-3.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monedadigitag-3.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file monedadigitag-3.0.0.tar.gz.

File metadata

  • Download URL: monedadigitag-3.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.3

File hashes

Hashes for monedadigitag-3.0.0.tar.gz
Algorithm Hash digest
SHA256 e522e811b8b2e32258decc6978cbc0ecb5141f595ad7e3c7089e1713faba8872
MD5 e5462d0326f78111f32c17bc4edcc1b5
BLAKE2b-256 13715956e113ea6355fdac4bc0f8d046946f78487a945d2169a4c8af3b42bb56

See more details on using hashes here.

File details

Details for the file monedadigitag-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: monedadigitag-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.3

File hashes

Hashes for monedadigitag-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6dd8f9fce4d8a7808c54a3ae097accbb9820834d5f9be4784f52a347ffddf1
MD5 42d39a3f7b5dd244100e2093a3ca2294
BLAKE2b-256 5f5c04758f8a04fe63f98fc4b60e317f9c96a7870e3b0c3e74e2a5517cc62879

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page