{ "info": { "author": "Arash Fatahzade", "author_email": "fatahzade@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Customer Service", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "ALFAcoins API Python implementation.\n\nA Python3.6 wrapper around the [ALFACoins](https://www.alfacoins.com/) [APIs](https://www.alfacoins.com/developers).\n \nby [Arash Fatahzade](https://github.com/ArashFatahzade).\n\n[![Build Status](https://travis-ci.org/ALFAcoins/alfacoins-api-python.svg?branch=master)](https://travis-ci.org/ALFAcoins/alfacoins-api-python)\n[![Coverage Status](https://coveralls.io/repos/github/ALFAcoins/alfacoins-api-python/badge.svg?branch=master)](https://coveralls.io/github/ALFAcoins/alfacoins-api-python?branch=master)\n\n## Description\n\n**alfacoins_api_python** is a Python3.6 Library for interacting with [ALFAcoins API](https://www.alfacoins.com/developers).\n\n**alfacoins_api_python** provides cryptocurrency payment integration on your website via [ALFAcoins](https://www.alfacoins.com).\n\n**alfacoins_api_python** allows you to integrate payments with the following cryptocurrencies:\n* Bitcoin (BTC)\n* Ethereum (ETH)\n* XRP (XRP)\n* Bitcoin Cash (BCH)\n* Litecoin (LTC)\n* Dash (DASH)\n\n## APIs\n* get_fees\n* get_rate\n* get_rates\n* create_order*\n* order_status*\n* bitsend*\n* bitsend_status*\n* refund*\n* statistics*\n\n*: Private API\n\n## Building\nYou need to have Python 3.6+ in order to use this package.\nConsider using [pyenv](https://github.com/pyenv/pyenv) for virtual Python 3.6 environment.\n\n```bash\npip3.6 install -r requirements_dev.txt\npython3.6 setup.py build\n```\n\n## Installation\n\n```bash\npip3.6 install alfacoins_api_python\n```\n\n\n## Getting Started\n\n### Gateway\n\nYou can get an instance of `ALFACoins` class like this:\n\n#### For public APIs\n\n```python\nfrom alfacoins_api_python import ALFACoins\n\n\nalfacoins = ALFACoins()\n```\n\n#### For private APIs\n\n```python3\nfrom alfacoins_api_python import ALFACoins\n\n\nalfacoins = ALFACoins(\n name='shop-name',\n password='password',\n secret_key='07fc884cf02af307400a9df4f2d15490'\n)\n```\n\n### Create order\n\n```python3\nresult = alfacoins.create_order(\n type='litecointestnet',\n amount=1.2345,\n currency='USD',\n order_id=1,\n options={\n 'notificationURL': 'https://example.io/notify',\n 'redirectURL': 'https://example.io/redirect',\n 'payerName': 'Bob',\n 'payerEmail': 'no_reply@alfacoins.com',\n },\n description='This is for test!',\n)\n```\n\nAdditional information and API documentation is here: [ALFAcoins API Reference](https://www.alfacoins.com/developers).", "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/alfacoins/alfacoins-api-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "alfacoins-api-python", "package_url": "https://pypi.org/project/alfacoins-api-python/", "platform": "", "project_url": "https://pypi.org/project/alfacoins-api-python/", "project_urls": { "Homepage": "https://github.com/alfacoins/alfacoins-api-python" }, "release_url": "https://pypi.org/project/alfacoins-api-python/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "ALFAcoins API Python 3.6+ Library", "version": "0.1.2" }, "last_serial": 5918579, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "4b495ef03352f36876871b09d289c978", "sha256": "c7e5edbd9549f9bd4c2ed377855e3803e81849a85ec1f4aff76420bffd4ffae5" }, "downloads": -1, "filename": "alfacoins_api_python-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4b495ef03352f36876871b09d289c978", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6906, "upload_time": "2019-10-02T15:44:35", "url": "https://files.pythonhosted.org/packages/66/2d/f5e961d834f18b0e1176c84799d9f28669e92e554170f804a8f207adc5df/alfacoins_api_python-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b495ef03352f36876871b09d289c978", "sha256": "c7e5edbd9549f9bd4c2ed377855e3803e81849a85ec1f4aff76420bffd4ffae5" }, "downloads": -1, "filename": "alfacoins_api_python-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4b495ef03352f36876871b09d289c978", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6906, "upload_time": "2019-10-02T15:44:35", "url": "https://files.pythonhosted.org/packages/66/2d/f5e961d834f18b0e1176c84799d9f28669e92e554170f804a8f207adc5df/alfacoins_api_python-0.1.2.tar.gz" } ] }