{ "info": { "author": "GetMyBoat, LLC", "author_email": "alex@getmyboat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "BOXR\n====\n\nBOXR is a Better Open Exchange Rate client -- at least better than I was\nable to find because this one is maintained.\n\nInstall\n-------\n\n::\n\n $ pip install boxr\n\nUsage\n-----\n\nBoxr maps 1:1 with the OXR api documented here:\nhttps://docs.openexchangerates.org/docs/. This means\nhttps://openexchangerates.org/api/latest.json maps to ``boxr.latest()``,\nand https://openexchangerates.org/api/historical/:date.json maps to\n``boxr.historical(date)``.\n\nIn short\n\n- Routes map to function names, e.g. ``/latest.json`` -> ``latest()``\n- Path params map to function arguments, e.g.\n ``/historical/:date.json`` -> ``historical(date)``\n- Query params map to keyword arguments, e.g.\n ``/time-series.json?start=2017-01-01&end=2017-01-05`` ->\n ``time_series(start=\"2017-01-01\", end='2017-01-05')``\n\nAlso note that all endpoints return ``requests`` `response\nobjects `__,\nso things like validation of request or formatting the response can be\ndone by interacting with the response object.\n\nExample usage\n-------------\n\n.. code:: py\n\n from boxr import Boxr\n\n boxr = Boxr(app_id='your_app_id')\n\n # All calls return a `requests` Response object\n latest = boxr.latest()\n\n # And thus we get the json\n result = latest.json()\n\nContributing\n------------\n\nI would like this package to always be up to date with the OXR http API.\nIf this is someday not the case please open a Pull Request or open an\nissue about the noncompliance.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/getmyboat/boxr", "keywords": "foreign exchange rates", "license": "", "maintainer": "", "maintainer_email": "", "name": "boxr", "package_url": "https://pypi.org/project/boxr/", "platform": "", "project_url": "https://pypi.org/project/boxr/", "project_urls": { "Homepage": "https://github.com/getmyboat/boxr" }, "release_url": "https://pypi.org/project/boxr/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "An Open Exchange Rate Client", "version": "1.0.1" }, "last_serial": 3546426, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "0619a0ce0a291046d605b6edf9b648ab", "sha256": "6934989b35d1103ae3756fae1640dcd85d25afedca58523a99b59b65bbbfe97e" }, "downloads": -1, "filename": "boxr-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0619a0ce0a291046d605b6edf9b648ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3273, "upload_time": "2018-02-02T17:48:07", "url": "https://files.pythonhosted.org/packages/e3/20/ededa82afac011965fe1b11815ff11dd8fecd1081c57dcd31e22c48c33a2/boxr-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0619a0ce0a291046d605b6edf9b648ab", "sha256": "6934989b35d1103ae3756fae1640dcd85d25afedca58523a99b59b65bbbfe97e" }, "downloads": -1, "filename": "boxr-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0619a0ce0a291046d605b6edf9b648ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3273, "upload_time": "2018-02-02T17:48:07", "url": "https://files.pythonhosted.org/packages/e3/20/ededa82afac011965fe1b11815ff11dd8fecd1081c57dcd31e22c48c33a2/boxr-1.0.1.tar.gz" } ] }