Skip to main content

A Python wrapper for the Txbit API

Project description

Txbit Build Status Last Commit Python Version License: MIT

A Python3 wrapper for the Txbit API

Installation

pip3 install txbit

Usage

from txbit import Txbit
from secrets import APIKEY, SECRET  # api key and secret

# public functions (no APIKEY/Secret needed)
markets = Txbit.getMarketSummaries().result

order = Txbit.getOrderBook('ETH/BTC').result

# market and account functions (require APIKEY/Secret)
t = Txbit(APIKEY, SECRET)

request = t.getBalance()

if request.success:
    balance = request.result

Support

For any help or questions, please open an issue on GitHub.

License

MIT

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

txbit-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

txbit-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file txbit-1.0.0.tar.gz.

File metadata

  • Download URL: txbit-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for txbit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 83016d1236b570b83febe7ff23421a286ea1bb1012a6b444005f00b5ba73b351
MD5 8f9cb4e19c4589d85ed721fe181d723c
BLAKE2b-256 4a39be6a48634a621bcf5cc8e98aa1a1984900f037edec1fcad49c5b240aa2d4

See more details on using hashes here.

File details

Details for the file txbit-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: txbit-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for txbit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 331cb75d9c2e78d27b98c045ba467e7020db6cc6aefb91037218da3bea738257
MD5 bfc262605a90bd4fdc1e9de55b8491a2
BLAKE2b-256 6b01bad8250c7fba5721e2e68533d17bd4c75a4b5a721918216bb95f55dae350

See more details on using hashes here.

Supported by

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