Skip to main content

A Python wrapper for bitFlyer API.

Project description

py-bitflyer

A Python wrapper for bitFlyer API.

Install

$ pip install py-bitflyer

For Usage

For public_api

import py_bitflyer


public_api = py_bitflyer.API()

# Get markets informations
public_api.markets()

# Get executions
# If you want 10 executions, pass count as a variable
public_api.executions(count=10)

For private_api

Create config.json and write down your APIKey and APISecret. (!Atention!) This config.json has very very secret infomation of your bitflyer account.

/path/to/config.json

{
    "Key" : "Your APIKey",
    "Secret" : "Your APISecret"
}
import py_bitflyer


private_api = py_bitflyer.API(mode='Private', config='/path/to/config.json')

# Get balance
private_api.balance()

# Get a list of own executions
private_api.childorders_list()

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

py_bitflyer-0.1.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

py_bitflyer-0.1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file py_bitflyer-0.1.3.tar.gz.

File metadata

  • Download URL: py_bitflyer-0.1.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for py_bitflyer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 da9088f77980c39463d163611989708c89b9ffc71e2bf64556b3ceba56ce05d1
MD5 f9f933533bc36af6065e2935b565ae49
BLAKE2b-256 7e6ae0a0618e1a91a75acabffe6dd739aa2cc16c8d02fd5fa55b4af346d497aa

See more details on using hashes here.

File details

Details for the file py_bitflyer-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: py_bitflyer-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for py_bitflyer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 169bb0e623ccba965498883c52a92af43c45e021a45a06beae38358090dc259e
MD5 74175fa29622fa6cd739083a71937745
BLAKE2b-256 95a6f5e6346838abc34270e225e2e55aab9eba6728e6982b93144176acd265eb

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