{ "info": { "author": "Lihan Li", "author_email": "llihan673@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP" ], "description": "==================\nopenexchangerates3\n==================\n\nThis is a simple __python3__ client implementation of https://openexchangerates.org\nweb services.\n\n\nInstall\n-------\n\nopenexchangerates is avaiable on pypi repositories. Just simply install\nby using ``easy_install`` or ``pip``::\n\n # Remove the old one if installed\n $ pip uninstall openexchangerates\n\n # Install the Python3 version\n $ pip install openexchangerates3\n\nUsage\n-----\n\nFirst of all, you have to sign up the service for an API key by visiting\nhttps://openexchangerates.org\n\nThen it is a matter of cake to start using the service::\n\n >>> from openexchangerates import OpenExchangeRatesClient\n >>> client = OpenExchangeRatesClient('')\n >>> client.currencies()\n {'AED': 'United Arab Emirates Dirham',\n 'AFN': 'Afghan Afghani',\n 'ALL': 'Albanian Lek',\n 'AMD': 'Armenian Dram',\n 'ANG': 'Netherlands Antillean Guilder',\n 'AOA': 'Angolan Kwanza',\n 'ARS': 'Argentine Peso',\n 'AUD': 'Australian Dollar',\n ...\n\n >>> client.latest()\n {'base': 'USD',\n 'disclaimer': '',\n 'license': '',\n 'rates': {'AED': 3.672701,\n 'AFN': 51.621833,\n 'ALL': 104.032,\n 'AMD': 406.489997,\n 'ANG': 1.7888,\n 'AOA': 95.936967,\n 'ARS': 4.995484,\n 'AUD': 0.966637,\n ...\n\nYou are also free to select base currency (Supported by non-free licenses)::\n\n >>> client.latest(base='GBP')\n {'base': 'GBP',\n 'disclaimer': '',\n 'license': '',\n 'rates': {'AED': 3.672701,\n 'AFN': 51.621833,\n 'ALL': 104.032,\n 'AMD': 406.489997,\n 'ANG': 1.7888,\n 'AOA': 95.936967,\n 'ARS': 4.995484,\n 'AUD': 0.966637,\n ...\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lihan/openexchangerates3", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "openexchangerates3", "package_url": "https://pypi.org/project/openexchangerates3/", "platform": "", "project_url": "https://pypi.org/project/openexchangerates3/", "project_urls": { "Homepage": "https://github.com/lihan/openexchangerates3" }, "release_url": "https://pypi.org/project/openexchangerates3/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "openexchangerates.org Python3 API client", "version": "0.1.1" }, "last_serial": 4728775, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "4b1233f65aa1ee4bdc27ebff64036519", "sha256": "030c43a0ac4a79f0bbdbf3397f6f8eefba40ae66b111ac6a099357c511384602" }, "downloads": -1, "filename": "openexchangerates3-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4b1233f65aa1ee4bdc27ebff64036519", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4239, "upload_time": "2019-01-23T02:51:01", "url": "https://files.pythonhosted.org/packages/68/88/023009079ef287cdc0e64a3fb95299e81d72b726609d3c5fcf5438bb4c17/openexchangerates3-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b1233f65aa1ee4bdc27ebff64036519", "sha256": "030c43a0ac4a79f0bbdbf3397f6f8eefba40ae66b111ac6a099357c511384602" }, "downloads": -1, "filename": "openexchangerates3-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4b1233f65aa1ee4bdc27ebff64036519", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4239, "upload_time": "2019-01-23T02:51:01", "url": "https://files.pythonhosted.org/packages/68/88/023009079ef287cdc0e64a3fb95299e81d72b726609d3c5fcf5438bb4c17/openexchangerates3-0.1.1.tar.gz" } ] }