Skip to main content

The easiest way to integrate Bitcoin, Dogecoin and Litecoin in your applications. Sign up at Block.io for your API key.

Project description

BlockIo

This Python package is the official reference client for the Block.io payments API. To use this, you will need the Dogecoin, Bitcoin, or Litecoin API key(s) from Block.io. Go ahead, sign up :)

COMPATIBILITY: Please use Python 3.6+. Untested on Windows: ensure all tests pass before using this package regardless.

Installation

Using virtualenv is recommended when installing Python packages.

Install the package using pip3:

pip3 install block-io

Usage

It's super easy to get started. In your Python shell, do:

from block_io import BlockIo

block_io = BlockIo('API KEY', 'SECRET PIN', API_VERSION)

# print the account balance
print block_io.get_balance()

# print all addresses on this account
print block_io.get_my_addresses()

For more information, see Python API Docs. This Python client provides a mapping for all methods listed on the Block.io API site.

Contributing

  1. Fork it ( https://github.com/BlockIo/block_io-python/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

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

block-io-2.0.6.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

block_io-2.0.6-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file block-io-2.0.6.tar.gz.

File metadata

  • Download URL: block-io-2.0.6.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for block-io-2.0.6.tar.gz
Algorithm Hash digest
SHA256 33b7337e96a05eaa16592bb87a707767685cd86b406ac908e9c9c9cc97690bc2
MD5 1374ab039e2022581afe613a8f3c2e80
BLAKE2b-256 7f8d3626ce78028a73d228d9871f284539c428fe68c37eda5242f19c27518ec8

See more details on using hashes here.

File details

Details for the file block_io-2.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: block_io-2.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for block_io-2.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 659bc93cf1021f2b6e8c54a8762778e0a566f6535c4ec276f4f150ecbeece6d7
MD5 ccb41fd21dd61c78388e8b04defe4a4b
BLAKE2b-256 b885f959bbbd925dd9fa78b5e87f22e2ec81fc742bc249592ff708c52c8b24e6

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