{"id":24496857,"url":"https://github.com/10mohi6/bitbank-api-python-client","last_synced_at":"2025-10-25T03:32:58.226Z","repository":{"id":50206217,"uuid":"132874269","full_name":"10mohi6/bitbank-api-python-client","owner":"10mohi6","description":"bitbank-client is a python client (sync/async) library for bitbank api","archived":false,"fork":false,"pushed_at":"2022-12-08T04:49:54.000Z","size":9,"stargazers_count":2,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T09:03:22.301Z","etag":null,"topics":["api","async","bitbank","client","python","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/10mohi6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-10T08:51:28.000Z","updated_at":"2019-04-23T05:27:48.000Z","dependencies_parsed_at":"2023-01-25T13:31:56.531Z","dependency_job_id":null,"html_url":"https://github.com/10mohi6/bitbank-api-python-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/10mohi6/bitbank-api-python-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fbitbank-api-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fbitbank-api-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fbitbank-api-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fbitbank-api-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/10mohi6","download_url":"https://codeload.github.com/10mohi6/bitbank-api-python-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fbitbank-api-python-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261841926,"owners_count":23217911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","async","bitbank","client","python","wrapper"],"created_at":"2025-01-21T21:19:11.278Z","updated_at":"2025-10-25T03:32:58.168Z","avatar_url":"https://github.com/10mohi6.png","language":"Python","readme":"# bitbank-client\n\n[![PyPI version](https://badge.fury.io/py/bitbank-client.svg)](https://badge.fury.io/py/bitbank-client)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nbitbank-client is a python client (sync/async) library for bitbank api\n\n## Installation\n\n    $ pip install bitbank-client\n\n## Usage\n\n```python\n#\n# sync\n#\nfrom bitbank_client.sync import Client\n\nclient = Client(public_key='your api key', private_key='your api secret')\nresponse = client.get_ticker(pair='btc_jpy')\nprint(response.status_code, response.json())\n\n#\n# async\n#\nimport grequests\nfrom bitbank_client.async import Async\n\nclient = Async(public_key='your api key', private_key='your api secret')\nreqs = [client.get_ticker(pair='btc_jpy'), client.get_depth(pair='btc_jpy'), ...]\nresponse = grequests.map(reqs)\nfor r in response:\n\tprint(r.status_code, r.json())\n\n\nclient.get_ticker(pair='btc_jpy') # GET /{pair}/ticker\nclient.get_depth(pair='btc_jpy') # GET /{pair}/depth\nclient.get_transactions(pair='btc_jpy') # GET /{pair}/transactions\nclient.get_transactions(pair='btc_jpy', yyyymmdd='20180509') # GET /{pair}/transactions/{YYYYMMDD}\nclient.get_candlestick(pair='btc_jpy', candle_type='1day', yyyymmdd='2018') # GET /{pair}/candlestick/{candle-type}/{YYYY}\nclient.get_candlestick(pair='btc_jpy', candle_type='1hour', yyyymmdd='20180510') # GET /{pair}/candlestick/{candle-type}/{YYYY}\nclient.get_assets() # GET /user/assets\nclient.get_order(pair='btc_jpy', order_id=1) # GET /user/spot/order\nclient.order(pair='btc_jpy', amount=1, price=1, side='buy', type='limit') # POST /user/spot/order\nclient.cancel_order(pair='btc_jpy', order_id=1) # POST /user/spot/cancel_order\nclient.cancel_orders(pair='btc_jpy', order_ids=[1,2]) # POST /user/spot/cancel_orders\nclient.orders_info(pair='btc_jpy', order_ids=[1,2]) # POST /user/spot/orders_info\nclient.get_active_orders(pair='btc_jpy') # GET /user/spot/active_orders\nclient.get_trade_history(pair='btc_jpy') # GET /user/spot/trade_history\nclient.get_withdrawal_account(asset='btc') # GET /user/withdrawal_account\nclient.request_withdrawal(asset='btc', uuid=1, amount=1) # POST /user/request_withdrawal\nclient.request_withdrawal(asset='btc', uuid=1, amount=1, otp_token='xxx') # POST /user/request_withdrawal\nclient.request_withdrawal(asset='btc', uuid=1, amount=1, sms_token='xxx') # POST /user/request_withdrawal\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10mohi6%2Fbitbank-api-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F10mohi6%2Fbitbank-api-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10mohi6%2Fbitbank-api-python-client/lists"}