{ "info": { "author": "Marian Steinbach", "author_email": "marian@sendung.de", "bugtrack_url": null, "classifiers": [], "description": "Offenes K\u00f6ln is a platform that allows for flexible access\nto the content of the City of Cologne/Germany's city council information system.\n\nFind more information about the platform at http://offeneskoeln.de/.\n\nMore detailed information on the REST API is available at http://offeneskoeln.de/api/.\n\n**Install**\n\n pip install okclient\n\n**Quick start**\n\n import okclient\n oc = okclient.Client()\n\n # Search for documents containing \"Haushalt\"\n result = oc.documents(query=\"haushalt\")\n for doc in result:\n print doc.date, doc.title\n\n # Retrieve the document with identifier \"3323/2008\"\n # including attachments and thumbnails\n result = oc.documents(\"3323/2008\", attachments=True,\n thumbnails=True)\n print result[0].date, result[0].title\n print result[0].attachments[0].url\n print result[0].attachments[0].content\n\n # Find streets surrounding a geo position\n # (reverse geocoding)\n streets = oc.streets(lat=50.959, lon=6.946)\n for street in streets:\n (name, distance) = street\n print \"%s is %d meters away\" % (name, distance)\n\n # Find position of street \"Mittelstra\u00dfe\"\n # (also called geocoding)\n mittelstr = oc.locations(\"Mittelstra\u00dfe\")\n # return quasi-centroid of that street\n print mittelstr.averages[0]\n # print out all nodes of that streets\n for node in mittelstr.nodes:\n print node\n\n**Feedback**\n\nFeel free to give feedback via the Issue tracking at https://github.com/marians/ok-python-client.\n\n**Stay tuned**\n\nStay informed about changes in this client and the API by following our\ncommits on Github (see URL above), reading our Blog and/or following\nthe twitter account.\n\nhttp://blog.offeneskoeln.de/\nhttps://twitter.com/OffenesKoeln", "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/marians/ok-python-client", "keywords": null, "license": "Public Domain", "maintainer": null, "maintainer_email": null, "name": "okclient", "package_url": "https://pypi.org/project/okclient/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/okclient/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/marians/ok-python-client" }, "release_url": "https://pypi.org/project/okclient/0.3/", "requires_dist": null, "requires_python": null, "summary": "Client for the Offenes K\u00f6ln API", "version": "0.3" }, "last_serial": 795697, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "152dc109786a025b638819e551c2e5da", "sha256": "b343b5650d583ffa1c979e73c40bf7d02b2d8d9dca13d38bda9cfca69f2a4c2f" }, "downloads": -1, "filename": "okclient-0.1.tar.gz", "has_sig": false, "md5_digest": "152dc109786a025b638819e551c2e5da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3743, "upload_time": "2013-01-31T13:25:48", "url": "https://files.pythonhosted.org/packages/22/9d/054f9e1da809826041a2a89f1b2f5c2615e9e04931a394726e04d3b02050/okclient-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "801d96d4ec18baa27c19fee9cbd99be1", "sha256": "2a88a4aa608f293b95b560a62eee4320894e32735f630e0a655aa363c5ac5424" }, "downloads": -1, "filename": "okclient-0.2.tar.gz", "has_sig": false, "md5_digest": "801d96d4ec18baa27c19fee9cbd99be1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4879, "upload_time": "2013-02-02T19:11:12", "url": "https://files.pythonhosted.org/packages/ed/dc/c9f3f5618d6a74e7278a6aa1dd63bce5c2a5a05387727634a8ebeea94cb5/okclient-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "af4a98492aa118b77e04d9c5e381a76f", "sha256": "8615fe838cf7b7190fc23a4f8eefb33a4284955662195b6e1095f989a3dae547" }, "downloads": -1, "filename": "okclient-0.3.tar.gz", "has_sig": false, "md5_digest": "af4a98492aa118b77e04d9c5e381a76f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4875, "upload_time": "2013-02-02T19:14:08", "url": "https://files.pythonhosted.org/packages/bb/9f/474abae580cdf8b20dea2597bbe804db93679f8f671f2603add4eb978028/okclient-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af4a98492aa118b77e04d9c5e381a76f", "sha256": "8615fe838cf7b7190fc23a4f8eefb33a4284955662195b6e1095f989a3dae547" }, "downloads": -1, "filename": "okclient-0.3.tar.gz", "has_sig": false, "md5_digest": "af4a98492aa118b77e04d9c5e381a76f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4875, "upload_time": "2013-02-02T19:14:08", "url": "https://files.pythonhosted.org/packages/bb/9f/474abae580cdf8b20dea2597bbe804db93679f8f671f2603add4eb978028/okclient-0.3.tar.gz" } ] }