{ "info": { "author": "Pablo SEMINARIO", "author_email": "pablo@seminar.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "twitter-application-only-auth\r\n=============================\r\n\r\nA simple implementation of the Twitter Application-only authentication\r\nhttps://dev.twitter.com/docs/auth/application-only-auth that offers\r\napplications the ability to issue authenticated requests on behalf of\r\nthe application itself (as opposed to on behalf of a specific user).\r\n\r\nTested with Python 2.6, 2.7, 3.3 and 3.4\r\n\r\n|Build Status| |Coverage Status|\r\n\r\nInstall\r\n-------\r\n\r\n::\r\n\r\n pip install twitter-application-only-auth\r\n\r\nUsage\r\n-----\r\n\r\n.. code:: python\r\n\r\n import json\r\n from application_only_auth import Client\r\n\r\n # The consumer secret is an example and will not work for real requests\r\n # To register an app visit https://dev.twitter.com/apps/new\r\n CONSUMER_KEY = 'xvz1evFS4wEEPTGEFPHBog'\r\n CONSUMER_SECRET = 'L8qq9PZyRg6ieKGEKhZolGC0vJWLw8iEJ88DRdyOg'\r\n\r\n client = Client(CONSUMER_KEY, CONSUMER_SECRET)\r\n\r\n # Pretty print of tweet payload\r\n tweet = client.request('https://api.twitter.com/1.1/statuses/show.json?id=316683059296624640')\r\n print json.dumps(tweet, sort_keys=True, indent=4, separators=(',', ':'))\r\n\r\n # Show rate limit status for this application\r\n status = client.rate_limit_status()\r\n print status['resources']['search']\r\n\r\nReal-World use cases\r\n--------------------\r\n\r\n- `Tweet Dump `__: dump and inspect your tweet\r\n data!\r\n\r\nAuthors and contributors\r\n------------------------\r\n\r\n- `Pablo Seminario `__\r\n- `Rafael Reimberg `__ for the initial\r\n setup.py\r\n- `Chris Hawkins `__ for Python 3.4\r\n support\r\n\r\n.. |Build Status| image:: https://travis-ci.org/pabluk/twitter-application-only-auth.png\r\n :target: https://travis-ci.org/pabluk/twitter-application-only-auth\r\n.. |Coverage Status| image:: https://coveralls.io/repos/pabluk/twitter-application-only-auth/badge.png\r\n :target: https://coveralls.io/r/pabluk/twitter-application-only-auth", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/pabluk/twitter-application-only-auth/archive/0.3.3.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pabluk/twitter-application-only-auth", "keywords": "", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "twitter-application-only-auth", "package_url": "https://pypi.org/project/twitter-application-only-auth/", "platform": "", "project_url": "https://pypi.org/project/twitter-application-only-auth/", "project_urls": { "Download": "https://github.com/pabluk/twitter-application-only-auth/archive/0.3.3.tar.gz", "Homepage": "https://github.com/pabluk/twitter-application-only-auth" }, "release_url": "https://pypi.org/project/twitter-application-only-auth/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "A simple implementation of the Twitter Application-only authentication", "version": "0.3.3" }, "last_serial": 2030008, "releases": { "0.3.1": [], "0.3.2": [ { "comment_text": "", "digests": { "md5": "9c8193d69913f80813db7125cba5251f", "sha256": "21ce32150395a5fe09ddea4f2f0d60c1a6f19894c2db8f79c45c8d71e2a1aeac" }, "downloads": -1, "filename": "twitter-application-only-auth-0.3.2.tar.gz", "has_sig": false, "md5_digest": "9c8193d69913f80813db7125cba5251f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2598, "upload_time": "2016-03-27T16:50:15", "url": "https://files.pythonhosted.org/packages/4f/2e/2520b8fb86f0398acf74c8b2e380ed83894d46fa27c64e26f213d1594cff/twitter-application-only-auth-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "3aa124cceb2968d58ca585acd8202ab1", "sha256": "6ced205bd4716667dfa947018f3cf857ca0277e7f7f4ce0626e0629a1ae4c90b" }, "downloads": -1, "filename": "twitter-application-only-auth-0.3.3.tar.gz", "has_sig": false, "md5_digest": "3aa124cceb2968d58ca585acd8202ab1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2735, "upload_time": "2016-03-27T17:03:22", "url": "https://files.pythonhosted.org/packages/4d/57/af7c3dbb6b7a90d6b268a77b6a88f3f80b70d66463e61e7860e9409fffc1/twitter-application-only-auth-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3aa124cceb2968d58ca585acd8202ab1", "sha256": "6ced205bd4716667dfa947018f3cf857ca0277e7f7f4ce0626e0629a1ae4c90b" }, "downloads": -1, "filename": "twitter-application-only-auth-0.3.3.tar.gz", "has_sig": false, "md5_digest": "3aa124cceb2968d58ca585acd8202ab1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2735, "upload_time": "2016-03-27T17:03:22", "url": "https://files.pythonhosted.org/packages/4d/57/af7c3dbb6b7a90d6b268a77b6a88f3f80b70d66463e61e7860e9409fffc1/twitter-application-only-auth-0.3.3.tar.gz" } ] }