{ "info": { "author": "Ingmar Steen", "author_email": "iksteen@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Twisted", "Programming Language :: Python" ], "description": "txgoogleapi\n===========\n\nThis library allows accessing Google Data APIs in an asynchronous fashion\nusing the Twisted application framework.\n\nCurrently, very few APIs are actually implemented but adding APIs should be\nrather trivial.\n\n\nImplemented APIs\n----------------\n\n - Google URL shortener\n - YouTube Data API v3\n - Playlists\n - PlaylistItems\n\n\nRequesters\n----------\n\nGoogle APIs are usually accessed using either OAuth 2.0 authentication or\nby adding an API key to the query string. txgoogleapi provides utility\nclasses for both these scenarios.\n\ntxgoogleapi.unauth_requester - Unauthenticated API access\ntxgoogleapi.api_key_requester - Authentication using an API key\ntxgoogleapi.oauth_requester - Authentication using OAuth 2.0\n\n\nUsage\n-----\n\nfrom twisted.internet import defer\nfrom twisted.internet.task import react\nimport txgoogleapi\n\n\nrequester = txgoogleapi.ApiKeyRequester(YOUR_API_KEY)\ngoogle = txgoogleapi.Google(requester)\n\n\n@defer.inlineCallbacks\ndef main(reactor):\n result = yield google.urlshortener.url.insert(body={\n 'longUrl': 'http://github.com',\n })\n print 'Short url:', result['id']\n\nreact(main)\n\n\nVersion 1.0.0 - Initial release\n - Everything\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "txgoogleapi", "package_url": "https://pypi.org/project/txgoogleapi/", "platform": "", "project_url": "https://pypi.org/project/txgoogleapi/", "project_urls": null, "release_url": "https://pypi.org/project/txgoogleapi/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Google Data APIs for twisted", "version": "0.0.1" }, "last_serial": 2686280, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "92835525239b220c3ab3684add62c001", "sha256": "1efebd5fea77df11fa15b20bb2a076ddea52de44db234305267fd74fed30f2eb" }, "downloads": -1, "filename": "txgoogleapi-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "92835525239b220c3ab3684add62c001", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8101, "upload_time": "2017-03-06T16:42:30", "url": "https://files.pythonhosted.org/packages/bc/90/5b3da53f697a18904ab52f1ae6105b7f7f76c9a52e9878f1d73f9321a2f1/txgoogleapi-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4cb91708dd7ba04cb2f5b033cb856fb3", "sha256": "93622fa47ba58428353f50ae97c01c9614f7db4a5ffa7c7ed2f954f981c0204a" }, "downloads": -1, "filename": "txgoogleapi-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4cb91708dd7ba04cb2f5b033cb856fb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4466, "upload_time": "2017-03-06T16:42:28", "url": "https://files.pythonhosted.org/packages/9e/e7/f4fe437fa1649a29078008dce026c8b85168169a4b5db78aeede3f5a5ba6/txgoogleapi-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92835525239b220c3ab3684add62c001", "sha256": "1efebd5fea77df11fa15b20bb2a076ddea52de44db234305267fd74fed30f2eb" }, "downloads": -1, "filename": "txgoogleapi-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "92835525239b220c3ab3684add62c001", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8101, "upload_time": "2017-03-06T16:42:30", "url": "https://files.pythonhosted.org/packages/bc/90/5b3da53f697a18904ab52f1ae6105b7f7f76c9a52e9878f1d73f9321a2f1/txgoogleapi-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4cb91708dd7ba04cb2f5b033cb856fb3", "sha256": "93622fa47ba58428353f50ae97c01c9614f7db4a5ffa7c7ed2f954f981c0204a" }, "downloads": -1, "filename": "txgoogleapi-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4cb91708dd7ba04cb2f5b033cb856fb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4466, "upload_time": "2017-03-06T16:42:28", "url": "https://files.pythonhosted.org/packages/9e/e7/f4fe437fa1649a29078008dce026c8b85168169a4b5db78aeede3f5a5ba6/txgoogleapi-0.0.1.tar.gz" } ] }