{ "info": { "author": "ramusus", "author_email": "ramusus@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Django Twitter API\n\n[![Build Status](https://travis-ci.org/ramusus/django-twitter-api.png?branch=master)](https://travis-ci.org/ramusus/django-twitter-api) [![Coverage Status](https://coveralls.io/repos/ramusus/django-twitter-api/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-twitter-api)\n\nApplication for interacting with Twitter API objects using Django model interface\n\n## Installation\n\n pip install django-twitter-api\n\nAdd into `settings.py` lines:\n\n INSTALLED_APPS = (\n ...\n 'oauth_tokens',\n 'm2m_history',\n 'taggit',\n 'twitter_api',\n )\n\n # oauth-tokens settings\n OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens\n OAUTH_TOKENS_TWITTER_CLIENT_ID = '' # application ID\n OAUTH_TOKENS_TWITTER_CLIENT_SECRET = '' # application secret key\n OAUTH_TOKENS_TWITTER_USERNAME = '' # user login\n OAUTH_TOKENS_TWITTER_PASSWORD = '' # user password\n\n## Usage examples\n\n### Simple API request\n\n >>> from twitter_api.utils import api\n >>> response = api('get_status', 327926550815207424)\n >>> response.text\n '@mrshoranweyhey Thanks for the love! How about a follow for a follow? :) ^LF'\n >>> response.source_url\n 'http://www.exacttarget.com/social'\n >>> response = api('get_user', 'BarackObama')\n >>> response.id, response.name\n (813286, 'Barack Obama')\n\n### Fetch status by ID\n\n >>> from twitter_api.models import Status\n >>> status = Status.remote.fetch(327926550815207424)\n >>> status\n \n >>> status.in_reply_to_status\n \n\n### Fetch user by ID and user name\n\n >>> from twitter_api.models import User\n >>> User.remote.fetch(813286)\n \n >>> User.remote.fetch('BarackObama')\n \n\n### Fetch statuses of user\n\n >>> from models import User\n >>> user = User.remote.fetch(813286)\n >>> user.fetch_statuses(count=30)\n [,\n ,\n ,\n ...]\n\n### Fetch followers of user\n\n >>> from twitter_api.models import User\n >>> user = User.remote.fetch(813286)\n >>> user.fetch_followers(all=True)\n [, , , '...(remaining elements truncated)...']\n\n### Fetch retweets of status\n\n >>> from twitter_api.models import Status\n >>> status = Status.remote.fetch(329231054282055680)\n >>> status.fetch_retweets()\n [,\n ,\n ,\n ...]\n\n### Fetch replies of status\n\n >>> from twitter_api.models import Status\n >>> status = Status.remote.fetch(536859483851735040)\n >>> status.fetch_replies()\n [,\n ,\n ,\n ...]\n >>> status.replies_count\n 6", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/django-twitter-api", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ramusus/django-twitter-api", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-twitter-api", "package_url": "https://pypi.org/project/django-twitter-api/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-twitter-api/", "project_urls": { "Download": "http://pypi.python.org/pypi/django-twitter-api", "Homepage": "https://github.com/ramusus/django-twitter-api" }, "release_url": "https://pypi.org/project/django-twitter-api/0.2.10/", "requires_dist": null, "requires_python": null, "summary": "Django implementation for Twitter API", "version": "0.2.10" }, "last_serial": 1978534, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a5759d96327ca5bd017112c70a80efa1", "sha256": "807fc2a69d29a5461b6ba93262f5a07cffa7529f2558b4448d67a99ea9a00c42" }, "downloads": -1, "filename": "django-twitter-api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a5759d96327ca5bd017112c70a80efa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27986, "upload_time": "2013-05-06T13:07:40", "url": "https://files.pythonhosted.org/packages/81/d3/ec8ff4e8bfc571b3ae6c8d650362c30db265fac990ffb68324d03b7a1f70/django-twitter-api-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1aa771450e03bc0e1bb391b20b0bd92a", "sha256": "72b378e99f0a08fef34f3323d97421afd9eeb565d658320b1307b0aed8dbadf7" }, "downloads": -1, "filename": "django-twitter-api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1aa771450e03bc0e1bb391b20b0bd92a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29432, "upload_time": "2013-05-10T11:47:33", "url": "https://files.pythonhosted.org/packages/90/b7/1e632a02e9082432dda18de4f855732e251195693f9845bc37c4713de3a4/django-twitter-api-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "273f5305de5945a783fe5fcdfeaadf81", "sha256": "c22fa8b04210974241684b0827bdf128bebcf8b31c874071fe1ebb3e7fa32b05" }, "downloads": -1, "filename": "django-twitter-api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "273f5305de5945a783fe5fcdfeaadf81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29514, "upload_time": "2013-05-14T17:24:28", "url": "https://files.pythonhosted.org/packages/13/8c/840265a9f0f940b70ec226cf2436652c9fb7fafddd4720474f0fb96fc60f/django-twitter-api-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2983edc8393353135b40ca3e139e8568", "sha256": "fed6bbca7baa2955a542e0af23e77ab06b1fbb70324536e8cba01125e0fc8a8a" }, "downloads": -1, "filename": "django-twitter-api-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2983edc8393353135b40ca3e139e8568", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30934, "upload_time": "2014-01-07T08:49:15", "url": "https://files.pythonhosted.org/packages/28/9a/f74d79b31bc5f3992e4d2e73b3299f8f530094a82bbf3b58dedf8e313a9b/django-twitter-api-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "d1fb450e357ad74648b30ef61183c9da", "sha256": "b438cd2f1b704a455585883890601c2e0140fb560c968ef301cc2ef4caf16c3c" }, "downloads": -1, "filename": "django-twitter-api-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d1fb450e357ad74648b30ef61183c9da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30958, "upload_time": "2014-02-07T05:31:53", "url": "https://files.pythonhosted.org/packages/63/d6/c76361896eff2d970a05f7432a283d03fd8a63b1ac6aaf94918633a2b91b/django-twitter-api-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "6ccad24861e327ca63e437ecf92a4506", "sha256": "b1444dbf55cda449f08224dba088dcf6fef6415f2a7bcbe2a283b1828a567007" }, "downloads": -1, "filename": "django-twitter-api-0.1.5.tar.gz", "has_sig": false, "md5_digest": "6ccad24861e327ca63e437ecf92a4506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32441, "upload_time": "2014-11-30T15:08:54", "url": "https://files.pythonhosted.org/packages/1b/0f/bc5187d1da6a55a6e754414a6b6e3751d44ab640a2d7fae7dd92142b85b7/django-twitter-api-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "1747c451f182197a2662fbc42b2237bd", "sha256": "c196af5e3af5c1053dddf02ce046222533133c1a9eabc3cd1e3bf1c6da574810" }, "downloads": -1, "filename": "django-twitter-api-0.1.6.tar.gz", "has_sig": false, "md5_digest": "1747c451f182197a2662fbc42b2237bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33675, "upload_time": "2014-11-30T18:31:51", "url": "https://files.pythonhosted.org/packages/e6/d2/7b9c1ef090fb086dc2a37e8adfd94ca916fd11d629b4d674427fd0b6a2e2/django-twitter-api-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "8cc7e266edec66973dda9874166ea15c", "sha256": "2ebde86f9a21bd521eba640e00455f393e511cd161787d4c4a073bbc326869a5" }, "downloads": -1, "filename": "django-twitter-api-0.1.7.tar.gz", "has_sig": false, "md5_digest": "8cc7e266edec66973dda9874166ea15c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33695, "upload_time": "2014-12-08T17:19:12", "url": "https://files.pythonhosted.org/packages/8f/44/a823b8691b55090fd3ae127c59ceb3b9e16e8da042b5f599dfe12b92778d/django-twitter-api-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "fcf8f65e4d765173fea9ba5aee3b4aee", "sha256": "05e257e53715d7bff9ffc193083bc3912b5ccda901995d89340a0b67923482ae" }, "downloads": -1, "filename": "django-twitter-api-0.1.8.tar.gz", "has_sig": false, "md5_digest": "fcf8f65e4d765173fea9ba5aee3b4aee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37532, "upload_time": "2014-12-19T09:29:43", "url": "https://files.pythonhosted.org/packages/10/a9/d660f338d0908f3f70ba844d06eeefcbc2d8db3fc773cef5be1637fa5577/django-twitter-api-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "8f9767a23c90f872186593dc4d3335ac", "sha256": "81ecec6199a9715d55587b584e392c6109e0b2a314b074b45d1012d3e22b00b0" }, "downloads": -1, "filename": "django-twitter-api-0.1.9.tar.gz", "has_sig": false, "md5_digest": "8f9767a23c90f872186593dc4d3335ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38019, "upload_time": "2014-12-21T04:58:50", "url": "https://files.pythonhosted.org/packages/c9/1a/63f8f7ef459397c1ef78b913416e929fd99699558845741bcf92c23e5bdd/django-twitter-api-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "59526d454e82f56794bf7808665970bb", "sha256": "b1bd5e3a185902f011aa822d3e2706a123cc28e6a3b0c9407f7072e03288ca73" }, "downloads": -1, "filename": "django-twitter-api-0.2.0.tar.gz", "has_sig": false, "md5_digest": "59526d454e82f56794bf7808665970bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38889, "upload_time": "2014-12-22T17:02:40", "url": "https://files.pythonhosted.org/packages/e2/c0/cfe174aa2dde8cf8acc7d196400633bc1dd64c6fed73014888ccc09a7366/django-twitter-api-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1a2723958c23fbbc4a0c146c87db1197", "sha256": "51d2cb8123950e9151a2cd07551506f49167dadeaafc6714c67d2dd7c14a4840" }, "downloads": -1, "filename": "django-twitter-api-0.2.1.tar.gz", "has_sig": false, "md5_digest": "1a2723958c23fbbc4a0c146c87db1197", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35478, "upload_time": "2015-01-27T17:56:26", "url": "https://files.pythonhosted.org/packages/d7/ac/7300d6493ac565eccf85925fce5e38f86c55d41b1db4e6aa794c461c69fc/django-twitter-api-0.2.1.tar.gz" } ], "0.2.10": [ { "comment_text": "", "digests": { "md5": "6af8210be1d6680b12c40d09ff63a545", "sha256": "0cd9782789c6407b672ce3c3cd41bd1221d931a910549d6b4820f71f7fedde70" }, "downloads": -1, "filename": "django-twitter-api-0.2.10.tar.gz", "has_sig": false, "md5_digest": "6af8210be1d6680b12c40d09ff63a545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33727, "upload_time": "2016-02-26T18:22:44", "url": "https://files.pythonhosted.org/packages/ab/75/cfd96c15ea80988c1dda37397b66bcb39f99a66952a66e91dd68228a1f42/django-twitter-api-0.2.10.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "68d657cb65fe1ba630249cac7fb88c34", "sha256": "1645686052103e71cb9b73a1092e8d7b4990639edbcc3a0acda6adaa907b6ca1" }, "downloads": -1, "filename": "django-twitter-api-0.2.2.tar.gz", "has_sig": false, "md5_digest": "68d657cb65fe1ba630249cac7fb88c34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36347, "upload_time": "2015-02-03T10:50:20", "url": "https://files.pythonhosted.org/packages/24/60/532ba40ea8c3b3e644678697bb9af560abed6cc248bb7e0232684f05dc78/django-twitter-api-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "2f29ff015f25cc6c4253482c1c3396d5", "sha256": "56275618bade5b34934bc5c078f891879e4380f6d42fa19a390ca5055c11d62d" }, "downloads": -1, "filename": "django-twitter-api-0.2.3.tar.gz", "has_sig": false, "md5_digest": "2f29ff015f25cc6c4253482c1c3396d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36360, "upload_time": "2015-02-07T09:00:48", "url": "https://files.pythonhosted.org/packages/67/66/6852d95ac0ae65102ef6d8cf793e043b57adec09de955c9439636b5896cb/django-twitter-api-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "edebd367252782580d3876403d12ad31", "sha256": "9e5c38194758954b3e307c460a335a692d7c300752902f3b6e8b246c6ae99700" }, "downloads": -1, "filename": "django-twitter-api-0.2.4.tar.gz", "has_sig": false, "md5_digest": "edebd367252782580d3876403d12ad31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36400, "upload_time": "2015-02-27T15:11:12", "url": "https://files.pythonhosted.org/packages/96/35/cb45adb34a013996df2ed11a89b1c06e4b0a57429e7e4dbd578fb8959750/django-twitter-api-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "da184d6b16aca4da15a247f051dde16b", "sha256": "77c3c994cfc757e69df22f198fd1c9b96a8dfac01dc2518e6d23c987b5df8524" }, "downloads": -1, "filename": "django-twitter-api-0.2.5.tar.gz", "has_sig": false, "md5_digest": "da184d6b16aca4da15a247f051dde16b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36366, "upload_time": "2015-03-16T17:28:24", "url": "https://files.pythonhosted.org/packages/05/e8/637e77af383b1a068124af68d74dfcfcbaf7be058df3af03414fe4947a4e/django-twitter-api-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "c50a1259f0bbb1cdaf445d6c3ff5de2c", "sha256": "9f44cdc2166c32928cd1db5c943054d4fa02fa63881b631817f7316cc6e04792" }, "downloads": -1, "filename": "django-twitter-api-0.2.6.tar.gz", "has_sig": false, "md5_digest": "c50a1259f0bbb1cdaf445d6c3ff5de2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36907, "upload_time": "2015-04-15T07:52:28", "url": "https://files.pythonhosted.org/packages/b0/44/d53622e661efe65d3b58895680509c4f55b45bd37583c0d079200d91c847/django-twitter-api-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "92faa724451e394f1f44b6480609574a", "sha256": "a81cdc6eb472abb222eb3d7bc6c041c9907012f7b43f40ba8155b327f4c693e3" }, "downloads": -1, "filename": "django-twitter-api-0.2.7.tar.gz", "has_sig": false, "md5_digest": "92faa724451e394f1f44b6480609574a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39321, "upload_time": "2015-11-05T15:46:43", "url": "https://files.pythonhosted.org/packages/6a/4d/8677907f8fbde5a6e7cbdd240570ac0814429337a4c02675f93f65db068e/django-twitter-api-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "fcf5e0f23fa2e20321898393c3ab99a0", "sha256": "ec58b2d8ce8aa6aa87c7ea1ad86b0cdbfb3afb346c748fd37e6f7f859beff08b" }, "downloads": -1, "filename": "django-twitter-api-0.2.8.tar.gz", "has_sig": false, "md5_digest": "fcf5e0f23fa2e20321898393c3ab99a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36985, "upload_time": "2015-11-18T16:54:12", "url": "https://files.pythonhosted.org/packages/6d/19/ba6d1675024a1e4b618257c6071a3f13e8d2a302f04a302fd3a081986dde/django-twitter-api-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "8ec0072b1f32b6f95606368dbac7c3fb", "sha256": "9fbc1897628e32b2f825f1a967c077d7b528daa9e946cfc4a35bc89c217c46bd" }, "downloads": -1, "filename": "django-twitter-api-0.2.9.tar.gz", "has_sig": false, "md5_digest": "8ec0072b1f32b6f95606368dbac7c3fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33731, "upload_time": "2016-02-25T19:19:44", "url": "https://files.pythonhosted.org/packages/74/7c/1bf28078522a18c6f5d67fd981efb17ddc265a49e08ea1beaa43949eed7b/django-twitter-api-0.2.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6af8210be1d6680b12c40d09ff63a545", "sha256": "0cd9782789c6407b672ce3c3cd41bd1221d931a910549d6b4820f71f7fedde70" }, "downloads": -1, "filename": "django-twitter-api-0.2.10.tar.gz", "has_sig": false, "md5_digest": "6af8210be1d6680b12c40d09ff63a545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33727, "upload_time": "2016-02-26T18:22:44", "url": "https://files.pythonhosted.org/packages/ab/75/cfd96c15ea80988c1dda37397b66bcb39f99a66952a66e91dd68228a1f42/django-twitter-api-0.2.10.tar.gz" } ] }