{ "info": { "author": "dakimura", "author_email": "dakimura@example.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2018, dakimura\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, this\r\n list of conditions and the following disclaimer.\r\n\r\n* Redistributions in binary form must reproduce the above copyright notice,\r\n this list of conditions and the following disclaimer in the documentation\r\n and/or other materials provided with the distribution.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\r\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\r\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nDescription: # coincheck_api\r\n A simple python library to use CoinCheck API.\r\n \r\n ## Install\r\n `$ pip install coincheck_api`\r\n \r\n ```buildoutcfg\r\n # or\r\n # $ pip install git+https://github.com/dakimura/coincheck_api.gi\r\n ```\r\n - if you want to use [Private Api](https://coincheck.com/ja/documents/exchange/api#private), [create an API key(accessKey, secret)](https://coincheck.com/ja/api_settings) first.\r\n - [Private Api](https://coincheck.com/ja/documents/exchange/api#private)\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u5148\u306b[API key(accessKey, secret)\u3092\u4f5c\u6210](https://coincheck.com/ja/api_settings)\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n \r\n ## Usage\r\n \r\n ```buildoutcfg\r\n $ python\r\n >>> from coincheck_api import Client\r\n >>> client = Client(access_key=\"foo\", secret=\"bar\")\r\n >>>\r\n >>> # examples\r\n >>> \r\n >>> # \u53e3\u5ea7\u306e\u6b8b\u9ad8\u3092\u53d6\u5f97\u3057\u307e\u3059\r\n >>> client.get_account_balance()\r\n {'success': True, 'jpy': '12138750.9387', 'btc': '0.0', 'eth': '62.367956', 'etc': '0', 'dao': '0', 'lsk': '0', 'fct': '6153.247', 'xmr': '0', 'rep': '0.0', 'xrp': '1957390.0', 'zec': '0', 'xem': '0.0', 'ltc': '0', 'dash': '0.18622', 'bch': '0', 'jpy_reserved': '0.0', 'btc_reserved': '0', 'eth_reserved': '0', 'etc_reserved': '0', 'dao_reserved': '0', 'lsk_reserved': '0', 'fct_reserved': '0', 'xmr_reserved': '0', 'rep_reserved': '0', 'xrp_reserved': '0', 'zec_reserved': '0', 'xem_reserved': '0', 'ltc_reserved': '0', 'dash_reserved': '0', 'bch_reserved': '0', 'jpy_lend_in_use': '0.0', 'btc_lend_in_use': '0.0', 'eth_lend_in_use': '0.0', 'etc_lend_in_use': '0.0', 'dao_lend_in_use': '0.0', 'lsk_lend_in_use': '0.0', 'fct_lend_in_use': '0.0', 'xmr_lend_in_use': '0.0', 'rep_lend_in_use': '0.0', 'xrp_lend_in_use': '0.0', 'zec_lend_in_use': '0.0', 'xem_lend_in_use': '0.0', 'ltc_lend_in_use': '0.0', 'dash_lend_in_use': '0.0', 'bch_lend_in_use': '0.0', 'jpy_lent': '0.0', 'btc_lent': '0.0', 'eth_lent': '0.0', 'etc_lent': '0.0', 'dao_lent': '0.0', 'lsk_lent': '0.0', 'fct_lent': '0.0', 'xmr_lent': '0.0', 'rep_lent': '0.0', 'xrp_lent': '0.0', 'zec_lent': '0.0', 'xem_lent': '0.0', 'ltc_lent': '0.0', 'dash_lent': '0.0', 'bch_lent': '0.0', 'jpy_debt': '0.0', 'btc_debt': '0.0', 'eth_debt': '0.0', 'etc_debt': '0.0', 'dao_debt': '0.0', 'lsk_debt': '0.0', 'fct_debt': '0.0', 'xmr_debt': '0.0', 'rep_debt': '0.0', 'xrp_debt': '0.0', 'zec_debt': '0.0', 'xem_debt': '0.0', 'ltc_debt': '0.0', 'dash_debt': '0.0', 'bch_debt': '0.0'}\r\n >>>\r\n >>> # \u6307\u50245000\u5186\u30670.1bitcoin\u306e\u8cb7\u3044\u6ce8\u6587\u3092\u51fa\u3057\u307e\u3059\r\n >>> client.buy(rate=5000, btc_amount=0.1)\r\n {'success': True, 'id': 903090581, 'amount': '0.1', 'rate': '5000.0', 'order_type': 'buy', 'pair': 'btc_jpy', 'created_at': '2018-05-08T00:13:26.231Z', 'market_buy_amount': None, 'stop_loss_rate': None}\r\n >>>\r\n ```\r\n \r\n - Returned value of each function of `coincheck_api.Client` is a json-deserialized API response.\r\n For more information of the API responses, please refer [official API documents](https://coincheck.com/ja/documents/exchange/api) \r\n \r\nPlatform: UNKNOWN\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dakimura/coincheck_api", "keywords": "", "license": "BSD 2-Clause License", "maintainer": "", "maintainer_email": "", "name": "coincheck-api", "package_url": "https://pypi.org/project/coincheck-api/", "platform": "", "project_url": "https://pypi.org/project/coincheck-api/", "project_urls": { "Homepage": "https://github.com/dakimura/coincheck_api" }, "release_url": "https://pypi.org/project/coincheck-api/0.8.1/", "requires_dist": null, "requires_python": "", "summary": "A simple library to use CoinCheck API", "version": "0.8.1" }, "last_serial": 3879860, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "298e8598459ba9e714fa581a78edde34", "sha256": "ef4a3382392b056abf4cf4c9c137ca3210e27e7ca0c719a1ea433e01094a5d19" }, "downloads": -1, "filename": "coincheck_api-0.2.2.tar.gz", "has_sig": false, "md5_digest": "298e8598459ba9e714fa581a78edde34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3927, "upload_time": "2018-05-02T11:44:18", "url": "https://files.pythonhosted.org/packages/c0/08/4c232d8687337ff006a6ba15340e3be28f656e24c70de1c4662580fad786/coincheck_api-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "2bd107d4cc4906e77fb31a3d162b1c4b", "sha256": "b441cf76914817e710eff6c768e162dcd496489f6463c8bd69ed1b2c4f773310" }, "downloads": -1, "filename": "coincheck_api-0.2.3.tar.gz", "has_sig": false, "md5_digest": "2bd107d4cc4906e77fb31a3d162b1c4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4539, "upload_time": "2018-05-03T00:58:15", "url": "https://files.pythonhosted.org/packages/1b/90/cfc379f5874269120cc5f665009d22a148e1ef66953bf8abea9bfaba3b1a/coincheck_api-0.2.3.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "edb7265449d9a38f9adff84a8221d556", "sha256": "ca6b8a9ac73dc8f8984339f97c0c7ae2e59c64cf00a7e6ba292a1a4b7248cb74" }, "downloads": -1, "filename": "coincheck_api-0.5.0.tar.gz", "has_sig": false, "md5_digest": "edb7265449d9a38f9adff84a8221d556", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3436, "upload_time": "2018-05-03T21:46:01", "url": "https://files.pythonhosted.org/packages/4d/b5/d6077baec3732ccc7cd15125970af4e7548009dc51954ba2a7ca81d2338e/coincheck_api-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "5b5c12980b85fad27ffef1bbe9e982d2", "sha256": "c43031452fdbb6abc86dd06fa7711faa2da831d88f6a258e9459ae159bce71a0" }, "downloads": -1, "filename": "coincheck_api-0.6.0.tar.gz", "has_sig": false, "md5_digest": "5b5c12980b85fad27ffef1bbe9e982d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3821, "upload_time": "2018-05-08T00:07:16", "url": "https://files.pythonhosted.org/packages/2b/9e/6be44fcd56e818aab8629dc5b60f012babed4a28823e8fbf70c2ae84569b/coincheck_api-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "1bbe81ce429d121477f37f6db2ea0cf5", "sha256": "edb07ebda2d3f0df82534bedf24948b8a695dcdda1dd1780a0bde93ad6e37591" }, "downloads": -1, "filename": "coincheck_api-0.7.0.tar.gz", "has_sig": false, "md5_digest": "1bbe81ce429d121477f37f6db2ea0cf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3981, "upload_time": "2018-05-19T20:43:43", "url": "https://files.pythonhosted.org/packages/a7/f0/cc135979ec08c545d03d7733c8323d4fef5b966917fd8fbc2629301aa13b/coincheck_api-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "d9f0fe07cb2952698d3bd599f3861195", "sha256": "5e85b7869ccb9d4c0fa14695de0cf84a1ed28cac311c69818cbe68fe786ac31d" }, "downloads": -1, "filename": "coincheck_api-0.8.0.tar.gz", "has_sig": false, "md5_digest": "d9f0fe07cb2952698d3bd599f3861195", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8452, "upload_time": "2018-05-19T21:04:51", "url": "https://files.pythonhosted.org/packages/4a/d4/8dcb8084d93310ae5472f8b3208d63f7785bc7224807b3740d1fee45b7bc/coincheck_api-0.8.0.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "a5b6047122ed7a045920a89e1edc3d55", "sha256": "611683e7f270507696a0e5a66285f3a10b51930dd82ac0363dad0bb66adacb41" }, "downloads": -1, "filename": "coincheck_api-0.8.1.tar.gz", "has_sig": false, "md5_digest": "a5b6047122ed7a045920a89e1edc3d55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8475, "upload_time": "2018-05-19T21:10:15", "url": "https://files.pythonhosted.org/packages/eb/fb/79c8fa449151c7c7b69127e8c99510a4f73f9498788e56f1506fd85aa23a/coincheck_api-0.8.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5b6047122ed7a045920a89e1edc3d55", "sha256": "611683e7f270507696a0e5a66285f3a10b51930dd82ac0363dad0bb66adacb41" }, "downloads": -1, "filename": "coincheck_api-0.8.1.tar.gz", "has_sig": false, "md5_digest": "a5b6047122ed7a045920a89e1edc3d55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8475, "upload_time": "2018-05-19T21:10:15", "url": "https://files.pythonhosted.org/packages/eb/fb/79c8fa449151c7c7b69127e8c99510a4f73f9498788e56f1506fd85aa23a/coincheck_api-0.8.1.tar.gz" } ] }