A Python wrapper for bitFlyer API.
Project description
py-bitflyer
A Python wrapper for bitFlyer API.
Install
$ pip install py-bitflyer
Usage
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)
Private API
Create config.json and write down your APIKey and APISecret.
(!Atention!) This config.json has very very secret information 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
Release history Release notifications | RSS feed
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.4.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file py_bitflyer-0.1.4.tar.gz
.
File metadata
- Download URL: py_bitflyer-0.1.4.tar.gz
- Upload date:
- Size: 4.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6763032d45ca8d27d4686504491065fae52a06197f04c71e136969d97a7a915a |
|
MD5 | 4aaa434cce82e7b205f36c52ca62bb5d |
|
BLAKE2b-256 | cc34a155e4e7ad0a7d59abdeb7644924259c3b0b5cfe937afc9d0ec46fe0e317 |
File details
Details for the file py_bitflyer-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: py_bitflyer-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10b83d353e74b757265e2acf1805556d09a6edbe63a2f629953e3161b9d085c |
|
MD5 | 6ff239c8ee19996e53d6b973060f4a37 |
|
BLAKE2b-256 | 15e9b2bbd805ef065e087cd0af2a0d04dd454522a2f31b28ad25800dbee1e860 |