{ "info": { "author": "Adrian Matellanes", "author_email": "matellanesadrian@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "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", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "A Python client for `Fixer.io`_\n===============================\n\n|Build Status| |Coverage Status| |Stories in Ready| |Supports Wheel format|\n|Latest PyPI version| |Number of PyPI downloads| |Documentation Status|\n|Requirements Status|\n\n`Fixer.io`_ is a free JSON API for current and historical foreign\nexchange rates published by the European Central Bank.\n\nThe rates are updated daily around 3PM CET.\n\nInstallation\n------------\n\nInstall ``fixerio`` with:\n\n::\n\n pip install fixerio\n\nOr with:\n\n::\n\n easy_install fixerio\n\nOr you can get the source from GitHub at\nhttps://github.com/amatellanes/fixerio.\n\n\nUsage\n-----\n\nGet the latest foreign exchange reference rates in JSON format.\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio()\n >>> fxrio.latest()\n '''\n {u'base': u'EUR',\n u'date': u'2016-05-27',\n u'rates': {u'AUD': 1.5483,\n u'BGN': 1.9558,\n u'BRL': 4.031,\n u'CAD': 1.456,\n u'CHF': 1.1068,\n u'CNY': 7.3281,\n u'CZK': 27.028,\n u'DKK': 7.4367,\n u'GBP': 0.76245,\n u'HKD': 8.6735,\n u'HRK': 7.4905,\n u'HUF': 314.21,\n u'IDR': 15157.25,\n u'ILS': 4.2938,\n u'INR': 74.867,\n u'JPY': 122.46,\n u'KRW': 1316.98,\n u'MXN': 20.6611,\n u'MYR': 4.5554,\n u'NOK': 9.282,\n u'NZD': 1.6586,\n u'PHP': 52.096,\n u'PLN': 4.3912,\n u'RON': 4.5034,\n u'RUB': 73.7516,\n u'SEK': 9.2673,\n u'SGD': 1.536,\n u'THB': 39.851,\n u'TRY': 3.2928,\n u'USD': 1.1168,\n u'ZAR': 17.4504}}\n '''\n\nGet historical rates for any day since 1999.\n\n.. code:: python\n\n >>> import datetime\n >>> from fixerio import Fixerio\n\n >>> today = datetime.date.today()\n >>> fxrio = Fixerio()\n >>> fxrio.historical_rates(today)\n '''\n {u'base': u'EUR',\n u'date': u'2016-05-27',\n u'rates': {u'AUD': 1.5483,\n u'BGN': 1.9558,\n u'BRL': 4.031,\n u'CAD': 1.456,\n u'CHF': 1.1068,\n u'CNY': 7.3281,\n u'CZK': 27.028,\n u'DKK': 7.4367,\n u'GBP': 0.76245,\n u'HKD': 8.6735,\n u'HRK': 7.4905,\n u'HUF': 314.21,\n u'IDR': 15157.25,\n u'ILS': 4.2938,\n u'INR': 74.867,\n u'JPY': 122.46,\n u'KRW': 1316.98,\n u'MXN': 20.6611,\n u'MYR': 4.5554,\n u'NOK': 9.282,\n u'NZD': 1.6586,\n u'PHP': 52.096,\n u'PLN': 4.3912,\n u'RON': 4.5034,\n u'RUB': 73.7516,\n u'SEK': 9.2673,\n u'SGD': 1.536,\n u'THB': 39.851,\n u'TRY': 3.2928,\n u'USD': 1.1168,\n u'ZAR': 17.4504}}\n '''\n\nRates are quoted against the Euro by default. Quote against a different\ncurrency by setting the ``base`` parameter in your request.\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio(base='USD')\n >>> fxrio.latest()\n '''\n {u'base': u'USD',\n u'date': u'2016-05-27',\n u'rates': {u'AUD': 1.3864,\n u'BGN': 1.7513,\n u'BRL': 3.6094,\n u'CAD': 1.3037,\n u'CHF': 0.99105,\n u'CNY': 6.5617,\n u'CZK': 24.201,\n u'DKK': 6.6589,\n u'EUR': 0.89542,\n u'GBP': 0.68271,\n u'HKD': 7.7664,\n u'HRK': 6.7071,\n u'HUF': 281.35,\n u'IDR': 13572.0,\n u'ILS': 3.8447,\n u'INR': 67.037,\n u'JPY': 109.65,\n u'KRW': 1179.2,\n u'MXN': 18.5,\n u'MYR': 4.079,\n u'NOK': 8.3112,\n u'NZD': 1.4851,\n u'PHP': 46.648,\n u'PLN': 3.9319,\n u'RON': 4.0324,\n u'RUB': 66.038,\n u'SEK': 8.2981,\n u'SGD': 1.3754,\n u'THB': 35.683,\n u'TRY': 2.9484,\n u'ZAR': 15.625}}\n '''\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio()\n >>> fxrio.latest(base='USD')\n '''\n {u'base': u'USD',\n u'date': u'2016-05-27',\n u'rates': {u'AUD': 1.3864,\n u'BGN': 1.7513,\n u'BRL': 3.6094,\n u'CAD': 1.3037,\n u'CHF': 0.99105,\n u'CNY': 6.5617,\n u'CZK': 24.201,\n u'DKK': 6.6589,\n u'EUR': 0.89542,\n u'GBP': 0.68271,\n u'HKD': 7.7664,\n u'HRK': 6.7071,\n u'HUF': 281.35,\n u'IDR': 13572.0,\n u'ILS': 3.8447,\n u'INR': 67.037,\n u'JPY': 109.65,\n u'KRW': 1179.2,\n u'MXN': 18.5,\n u'MYR': 4.079,\n u'NOK': 8.3112,\n u'NZD': 1.4851,\n u'PHP': 46.648,\n u'PLN': 3.9319,\n u'RON': 4.0324,\n u'RUB': 66.038,\n u'SEK': 8.2981,\n u'SGD': 1.3754,\n u'THB': 35.683,\n u'TRY': 2.9484,\n u'ZAR': 15.625}}\n '''\n\nRequest specific exchange rates by setting the ``symbols`` parameter.\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio(symbols=['USD', 'GBP'])\n >>> fxrio.latest()\n '''\n {u'base': u'EUR',\n u'date': u'2016-05-27',\n u'rates': {u'GBP': 0.76245, u'USD': 1.1168}}\n '''\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio()\n >>> fxrio.latest(symbols=['USD', 'GBP'])\n '''\n {u'base': u'EUR',\n u'date': u'2016-05-27',\n u'rates': {u'GBP': 0.76245, u'USD': 1.1168}}\n '''\n\nAn HTTPS endpoint is available.\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio(secure=True)\n >>> fxrio.latest()\n '''\n {u'base': u'EUR',\n u'date': u'2016-05-27',\n u'rates': {u'AUD': 1.5483,\n ...\n '''\n\n.. code:: python\n\n >>> from fixerio import Fixerio\n\n >>> fxrio = Fixerio()\n >>> fxrio.latest(secure=True)\n '''\n {u'base': u'EUR',\n u'date': u'2016-05-27',\n u'rates': {u'AUD': 1.5483,\n ...\n '''\n\nAll exceptions that ``fixerio`` explicitly raises are\n``fixerio.exceptions.FixerioException``.\n\n.. _Fixer.io: http://fixer.io/\n\n.. |Build Status| image:: https://travis-ci.org/amatellanes/fixerio.svg?branch=master\n :target: https://travis-ci.org/amatellanes/fixerio\n.. |Coverage Status| image:: https://coveralls.io/repos/github/amatellanes/fixerio/badge.svg?branch=feature%2Flatest-rates\n :target: https://coveralls.io/github/amatellanes/fixerio?branch=feature%2Flatest-rates\n.. |Stories in Ready| image:: https://badge.waffle.io/amatellanes/fixerio.png?label=ready&title=Ready\n :target: https://waffle.io/amatellanes/fixerio\n.. |Supports Wheel format| image:: https://img.shields.io/pypi/wheel/fixerio.svg\n :target: https://pypi.python.org/pypi/fixerio/\n.. |Latest PyPI version| image:: https://img.shields.io/pypi/v/fixerio.svg\n :target: https://pypi.python.org/pypi/fixerio/\n.. |Number of PyPI downloads| image:: https://img.shields.io/pypi/dm/fixerio.svg\n :target: https://pypi.python.org/pypi/fixerio/\n.. |Documentation Status| image:: https://readthedocs.org/projects/fixerio/badge/?version=latest\n :target: http://fixerio.readthedocs.io/en/latest/?badge=latest\n.. |Requirements Status| image:: https://requires.io/github/amatellanes/fixerio/requirements.svg?branch=develop\n :target: https://requires.io/github/amatellanes/fixerio/requirements/?branch=develop\n\n\n.. :changelog:\n\nRelease History\n---------------\n\n0.1.1 (2016-06-16)\n~~~~~~~~~~~~~~~~~~\n\n- Initial version.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/amatellanes/fixerio", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "fixerio", "package_url": "https://pypi.org/project/fixerio/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fixerio/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/amatellanes/fixerio" }, "release_url": "https://pypi.org/project/fixerio/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A Python client for Fixer.io", "version": "0.1.1" }, "last_serial": 3957013, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "dfdf3704ef01817fa255c2c521114112", "sha256": "c443790a984499df86c2173d660d2db540e53a30cc7bc0858771d9b1aae5fd5d" }, "downloads": -1, "filename": "fixerio-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dfdf3704ef01817fa255c2c521114112", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7162, "upload_time": "2016-06-16T21:48:58", "url": "https://files.pythonhosted.org/packages/1d/3a/abc7461f7e44d97259cd5663abc97e088bb59542c22c948d8ee80de9eb18/fixerio-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb8d6c5e5193068c3990d78dfebaa258", "sha256": "b23ace77bf914474bc4b52c587568a391502831f7112b7335c8dc3b2fcfea67e" }, "downloads": -1, "filename": "fixerio-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fb8d6c5e5193068c3990d78dfebaa258", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16063, "upload_time": "2016-06-16T21:48:53", "url": "https://files.pythonhosted.org/packages/5b/32/1364f87f46545d5f7a7483c52bdb5c0af6e36d736f48255924a5c617341f/fixerio-0.1.1.tar.gz" } ], "1.0.0a0": [ { "comment_text": "", "digests": { "md5": "a89736da8f4c56d1c61001aa749c679d", "sha256": "e6b348c0ce0102766616554860ed957b0af806e4097791f952eb74e7122ed342" }, "downloads": -1, "filename": "fixerio-1.0.0a0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a89736da8f4c56d1c61001aa749c679d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6316, "upload_time": "2018-06-13T09:28:14", "url": "https://files.pythonhosted.org/packages/f4/d4/4e643fe947d7098bb58baa6f7f6e8aa28342d4b81fc9293431d595eec852/fixerio-1.0.0a0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e63ad71f2be5633e3433558e42307e33", "sha256": "eed43e33581de162c264ca0438120b23d5f73762bf04d98158e7ca1d43869292" }, "downloads": -1, "filename": "fixerio-1.0.0a0.tar.gz", "has_sig": false, "md5_digest": "e63ad71f2be5633e3433558e42307e33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15616, "upload_time": "2018-06-13T09:28:12", "url": "https://files.pythonhosted.org/packages/1f/d8/46fab77f1dd48149bc3f4689fd2647757487f4bbd893cefde59ca760bfbc/fixerio-1.0.0a0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dfdf3704ef01817fa255c2c521114112", "sha256": "c443790a984499df86c2173d660d2db540e53a30cc7bc0858771d9b1aae5fd5d" }, "downloads": -1, "filename": "fixerio-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dfdf3704ef01817fa255c2c521114112", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7162, "upload_time": "2016-06-16T21:48:58", "url": "https://files.pythonhosted.org/packages/1d/3a/abc7461f7e44d97259cd5663abc97e088bb59542c22c948d8ee80de9eb18/fixerio-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb8d6c5e5193068c3990d78dfebaa258", "sha256": "b23ace77bf914474bc4b52c587568a391502831f7112b7335c8dc3b2fcfea67e" }, "downloads": -1, "filename": "fixerio-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fb8d6c5e5193068c3990d78dfebaa258", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16063, "upload_time": "2016-06-16T21:48:53", "url": "https://files.pythonhosted.org/packages/5b/32/1364f87f46545d5f7a7483c52bdb5c0af6e36d736f48255924a5c617341f/fixerio-0.1.1.tar.gz" } ] }