{ "info": { "author": "Vincent Pizzo", "author_email": "vincent.pizzo@singlewire.com", "bugtrack_url": null, "classifiers": [], "description": "InformaCast Mobile REST Python Client\n=====================================\n\nA simple, easy to use REST client based on `requests`_ and `Hammock`_\n\nInstallation\n------------\n\nInstallation should be straight forward with pip:\n\n.. code:: shell\n\n pip install icm-python-client\n\nUsage\n-----\n\nImport the client:\n\n.. code:: python\n\n from icm_python_client.icm_client import ICMClient\n\nCreate an instance of the client (`session`_ kwargs may also be\nprovided):\n\n.. code:: python\n\n icm_client = ICMClient.create('')\n\nHave fun!\n\n.. code:: python\n\n # Get first page of users\n icm_client.users().GET().json()\n\n # Paginate through all users\n for user in icm_client.users().LIST():\n print user\n \n # Search for a user named Jim\n icm_client.users().GET(params={'limit': 10, 'q': 'Jim'}).json()\n\n # Get a specific user\n icm_client.users('de7b51a0-5a1e-11e4-ab31-8a1d033dd637').GET().json()\n\n # Get a specific user's devices\n icm_client.users('de7b51a0-5a1e-11e4-ab31-8a1d033dd637').devices().GET().json()\n\n # Create a user\n user = icm_client.users().POST(params={'name': 'Jim Bob', 'email': 'jim.bob@aol.com'}).json()\n\n # Update the created user\n icm_client.users(user['id']).PUT(params={'name': 'Jim Bob The Second'}).json()\n\n # Delete the updated user\n icm_client.users(user['id']).DELETE().json()\n\nLicense\n-------\n\nCopyright 2015 Singlewire LLC\n\nLicensed under the Apache License, Version 2.0 (the \u201cLicense\u201d); you may\nnot use this file except in compliance with the License. You may obtain\na copy of the License at\n\nhttp://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 \u201cAS IS\u201d 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.. _requests: https://github.com/kennethreitz/requests\n.. _Hammock: https://github.com/kadirpekel/hammock\n.. _session: http://docs.python-requests.org/en/latest/user/advanced/#session-objects", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/singlewire/icm-python-client/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/singlewire/icm-python-client", "keywords": "InformaCast,Mobile,REST,API", "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "icm-python-client", "package_url": "https://pypi.org/project/icm-python-client/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/icm-python-client/", "project_urls": { "Download": "https://github.com/singlewire/icm-python-client/tarball/0.1", "Homepage": "https://github.com/singlewire/icm-python-client" }, "release_url": "https://pypi.org/project/icm-python-client/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "A simple python client for InformaCast Mobile based on requests and Hammock", "version": "0.0.3" }, "last_serial": 1506514, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eb69f54fbeb3e7c460ebc3ed1bb9d84a", "sha256": "636d8c16a7c27ded333a141487c1befeb91de12d5a0f73acbcebfdbcb0c2aa52" }, "downloads": -1, "filename": "icm-python-client-0.0.1.tar.gz", "has_sig": false, "md5_digest": "eb69f54fbeb3e7c460ebc3ed1bb9d84a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1687, "upload_time": "2015-04-14T22:38:10", "url": "https://files.pythonhosted.org/packages/5c/8e/4099e40d6b7a1333e6a4a7213dcfaa0878e884a97dab1c7b2e35bd1ca5a7/icm-python-client-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "52e5ab6930581520e98ce6d0883b00c8", "sha256": "a94eafe7d7fad7c1b0a970495c6111f840e33f068120bc4f3c62463b3e5e0516" }, "downloads": -1, "filename": "icm-python-client-0.0.2.tar.gz", "has_sig": false, "md5_digest": "52e5ab6930581520e98ce6d0883b00c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2887, "upload_time": "2015-04-15T15:01:46", "url": "https://files.pythonhosted.org/packages/a0/95/c8d8b392dbf0114a7e33f0ecb64b8dc433eaa361bc80128fa64b59d0a636/icm-python-client-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9680d38a64a6748ed7cd14f789d139f1", "sha256": "5a5a44695eb0cb15580cc3a3cba1d5b848037844817632d1d4966a1c1fdd4eec" }, "downloads": -1, "filename": "icm-python-client-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9680d38a64a6748ed7cd14f789d139f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4594, "upload_time": "2015-04-15T15:14:16", "url": "https://files.pythonhosted.org/packages/f1/41/ce9629401be9989c332ca47cb12cb7a6b9c4381904c34fb146eae3d18b1e/icm-python-client-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9680d38a64a6748ed7cd14f789d139f1", "sha256": "5a5a44695eb0cb15580cc3a3cba1d5b848037844817632d1d4966a1c1fdd4eec" }, "downloads": -1, "filename": "icm-python-client-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9680d38a64a6748ed7cd14f789d139f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4594, "upload_time": "2015-04-15T15:14:16", "url": "https://files.pythonhosted.org/packages/f1/41/ce9629401be9989c332ca47cb12cb7a6b9c4381904c34fb146eae3d18b1e/icm-python-client-0.0.3.tar.gz" } ] }