{ "info": { "author": "Philippe Muller", "author_email": "philippe.muller@cfm.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Tastypie-client is a client API for `Django `_-`Tastypie `_ `REST `_ services.\n\nQuick start\n-----------\n\nThese examples work on the `tastypie_tutorial `_ Django project.\n\nCreate an ``Api`` object ::\n\n >>> from tastypie_client import Api\n >>> api = Api('http://127.0.0.1:8000/api/1/')\n >>> api\n \n\nFinds an user by its ID ::\n\n >>> api.user\n \n >>> user = api.user(1)\n >>> user\n \n >>> user.username\n u'test_user'\n\nLook at its posts ::\n\n >>> user.posts\n [u'/api/1/entry/1/', u'/api/1/entry/2/']\n\nGet the first one ::\n\n >>> user.posts[0]\n Resource entry/1: {u'body': u'foo body', u'title': u'foo!', u'id': u'1', u'user': , u'pub_date': u'2012-04-29T08:55:08', u'slug': u'foo'}>\n\nAlternatively, you load both of them with an unique HTTP request ::\n\n >>> user.posts[:]\n [, u'pub_date': u'2012-04-29T08:55:08', u'slug': u'foo'}>,\n , u'pub_date': u'2012-04-29T08:55:21', u'slug': u'bar'}>]", "description_content_type": null, "docs_url": "https://pythonhosted.org/tastypie-client/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "tastypie rest django requests", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "tastypie-client", "package_url": "https://pypi.org/project/tastypie-client/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tastypie-client/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/tastypie-client/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Client for Django-Tastypie based REST services", "version": "0.1.0" }, "last_serial": 800375, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6c4d75d94c22bfa8df02e68d52daf3c0", "sha256": "370f8b178d01e6134bebbc9abc577e3d629bb5b21322538cd9f27c23ea4b0b5c" }, "downloads": -1, "filename": "tastypie-client-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6c4d75d94c22bfa8df02e68d52daf3c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8884, "upload_time": "2012-04-29T18:07:09", "url": "https://files.pythonhosted.org/packages/17/7e/bb6f2ab30a51beff78d61fe5fe03697e72f9d809ea15b65247bf6d84ecbe/tastypie-client-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c4d75d94c22bfa8df02e68d52daf3c0", "sha256": "370f8b178d01e6134bebbc9abc577e3d629bb5b21322538cd9f27c23ea4b0b5c" }, "downloads": -1, "filename": "tastypie-client-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6c4d75d94c22bfa8df02e68d52daf3c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8884, "upload_time": "2012-04-29T18:07:09", "url": "https://files.pythonhosted.org/packages/17/7e/bb6f2ab30a51beff78d61fe5fe03697e72f9d809ea15b65247bf6d84ecbe/tastypie-client-0.1.0.tar.gz" } ] }