{ "info": { "author": "Ardy Dedase", "author_email": "ardy.dedase@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "=================================\nAPI Wrapper\n=================================\n\n.. image:: https://api.travis-ci.org/ardydedase/apiwrapper.svg\n :target: https://travis-ci.org/ardydedase/apiwrapper\n\n.. image:: https://img.shields.io/pypi/v/apiwrapper.svg\n :target: https://pypi.python.org/pypi/apiwrapper\n\n.. image:: https://readthedocs.org/projects/apiwrapper/badge/?version=latest\n :target: https://readthedocs.org/projects/apiwrapper/?badge=latest\n :alt: Documentation Status\n\nSimple API Wrapper\n\n* Free software: BSD license\n* Documentation: https://apiwrapper.readthedocs.org.\n\nOverview\n--------\n\nRecently noticed a pattern and repeated pieces of code in Python API wrappers for simple requests and polling. A separate Python package will minimize code duplication and encourage de-coupling of logic from the API request functions.\n\nInstallation\n------------\n\nAt the command line::\n\n $ easy_install apiwrapper\n\nOr, if you have virtualenvwrapper installed::\n\n $ mkvirtualenv apiwrapper\n $ pip install apiwrapper\n\nGetting started with a simple request\n-------------------------------------\n\n.. code:: python\n\n # as a helper class\n from apiwrapper import APIWrapper\n\n my_api = APIWrapper()\n url = 'https://api.github.com/users/ardydedase/repos'\n resp = my_api.make_request(url=url)\n print(resp)\n\n # as a parent class\n class GithubAPI(APIWrapper):\n def get_repos(self, username):\n \"\"\"\n Uses `make_request` method \n \"\"\"\n url = \"https://api.github.com/users/{username}/repos\".format(username=username)\n return self.make_request(url, method='get', headers=None, data=None, callback=None)\n\nMore features including polling\n-------------------------------\n\nRead the docs: https://apiwrapper.readthedocs.org/en/latest/usage.html\n\nOr use `apiwrapper/apiwrapper.py` as a reference. Implementation is straightforward.\n\n\n\n\nHistory\n-------\n\n0.1.0 (2015-01-11)\n---------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ardydedase/apiwrapper", "keywords": "apiwrapper", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "apiwrapper", "package_url": "https://pypi.org/project/apiwrapper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/apiwrapper/", "project_urls": { "Homepage": "https://github.com/ardydedase/apiwrapper" }, "release_url": "https://pypi.org/project/apiwrapper/0.1.8/", "requires_dist": [ "requests" ], "requires_python": null, "summary": "Simple API Wrapper", "version": "0.1.8" }, "last_serial": 2629971, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2006fd5455b59bcb50f540607ef167fb", "sha256": "de4f3a18f6080803b615b75c938d660d68d14aba5876c9ddd57a2aa7bc1315bc" }, "downloads": -1, "filename": "apiwrapper-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2006fd5455b59bcb50f540607ef167fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4646, "upload_time": "2015-09-03T07:40:33", "url": "https://files.pythonhosted.org/packages/cd/75/d150d89f71e1a6744476e111d5b1841634334420c0064024d3f458b749fe/apiwrapper-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d71d0eeab8988125a8b35d13ca362e9c", "sha256": "0f2aef33efb1f9a893c63ec60b2fbf399ed020a6ec9dd1fec8df490787e88fbc" }, "downloads": -1, "filename": "apiwrapper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d71d0eeab8988125a8b35d13ca362e9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12867, "upload_time": "2015-09-03T07:40:39", "url": "https://files.pythonhosted.org/packages/bc/a2/121cb7457cc890b00fae8dff02520ca0d44c1c4f5499510a690f8a13fc5e/apiwrapper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ecf2ce6653365bc101bcb405533439f3", "sha256": "9a0fdccecd07f12adb7b97b10fab2cc9c7f7729ac3d548c84a144fb54b01878c" }, "downloads": -1, "filename": "apiwrapper-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecf2ce6653365bc101bcb405533439f3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4692, "upload_time": "2015-09-04T02:05:29", "url": "https://files.pythonhosted.org/packages/c6/0f/85a5203a4bfe82f64757a97332f840fde15db47642eb09b2994aebdf6b9e/apiwrapper-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c38bcc0e8a057228051ce4137ddce33", "sha256": "e089ae006538b349d09c0055c0d3a35acdfe84d4ebefda7b6edc09dd818e7b14" }, "downloads": -1, "filename": "apiwrapper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8c38bcc0e8a057228051ce4137ddce33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12917, "upload_time": "2015-09-04T02:05:42", "url": "https://files.pythonhosted.org/packages/03/26/e8e1bda1d6689c99a80cf32da6de536d06772321417029b0c7676217c7c5/apiwrapper-0.1.1.tar.gz" } ], "0.1.2": [], "0.1.3": [ { "comment_text": "", "digests": { "md5": "86dcb899380805b33d2198bcd7ee0dc3", "sha256": "78d750cf6466aff2e77e26b086f2206b347591d396e3582a2088f7e7bfb9cc5c" }, "downloads": -1, "filename": "apiwrapper-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "86dcb899380805b33d2198bcd7ee0dc3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5652, "upload_time": "2015-09-09T13:07:28", "url": "https://files.pythonhosted.org/packages/3a/d3/f633cac965e8c4738417c761d604a6e4dc5ed0fe20ffc8619d30b7348a55/apiwrapper-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1683d9893387f99d56d37ff085019e29", "sha256": "962f72da959d01f0fc20bcf3e6c0e5b61721abf9a67492c04d17f0049e1d6186" }, "downloads": -1, "filename": "apiwrapper-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1683d9893387f99d56d37ff085019e29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13790, "upload_time": "2015-09-09T13:07:36", "url": "https://files.pythonhosted.org/packages/61/31/d0b38718d0ade482dfe965d7dfb477beea3a1259a1f03967b47c4b1d1309/apiwrapper-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9aca222d8bd19275ed849b9e4a66d67c", "sha256": "173de0ee01a85a2d9974a9fb87f593e18eef6305ec3ce007157c0fc345ce6ce8" }, "downloads": -1, "filename": "apiwrapper-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9aca222d8bd19275ed849b9e4a66d67c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7018, "upload_time": "2015-09-10T13:57:53", "url": "https://files.pythonhosted.org/packages/2a/ce/4267ab2f99a226bb1a508bdf292eab6d277afb2a48c513ae8ca4461066c8/apiwrapper-0.1.4-py2.py3-none-any.whl" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "a57f8b967b23f62c85b0744e6cce31b8", "sha256": "1322e4d9a246966b9f4361e52fd79ba47efcd11e1aa9fd0baae6e9d1d4528627" }, "downloads": -1, "filename": "apiwrapper-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a57f8b967b23f62c85b0744e6cce31b8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6859, "upload_time": "2015-09-11T09:20:37", "url": "https://files.pythonhosted.org/packages/bf/d0/fad665e2db01bb261a242f097325d6302847e3b185dcbfb55b29653fe9c8/apiwrapper-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5c6f4d5afd3fba60db21f8e10ee255b", "sha256": "46ad1588757baef11e575ddd2173b90d676a7a9446403245374f2b035b407f0e" }, "downloads": -1, "filename": "apiwrapper-0.1.5.tar.gz", "has_sig": false, "md5_digest": "c5c6f4d5afd3fba60db21f8e10ee255b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14952, "upload_time": "2015-09-11T09:20:45", "url": "https://files.pythonhosted.org/packages/79/25/4d7bd12178db6f5a49b757317317866612856faf8d9619af45e6d8bc0903/apiwrapper-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "c2af519c29a337f943a0a4aeb225231a", "sha256": "e1adf1d2675ce401ffc684ea435b5e93389639ef4a3b8fef0db77b3947ef0f7d" }, "downloads": -1, "filename": "apiwrapper-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2af519c29a337f943a0a4aeb225231a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6890, "upload_time": "2015-09-14T09:39:19", "url": "https://files.pythonhosted.org/packages/e2/07/977719aff3143b544ee2a0f2f0adb103b8ba4cca03c6d28df680493fb220/apiwrapper-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "663602149bb83dc13827c069cf8c6a34", "sha256": "0c6eae3b869b1a3073c062621084105e4bd110709177673690743b6314f1584b" }, "downloads": -1, "filename": "apiwrapper-0.1.6.tar.gz", "has_sig": false, "md5_digest": "663602149bb83dc13827c069cf8c6a34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15401, "upload_time": "2015-09-14T09:39:25", "url": "https://files.pythonhosted.org/packages/e8/a9/0af086a63d816345934b52d50467b64d23d8389b1e5bb7ab44eee91d6c1e/apiwrapper-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "cdf87852bfb280641ee97fe214a10980", "sha256": "efcea3c23d49eaef60277a5cade45d779a37b836eff02dca6a9804e684f1604b" }, "downloads": -1, "filename": "apiwrapper-0.1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cdf87852bfb280641ee97fe214a10980", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6932, "upload_time": "2015-09-24T10:54:30", "url": "https://files.pythonhosted.org/packages/99/95/1e3d58f435e9da3ccbaafc2e944cfcb862883bc2ff5fb02cc98c271f3a84/apiwrapper-0.1.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8348ecfc67e4188b7efc5986c89a57b", "sha256": "e31b20620be23be7c49d66abea8184cb71c5da9ee9c56f6e59e300d7153a42e5" }, "downloads": -1, "filename": "apiwrapper-0.1.7.tar.gz", "has_sig": false, "md5_digest": "b8348ecfc67e4188b7efc5986c89a57b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17117, "upload_time": "2015-09-24T10:54:37", "url": "https://files.pythonhosted.org/packages/e4/c7/da54b6b7f03e8bca17f3c95d2956db2df6e33164479380746c500a9bf0ad/apiwrapper-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "d3bf4b5e8dc7fef93a79641815d2b574", "sha256": "639adcbacc7cc561af7c4c68a9068a34d11de969d0ed8d7548efeccaf085208a" }, "downloads": -1, "filename": "apiwrapper-0.1.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d3bf4b5e8dc7fef93a79641815d2b574", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7240, "upload_time": "2017-02-09T06:46:56", "url": "https://files.pythonhosted.org/packages/bf/25/55bbbdd534d96f66fe038121bbe7d77db846a1fe37229d383438e19fdee2/apiwrapper-0.1.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6580989d554bb235446ac129c0dc00eb", "sha256": "3f71080ce6b048d6df54930894d82472bb7a4a4c86b1f22a3f3e3335f147be61" }, "downloads": -1, "filename": "apiwrapper-0.1.8.tar.gz", "has_sig": false, "md5_digest": "6580989d554bb235446ac129c0dc00eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17967, "upload_time": "2017-02-09T06:47:01", "url": "https://files.pythonhosted.org/packages/12/66/9ed4b8fedaf84b7eb746c88ac698cf888bbb2785e4e845fd8cded3554bf2/apiwrapper-0.1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3bf4b5e8dc7fef93a79641815d2b574", "sha256": "639adcbacc7cc561af7c4c68a9068a34d11de969d0ed8d7548efeccaf085208a" }, "downloads": -1, "filename": "apiwrapper-0.1.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d3bf4b5e8dc7fef93a79641815d2b574", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7240, "upload_time": "2017-02-09T06:46:56", "url": "https://files.pythonhosted.org/packages/bf/25/55bbbdd534d96f66fe038121bbe7d77db846a1fe37229d383438e19fdee2/apiwrapper-0.1.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6580989d554bb235446ac129c0dc00eb", "sha256": "3f71080ce6b048d6df54930894d82472bb7a4a4c86b1f22a3f3e3335f147be61" }, "downloads": -1, "filename": "apiwrapper-0.1.8.tar.gz", "has_sig": false, "md5_digest": "6580989d554bb235446ac129c0dc00eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17967, "upload_time": "2017-02-09T06:47:01", "url": "https://files.pythonhosted.org/packages/12/66/9ed4b8fedaf84b7eb746c88ac698cf888bbb2785e4e845fd8cded3554bf2/apiwrapper-0.1.8.tar.gz" } ] }