{ "info": { "author": "Jibebuy, Inc.", "author_email": "support@jibebuy.com.", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Python Jibebuy\n\n**A Python wrapper for the Jibebuy REST API**\n\nAuthor: Jibebuy, Inc. \n\n## Introduction\n\n[Jibebuy](http://www.jibebuy.com) Jibebuy is a free service to make complex shopping decisions more efficient and\nenjoyable. Jibebuy has a [REST web service](http://www.jibebuy.com/api). This library provides a Python friendly\nwrapper for the Jibebuy REST API.\n\n## Installing\n\nInstall the official release from PyPI:\n\n $ pip install python-jibebuy\n\nInstall the latest from github:\n\n $ pip install https://github.com/pjtpj/python-jibebuy/zipball/master\n\n## Getting the code\n\nThe code is hosted at [Github](https://github.com/pjtpj/python-jibebuy).\n\nCheck out the latest development version anonymously with:\n\n```\n $ git clone git://github.com/pjtpj/python-jibebuy.git\n $ cd python-jibebuy\n```\n\n## Building\n\nInstall the dependencies:\n\n- [requests](https://github.com/kennethreitz/requests)\n\nDownload the latest `python-jibebuy` library from: https://github.com/pjtpj/python-jibebuy\n\nExtract the source distribution and run:\n\n```\n$ python setup.py build\n$ python setup.py install\n```\n\n*Testing*\n\nWith setuptools installed:\n\n```\n$ python setup.py test\n```\n\nWithout setuptools installed:\n\n```\n$ python jibebuy_test.py\n```\n\n## Using\n\nThe library provides a Python wrapper around the Jibebuy REST API. To use the Jibebuy REST API, you must already have a\nJibebuy account. Create your free Jibebuy account at http://www.jibebuy.com.\n\nThe best way to learn how to use the Jibebuy REST API is to login to www.jibebuy.com, then change your URL to\nhttp://www.jibebuy.com/api and explore.\n\nThis wrapper relies on the requests library to wrap the Jibebuy REST API. You can read more about requests at\nhttp://docs.python-requests.org/en/latest/.\n\n*API:*\n\nThe API is exposed via the `jibebuy.Api` class. Here is an example of its use:\n\n```\n>>> import jibebuy\n>>> api = jibebuy.Api('http://www.jibebuy.com/', 'username', 'password')\n>>> # Add a new list with post_list (list type 1 is \"Other\")\n>>> new_api_list = { 'list_type': 'http://www.jibebuy.com/api/list-types/1', 'list_type_name': 'Test', 'name': 'Test API List 1', 'description': 'This is a test list'}\n>>> response = api.post_list(new_api_list)\n>>> # New list should be returned as JSON\n>>> list = response.json()\n>>> # Update our new list\n>>> list['description'] = 'This is a test list post'\n>>> response = api.put_list(list)\n>>> list = response.json()\n>>> # Add a choice to our list\n>>> new_api_choice = { 'list': list['url'], 'name': 'Test API Choice 1', 'description': 'This is a test choice'}\n>>> response = api.post_list_choice(new_api_choice)\n>>> choice = response.json()\n>>> # Add a photo to the choice\n>>> new_api_choice_photo = { 'list_choice': choice['url'] }\n>>> response = api.post_list_choice_photo(new_api_choice_photo, open('~/tmp/ebay.png'))\n```\n\n## Todo\n\nPatches and bug reports are [welcome](https://github.com/pjtpj/python-jibebuy/issues/new). Please keep the style consistent with the original source.\n\nAdd example scripts.\n\nAdd more tests.\n\n## Contributors\n\nInitial API wrapper thanks to Ken White\n\n## License\n\n```\nCopyright 2014 Jibebuy, Inc.\n\nLicensed under the Apache License, Version 2.0 (the 'License');\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an 'AS IS' BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n2014-01-06\n\n Version 0.9.0\n Initial public release", "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/pjtpj/python-jibebuy", "keywords": "jibebuy api", "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "python-jibebuy", "package_url": "https://pypi.org/project/python-jibebuy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-jibebuy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pjtpj/python-jibebuy" }, "release_url": "https://pypi.org/project/python-jibebuy/0.9.0/", "requires_dist": null, "requires_python": null, "summary": "A python wrapper for the Jibebuy REST API", "version": "0.9.0" }, "last_serial": 962057, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "3584a5744f90ca705f5374995d4c1130", "sha256": "fa8bdd7890470708bef8857ba5a19da842bed68791b9f087226b361837ca4ee7" }, "downloads": -1, "filename": "python-jibebuy-0.9.0.tar.gz", "has_sig": false, "md5_digest": "3584a5744f90ca705f5374995d4c1130", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9202, "upload_time": "2014-01-06T21:31:01", "url": "https://files.pythonhosted.org/packages/d1/5a/e9687e070408494a1fc6bd2766260081d9be449350b75c96798db195ad81/python-jibebuy-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3584a5744f90ca705f5374995d4c1130", "sha256": "fa8bdd7890470708bef8857ba5a19da842bed68791b9f087226b361837ca4ee7" }, "downloads": -1, "filename": "python-jibebuy-0.9.0.tar.gz", "has_sig": false, "md5_digest": "3584a5744f90ca705f5374995d4c1130", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9202, "upload_time": "2014-01-06T21:31:01", "url": "https://files.pythonhosted.org/packages/d1/5a/e9687e070408494a1fc6bd2766260081d9be449350b75c96798db195ad81/python-jibebuy-0.9.0.tar.gz" } ] }