{ "info": { "author": "Philip Roche", "author_email": "phil.roche@coras.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: ISC License (ISCL)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "===============================\nPython Coras\n===============================\n\nPythonCorasLib\n=================\nThis API SDK was automatically generated by APIMATIC BETA v2.0\n\nDue to the UniRest package dependency this SDK only works under Python 2.7\nIt will not work using Python 3.x\n\nHow To Configure:\n=================\nThe generated code might need to be configured with your API credentials. To do that,\nprovide the credentials and configuration values as constructor parameters for the controllers\n\nHow To Build: \n=============\nThe generated code uses Python libraries named UniRest and Jsonpickle. \n\nPIP is a popular tool for managing python packages[1].\nTo resolve these packages:\n1) From terminal/cmd navigate to the root directory\n2) Invoke 'pip install -r requirements.txt'\n\nNote: You will need internet access to resolve these dependencies.\n\nHow To Use:\n===========\nThe following shows how to make invoke the APIController controller.\nIt is also shown in [2].\n\n 1. Create a \"APIControllerTest.py\" file in the root directory.\n 2. Add the following import statement \n 'from PythonCorasLib.Controllers.APIController import *'\n 3. Create a new instance using 'controller = APIController()'\n 4. Invoke an endpoint with the appropriate parameters, for example\n 'response = controller.getsection_retrieve()'\n 5. \"response\" will now be an object of type SectionSerializer.\n 6. To test the response you get, print out a property of \"response\",\n for example 'print response.url'.\n\n[1] PIP - https://pip.pypa.io\n\n[2] from PythonCorasLib.Controllers.APIController import *\n\n response = controller.getsection_retrieve()\n\n print response.url\n #or you can print more information\n print response.resolve_names()\n\n\nExample usage:\n===========\nfrom CorasLib import APIController\nfrom datetime import datetime\nc = APIController(authorization='Token a7238841b1d4c6170b0919d401cc4fe7f10acdb5')\nnow =str(datetime.utcnow())\n#Create Event\nevent = c.create_event_create(name=\"Phil's Band\", venue=venue.id, start=now, doors=now, announce=now, general_onsale=now)\n#list venues\nfor v in c.get_venue_list(): print v.name\n#list events\nfor e in c.get_event_list(): print e.name\n\n\n\nHistory\n-------\n\n0.0.1 (2015-10-20)\n---------------------\n\n* First release on PyPI.", "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/philroche/python_coras", "keywords": "coras", "license": "ISCL", "maintainer": null, "maintainer_email": null, "name": "coras", "package_url": "https://pypi.org/project/coras/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/coras/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/philroche/python_coras" }, "release_url": "https://pypi.org/project/coras/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Python Coras is a python SDK for the coras.io API.", "version": "0.0.3" }, "last_serial": 1779556, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0533bae0cb01fac23f75b3a51cebe77f", "sha256": "0fe88f03e484f195783822e57374d2598c120a5076ebf9014a154f4c6c79ef64" }, "downloads": -1, "filename": "coras-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "0533bae0cb01fac23f75b3a51cebe77f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 41251, "upload_time": "2015-10-21T08:25:40", "url": "https://files.pythonhosted.org/packages/37/52/6fcd78b3c3eba759978fc5f6681ccf6d8cbf6eca7fa579107f14cd0849b2/coras-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b76ffe9b7aa1a045bae5fc5480530327", "sha256": "a921bd7943aac01d5b5e3ac1da239e2576bdc5c147af85f4e5c69e2b1a61e912" }, "downloads": -1, "filename": "coras-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b76ffe9b7aa1a045bae5fc5480530327", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25932, "upload_time": "2015-10-21T08:25:36", "url": "https://files.pythonhosted.org/packages/f7/54/ffeeabcee941a0cf0f6ad07a3982349f29426a2267ab359bf19d2e42162a/coras-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8a46d151a338f3550f9c5a9554eda4aa", "sha256": "ec286cdfcf88c1520e2b40ee06b2b0686d260022d00c63fdcf224957b11c4562" }, "downloads": -1, "filename": "coras-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "8a46d151a338f3550f9c5a9554eda4aa", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 48283, "upload_time": "2015-10-21T08:44:45", "url": "https://files.pythonhosted.org/packages/92/26/8b74f0b107f32d082f3b54e1190ce4ac6395d70c3bf028538fbd61b36961/coras-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "075d791ecb68c3a03fa6aacb7a3603a1", "sha256": "5b58277aa918fea7ab532470aadee53b23d05436ffaf3606c9389a9d1e1c44ce" }, "downloads": -1, "filename": "coras-0.0.3.tar.gz", "has_sig": false, "md5_digest": "075d791ecb68c3a03fa6aacb7a3603a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28020, "upload_time": "2015-10-21T08:44:39", "url": "https://files.pythonhosted.org/packages/84/66/00d84bd78ca586ab708987a5350218d0144c1f15ffae13e3cb9e261b4ef8/coras-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a46d151a338f3550f9c5a9554eda4aa", "sha256": "ec286cdfcf88c1520e2b40ee06b2b0686d260022d00c63fdcf224957b11c4562" }, "downloads": -1, "filename": "coras-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "8a46d151a338f3550f9c5a9554eda4aa", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 48283, "upload_time": "2015-10-21T08:44:45", "url": "https://files.pythonhosted.org/packages/92/26/8b74f0b107f32d082f3b54e1190ce4ac6395d70c3bf028538fbd61b36961/coras-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "075d791ecb68c3a03fa6aacb7a3603a1", "sha256": "5b58277aa918fea7ab532470aadee53b23d05436ffaf3606c9389a9d1e1c44ce" }, "downloads": -1, "filename": "coras-0.0.3.tar.gz", "has_sig": false, "md5_digest": "075d791ecb68c3a03fa6aacb7a3603a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28020, "upload_time": "2015-10-21T08:44:39", "url": "https://files.pythonhosted.org/packages/84/66/00d84bd78ca586ab708987a5350218d0144c1f15ffae13e3cb9e261b4ef8/coras-0.0.3.tar.gz" } ] }