Skip to main content

# 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

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

Metadata

Release files for geminipy 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geminipy 0.0.4
File Size Uploaded Provenance Actions
geminipy-0.0.4.tar.gz 15.8 kB Without provenance Details for geminipy-0.0.4.tar.gz

Release files / geminipy-0.0.4.tar.gz

Download URL geminipy-0.0.4.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e8a65a54f6fd0e50051d63436888b601a038d9c8546bfb89ab948559c2298202
BLAKE2b-256 checksum
How to use checksums
e0dd239b4cdf1230f5aff8fc04b0a8d0cad7e47190c6f61c88253ebf86422475
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.2

Security for geminipy 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page