klenwell information services : TwitterApiTweepy

Revision history for TwitterApiTweepy


Revision [3035]

Last edited on 2016-07-09 16:54:43 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
One of the shortcomings of the Tweepy docs, which otherwise [[https://github.com/joshthecoder/tweepy/ | used to be excellent]], is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status, user, and search result objects.
Deletions:
One of the shortcomings of the Tweepy docs, which otherwise [[https://github.com/joshthecoder/tweepy/ used to be excellent]], is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status, user, and search result objects.


Revision [2216]

Edited on 2012-07-29 09:29:48 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
Tweepy Home: http://tweepy.github.com/
Deletions:
Tweepy Home: http://pypi.python.org/pypi/tweepy/


Revision [1874]

Edited on 2011-06-16 22:00:56 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
One of the shortcomings of the Tweepy docs, which otherwise [[https://github.com/joshthecoder/tweepy/ used to be excellent]], is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status, user, and search result objects.
Deletions:
One of the shortcomings of the Tweepy docs, which are otherwise excellent, is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status, user, and search result objects.


Revision [1871]

Edited on 2011-06-09 22:12:43 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
Tweepy Docs: http://packages.python.org/tweepy/html/api.html
Deletions:
Tweepy Docs: http://packages.python.org/tweepy/html/api.html#api-reference


Revision [1870]

Edited on 2011-06-09 22:12:15 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
Tweepy Home: http://pypi.python.org/pypi/tweepy/
Tweepy Docs: http://packages.python.org/tweepy/html/api.html#api-reference
Deletions:
Tweepy Home: https://github.com/tweepy/tweepy
Tweepy Docs: https://github.com/tweepy/tweepy/docs/


Revision [1860]

Edited on 2011-05-12 21:15:44 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
Tweepy Home: https://github.com/tweepy/tweepy
Tweepy Docs: https://github.com/tweepy/tweepy/docs/
Deletions:
Tweepy Home: https://github.com/joshthecoder/tweepy
Tweepy Docs: http://joshthecoder.github.com/tweepy/docs/


Revision [1775]

Edited on 2010-12-17 04:10:08 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
return to DevTwitter or DevPython
Deletions:
return to DevTwitter


Revision [1738]

Edited on 2010-11-25 13:21:10 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
One of the shortcomings of the Tweepy docs, which are otherwise excellent, is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status, user, and search result objects.
Note: the objects are converted to dicts for display purposes. In using the object, the syntax would be something like ''status_object.id''.
Deletions:
One of the shortcomings of the Tweepy docs, which are otherwise excellent, is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status and user objects.


Revision [1737]

Edited on 2010-11-25 10:01:25 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
To retrieve and display objects (these methods do not require oauth)
Deletions:
To retrieve and display objects


Revision [1736]

Edited on 2010-11-25 10:00:38 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
# imports
# user timeline
# search
search_terms = '"hello world"'
rpp=25
result_list = tweepy.api.search(search_terms, rpp=rpp, lang='en')
search_result_object = result_list[0]
# print results
pprint(search_result_object.__getstate__())
===Search Result===
{'created_at': datetime.datetime(2010, 11, 25, 17, 48, 52),
'from_user': u'MayeYelverton',
'from_user_id': 176979953,
'from_user_id_str': u'176979953',
'id': 7853239424786432L,
'id_str': u'7853239424786432',
'iso_language_code': u'en',
'metadata': {u'result_type': u'recent'},
'profile_image_url': u'http://a2.twimg.com/profile_images/1158133250/799698684gsgsgrsfds_normal.png',
'source': u'web',
'text': u'Hello world! http://order-funeral-flowers.org/hello-world/',
'to_user_id': None,
'to_user_id_str': None}


Revision [1734]

Edited on 2010-11-21 10:22:40 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
One of the shortcomings of the Tweepy docs, which are otherwise excellent, is the absence of a simple detail of various objects it uses (at least at the present time). Here's a simple dissection of the status and user objects.
Deletions:
One of the shortcomings of the Tweepy docs, which are otherwise excellent, is the absence of a simple detail of various objects it uses. Here's a quick anatomization.


Revision [1733]

The oldest known version of this page was created on 2010-11-21 10:21:01 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]