{ "info": { "author": "Adriano Di Luzio", "author_email": "adrianodl@hotmail.it", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", "Intended Audience :: Financial and Insurance Industry", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Office/Business :: Financial" ], "description": "Cryptonator Python API\n======================\n\nA simple wrapper for the\n`Cryptonator `__ exchange rate API.\n\nInstall\n-------\n\nYou can either install Cryptonator by using ``pip``, or simply copy the\n``cryptonator.py`` file in you project root directory.\n\n.. code:: bash\n\n $ pip install cryptonator # add --user if you want\n\nUsage\n-----\n\n.. code:: python\n\n import cryptonator\n\n \"\"\"Get an exchange rate between two currencies.\"\"\"\n cryptonator.get_exchange_rate('usd', 'eur') \n # 0.95147479\n\n \"\"\"A Cryptonator API object can speed-up things if you need multiple calls.\"\"\"\n api = cryptonator.Cryptonator()\n\n \"\"\"Get an exchange rate between a single curreny and many targets.\"\"\"\n api.get_exchange_rates('usd', ['eur', 'btc', 'xrp'])\n # {'btc': 0.00136076, 'eur': 0.95147479, 'xrp': 144.71780029}\n\nTesting\n-------\n\nTests can be found in ``test_cryptonator.py``. You can launch them with:\n\n.. code:: bash\n\n $ python test_cryptonator.py\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aldur/cryptonator", "keywords": "cryptonator", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cryptonator", "package_url": "https://pypi.org/project/cryptonator/", "platform": "", "project_url": "https://pypi.org/project/cryptonator/", "project_urls": { "Homepage": "https://github.com/aldur/cryptonator" }, "release_url": "https://pypi.org/project/cryptonator/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "A simple wrapper for the cryptonator exchange rate API.", "version": "0.0.2" }, "last_serial": 2482500, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "763c48eb7789e75d346174abd628c4d2", "sha256": "5e88d4aaf421074a79a1115f3613df9889346eb050a806e9680f1c9dd7ce0442" }, "downloads": -1, "filename": "cryptonator-0.0.2.tar.gz", "has_sig": false, "md5_digest": "763c48eb7789e75d346174abd628c4d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3704, "upload_time": "2016-11-25T13:55:50", "url": "https://files.pythonhosted.org/packages/38/c2/6f859e758bab6688311dc5cc06a1bf434dadd1bffc62560a4bb1dc161900/cryptonator-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "763c48eb7789e75d346174abd628c4d2", "sha256": "5e88d4aaf421074a79a1115f3613df9889346eb050a806e9680f1c9dd7ce0442" }, "downloads": -1, "filename": "cryptonator-0.0.2.tar.gz", "has_sig": false, "md5_digest": "763c48eb7789e75d346174abd628c4d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3704, "upload_time": "2016-11-25T13:55:50", "url": "https://files.pythonhosted.org/packages/38/c2/6f859e758bab6688311dc5cc06a1bf434dadd1bffc62560a4bb1dc161900/cryptonator-0.0.2.tar.gz" } ] }