{ "info": { "author": "Roman Nesytov", "author_email": "r.nesytov@ongrid.pro", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# CoinPayments API Client\n[![Build Status](https://travis-ci.org/OnGridSystems/coinpayments-py.svg?branch=master)](https://travis-ci.org/OnGridSystems/coinpayments-py)\n\n[CoinPayments](https://www.coinpayments.net) | [API Documentation](https://www.coinpayments.net/merchant-tools-api)\n\nThis library will let you to easily interact with CoinPayments API directly from your Python application.\n\n## Installation\n\nTo install coinpayments-py, simply use pip:\n\n```\npip install coinpayments-py\n```\n\n## Basic Usage\n\nInitialize api object\n\n```\n>>> from coinpayments import CoinPaymentsAPI\n\n>>> api = CoinPaymentsAPI(public_key='your_api_public_key',\n private_key='your_api_private_key')\n```\n\nCall any CoinPayments API method as `api` object method with corresponding arguments\n```\n>>> api.rates()\n{'error': 'ok', 'result': 'LTCT': {'balance': 839700000, 'balancef': '8.39700000', 'status': 'available', 'coin_status': 'online'}}}\n\n>>> api.get_callback_address(currency='BTC', ipn_url='http://example.com')\n{'error': 'ok', 'result': {'address': '36v6r1XuaWPtrTuhF8iq8AfBzPS8D4eios'}}\n```\n\nAlso you can check IPN HMAC signature using `check_signature` method\n```\n>>> from coinpayments import CoinPaymentsAPI\n>>> api = CoinPaymentsAPI(public_key=None,\n private_key='your_ipn_secret_key')\n>>> api.check_signature('ipn_message', 'ipn signautre')\nFalse\n```\n\n## Contributing\n\nContributions are welcome and will be fully credited.\nContributions can be made via a Pull Request.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OnGridSystems/coinpayments-py", "keywords": "coinpayments currencies crypto", "license": "", "maintainer": "", "maintainer_email": "", "name": "coinpayments-py", "package_url": "https://pypi.org/project/coinpayments-py/", "platform": "", "project_url": "https://pypi.org/project/coinpayments-py/", "project_urls": { "Bug Reports": "https://github.com/OnGridSystems/coinpayments-py/issues", "Homepage": "https://github.com/OnGridSystems/coinpayments-py", "Source": "https://github.com/OnGridSystems/coinpayments-py" }, "release_url": "https://pypi.org/project/coinpayments-py/0.1.0/", "requires_dist": [ "requests" ], "requires_python": ">=3.4", "summary": "CoinPayments API Client for Python", "version": "0.1.0" }, "last_serial": 3824556, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "28920270a58ebfdbd337b0bb7f1a0229", "sha256": "065e294fcc34a155125adc65092b03ccd38b0522717b3823c6ee8bb9c8a47ec6" }, "downloads": -1, "filename": "coinpayments_py-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "28920270a58ebfdbd337b0bb7f1a0229", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.4", "size": 3148, "upload_time": "2018-05-01T17:55:52", "url": "https://files.pythonhosted.org/packages/fd/2e/db600db26e0f252d95efb4da6d8543ae63b7a699e2f0b914ba339e23c5be/coinpayments_py-0.1.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "28920270a58ebfdbd337b0bb7f1a0229", "sha256": "065e294fcc34a155125adc65092b03ccd38b0522717b3823c6ee8bb9c8a47ec6" }, "downloads": -1, "filename": "coinpayments_py-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "28920270a58ebfdbd337b0bb7f1a0229", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.4", "size": 3148, "upload_time": "2018-05-01T17:55:52", "url": "https://files.pythonhosted.org/packages/fd/2e/db600db26e0f252d95efb4da6d8543ae63b7a699e2f0b914ba339e23c5be/coinpayments_py-0.1.0-py2.py3-none-any.whl" } ] }