{ "info": { "author": "Shohei Kamon", "author_email": "kamonshohei@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "# Bitflyer: Bitflyer Api Library\n\nbitflyer \u306f [bitflyer](https://bitfyer.jp) \u306e python \u88fd api \u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059. \n\n```\n> from bitflyer import public\n> p1 = public.Public()\n> p1.ticker()\n{'volume_by_product': 2965.84952775, 'best_ask': 44689.0, 'timestamp': '2016-02-04T05:30:31.763', 'product_code': 'BTC_JPY', 'tick_id': 137706, 'best_ask_size': 0.016, 'volume': 5333.87259331, 'total_bid_depth': 679.52073, 'best_bid_size': 2.4, 'ltp': 44700.0, 'total_ask_depth': 1144.14296596, 'best_bid': 44670.0}\n```\n\n## Documentation\n\nDocumentation for Bitflyer API is available at https://lightning.bitflyer.jp/docs?lang=ja\n\n### Public\n\n#### \u677f\u60c5\u5831\n\n[\u677f\u60c5\u5831](https://lightning.bitflyer.jp/docs?lang=ja#\u677f\u60c5\u5831) \u3092\u53d6\u5f97\u3057\u307e\u3059.\n\n```\n>> from bitflyer import public\n>> print(public.Public().getboard())\n{'asks':...\n```\n\n\u8a73\u7d30\u306f[\u3053\u3061\u3089](https://lightning.bitflyer.jp/docs?lang=ja#\u677f\u60c5\u5831).\n\n#### Ticker\n\n```\n>> from bitflyer import public\n>> print(public.Public().getticker())\n{'timestamp': '2016-02-04T05:47:26.64', 'best_bid': 44711.0, 'product_code': 'BTC_JPY', 'total_bid_depth': 785.91873, 'best_ask': 44725.0, 'ltp': 44750.0, 'best_bid_size': 1.667, 'total_ask_depth': 735.61096596, 'volume': 5344.37969331, 'volume_by_product': 2975.34662775, 'tick_id': 139547, 'best_ask_size': 0.013}\n```\n\n[ticker](https://lightning.bitflyer.jp/docs?lang=ja#ticker) \u3092\u53d6\u5f97\u3057\u307e\u3059.\n\n\u8a73\u7d30\u306f[\u3053\u3061\u3089](https://lightning.bitflyer.jp/docs?lang=ja#ticker).\n\n#### \u7d04\u5b9a\u5c65\u6b74\n\n\u7d04\u5b9a\u5c65\u6b74\u3092\u53d6\u5f97\u3057\u307e\u3059.\n\n```\n>> from bitflyer import public\n>> print(public.Public().getexecutions())\n[{'size': 1.618, 'buy_child_order_acceptance_id':...\n```\n\n\u8a73\u7d30\u306f[\u3053\u3061\u3089](https://lightning.bitflyer.jp/docs?lang=ja#\u7d04\u5b9a\u5c65\u6b74).\n\n\n#### \u53d6\u5f15\u6240\u306e\u72b6\u614b\n\n[\u53d6\u5f15\u6240\u306e\u72b6\u614b](https://lightning.bitflyer.jp/docs?lang=ja#\u53d6\u5f15\u6240\u306e\u72b6\u614b) \u3092\u53d6\u5f97\u3057\u307e\u3059.\n\n```\n>> from bitflyer import public\n>> print(public.Public().gethealth())\n{'status': 'NORMAL'}\n```\n\u8a73\u7d30\u306f[\u3053\u3061\u3089](https://lightning.bitflyer.jp/docs?lang=ja#\u53d6\u5f15\u6240\u306e\u72b6\u614b).\n\n \n### Private\n\n#### \u8cc7\u7523\u6b8b\u9ad8\u3092\u53d6\u5f97\n\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.getbalance()\n{'status_code': 200, 'response': ....}\n```\n\n#### \u8a3c\u62e0\u91d1\u306e\u72b6\u614b\u3092\u53d6\u5f97\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.getcollateral()\n{'status_code': 200, 'response': ....}\n```\n\n#### \u65b0\u898f\u6ce8\u6587\u3092\u51fa\u3059\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.sendchildorder()\n{'status_code': 200, 'response': ....}\n```\n\n#### \u6ce8\u6587\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.cancelchildorder()\n{'status_code': 200, 'response': ....}\n```\n\n#### \u65b0\u898f\u306e\u89aa\u6ce8\u6587\u3092\u51fa\u3059\uff08\u7279\u6b8a\u6ce8\u6587\uff09\n\n\u672a\u5b9f\u88c5\n\n#### \u89aa\u6ce8\u6587\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\n\n\u672a\u5b9f\u88c5\n\n#### \u3059\u3079\u3066\u306e\u6ce8\u6587\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.cancelallchildorders()\n{'status_code': 200, 'response': ....}\n```\n\n\n#### \u6ce8\u6587\u306e\u4e00\u89a7\u3092\u53d6\u5f97\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.getchildorders()\n{'status_code': 200, 'response': ....}\n```\n\n#### \u89aa\u6ce8\u6587\u306e\u4e00\u89a7\u3092\u53d6\u5f97\n\n\u672a\u30c6\u30b9\u30c8\n\n#### \u89aa\u6ce8\u6587\u306e\u8a73\u7d30\u3092\u53d6\u5f97\n\n\u672a\u30c6\u30b9\u30c8\n\n#### \u7d04\u5b9a\u306e\u4e00\u89a7\u3092\u53d6\u5f97\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.getexecutions()\n{'status_code': 200, 'response': ....}\n```\n\n\n#### \u5efa\u7389\u306e\u4e00\u89a7\u3092\u53d6\u5f97\n\n```\n>> from bitflyer import private\n>> p = private.Private(access_key='YOUR_ACCESS_KEY',secret_key='YOUR_SECRET_KEY')\n>> p.getpositions()\n{'status_code': 200, 'response': ....}\n```\n\n\n## TODO\n\n- \u89aa\u6ce8\u6587\n\n\n## 0.0.2 (2019-07-09)\n\n- Security Update\n - CVE-2018-18074\n\n## 0.0.1 (2016-02-04)\n\n- Birth!", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kmn/bitflyer", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bitflyer", "package_url": "https://pypi.org/project/bitflyer/", "platform": "", "project_url": "https://pypi.org/project/bitflyer/", "project_urls": { "Homepage": "https://github.com/kmn/bitflyer" }, "release_url": "https://pypi.org/project/bitflyer/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Bitflyer API Library for Python", "version": "0.0.2" }, "last_serial": 5504734, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7da3db821d4018018f14beabcdfb4801", "sha256": "25a68c90dd9ffdbff5a0c52142ba8360b4560b2f9ced9716f5ab89edf752c9f3" }, "downloads": -1, "filename": "bitflyer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7da3db821d4018018f14beabcdfb4801", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5423, "upload_time": "2016-02-04T06:56:15", "url": "https://files.pythonhosted.org/packages/2c/00/2fa6c6cd27611580e16fd41c61803efec55c83a8ea290e960b984959cde6/bitflyer-0.0.1.tar.gz" } ], "0.0.1a": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4e353042d0b8c9dc1738cc090c32c3a1", "sha256": "b7bedc3dff7b175fb1367d092cd5e8c3f1625d71d559e5141c0418c5466c880c" }, "downloads": -1, "filename": "bitflyer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4e353042d0b8c9dc1738cc090c32c3a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5479, "upload_time": "2019-07-09T04:52:00", "url": "https://files.pythonhosted.org/packages/bf/7c/45f053c29909dd5870d0015e003928446f0241e884a49ec4859cb1cf1094/bitflyer-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e353042d0b8c9dc1738cc090c32c3a1", "sha256": "b7bedc3dff7b175fb1367d092cd5e8c3f1625d71d559e5141c0418c5466c880c" }, "downloads": -1, "filename": "bitflyer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4e353042d0b8c9dc1738cc090c32c3a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5479, "upload_time": "2019-07-09T04:52:00", "url": "https://files.pythonhosted.org/packages/bf/7c/45f053c29909dd5870d0015e003928446f0241e884a49ec4859cb1cf1094/bitflyer-0.0.2.tar.gz" } ] }