{ "info": { "author": "Dave Wingate", "author_email": "davewingate+restforce@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Topic :: Internet :: WWW/HTTP" ], "description": "Usage\n=====\n\nRest Force offers a python API for easily working with RESTful resources exposed\nby the `force.com platform `_. \nTypical usage often looks like this::\n\n #!/usr/bin/python\n\n from restforce.login import SalesforceAuthenticationFailedException\n from restforce.rest import Resources, RestInvocationException\n\n try:\n r = Resources()\n print r.post('hello', '{ \"postData\" : \"world\"}')\n print r.get('hello/1')\n print r.delete('hello/1')\n except SalesforceAuthenticationFailedException as e:\n print e\n except RestInvocationException as e:\n print e\n\nSalesforce REST Example\n=======================\n\n`Creating a REST resource `_ on the force.com platform is easy. Here's an example:::\n\n @RestResource(urlMapping='/hello/*')\n global class HelloResource {\n\n @HttpGet\n global static String doGet() \n {\n return 'Hello, world!';\n }\n\n @HttpDelete\n global static String doDelete() \n {\n return 'Good bye, cruel world!';\n }\n\n }", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/RestForce/", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "RestForce", "package_url": "https://pypi.org/project/RestForce/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/RestForce/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/RestForce/" }, "release_url": "https://pypi.org/project/RestForce/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "A python API for accessing RESTful resources on the force.com platform.", "version": "1.0.0" }, "last_serial": 832611, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a066442b97d0c0805c36f8be04f6b15b", "sha256": "98d901206fa8016f8c7990c4e63e882fee7d57404e415993eff945f712394ddd" }, "downloads": -1, "filename": "RestForce-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a066442b97d0c0805c36f8be04f6b15b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5353, "upload_time": "2012-04-10T04:24:45", "url": "https://files.pythonhosted.org/packages/f9/8c/ecb016a83eefea695098209c3574e14d6ad82520f5e6356d63e4a8599c7f/RestForce-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a066442b97d0c0805c36f8be04f6b15b", "sha256": "98d901206fa8016f8c7990c4e63e882fee7d57404e415993eff945f712394ddd" }, "downloads": -1, "filename": "RestForce-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a066442b97d0c0805c36f8be04f6b15b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5353, "upload_time": "2012-04-10T04:24:45", "url": "https://files.pythonhosted.org/packages/f9/8c/ecb016a83eefea695098209c3574e14d6ad82520f5e6356d63e4a8599c7f/RestForce-1.0.0.tar.gz" } ] }