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
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.3.tar.gz
(3.6 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9088f77980c39463d163611989708c89b9ffc71e2bf64556b3ceba56ce05d1 |
|
MD5 | f9f933533bc36af6065e2935b565ae49 |
|
BLAKE2b-256 | 7e6ae0a0618e1a91a75acabffe6dd739aa2cc16c8d02fd5fa55b4af346d497aa |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 169bb0e623ccba965498883c52a92af43c45e021a45a06beae38358090dc259e |
|
MD5 | 74175fa29622fa6cd739083a71937745 |
|
BLAKE2b-256 | 95a6f5e6346838abc34270e225e2e55aab9eba6728e6982b93144176acd265eb |