Introduction
There are two ways to access twitter data from tweepy api:
-
RESTful API: get data about existing data objects
-
Streaming API: get live status tweets data
why use streaming API:
-
pull large amount data because RESTful has limited access
-
real-time data for real time analysis
1. REST API
REST API is very easy to use. A simple example is
import tweepy
from time import sleep
import os
consumer_key = 'xxxxxxxxxxxxxxxxxxxxxxxx'
consumer_secret = 'xxxxxxxxxxxxxxxxxxxxxxxx'
access_token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
access_token_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
auth.secure = True
api = tweepy.API(auth)
# An example to pull tweets with Trump and language is English
results = api.search(q = 'Trump', lang = 'en')
print len(results)
def print_tweet(tweet):
print "@%s - %s (%s)" %(tweet.user.screen_name, tweet.user.name, tweet.created_at)
print tweet.text
print '\n'
tweet = results[0]
print_tweet(tweet)
14
@OrangeHardie - Justin Hardie (2016-08-06 02:25:13)
RT @RexHuppke: "Terrorist, terrorist, rapist, murderer, terrorists, rapist, she's hot, terror..." - Trump watching the parade of nations #O…
Status / User object
There are different objects in the REST API, like status, user and so on.
status object
this is corresponding to on_status in streaming API. It is very close to on_data while on_data has a lot of methods in streaming.
tweet = results[1]
for param in dir(tweet):
if not param.startswith("_"):
print "%s : %s" %(param, eval("tweet." + param))
print '\n'
author : User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)
contributors : None
coordinates : None
created_at : 2016-08-06 02:25:13
destroy : <bound method Status.destroy of Status(contributors=None, truncated=False, text=u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", is_quote_status=False, in_reply_to_status_id=None, id=761749941899370496L, favorite_count=0, _api=<tweepy.api.API object at 0x00000000041822E8>, author=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), _json={u'contributors': None, u'truncated': False, u'text': u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", u'is_quote_status': False, u'in_reply_to_status_id': None, u'id': 761749941899370496L, u'favorite_count': 0, u'entities': {u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, u'retweeted': False, u'coordinates': None, u'source': u'<a href="http://ifttt.com" rel="nofollow">IFTTT</a>', u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'retweet_count': 0, u'id_str': u'761749941899370496', u'favorited': False, u'user': {u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, u'geo': None, u'in_reply_to_user_id_str': None, u'possibly_sensitive': False, u'lang': u'en', u'created_at': u'Sat Aug 06 02:25:13 +0000 2016', u'in_reply_to_status_id_str': None, u'place': None, u'metadata': {u'iso_language_code': u'en', u'result_type': u'recent'}}, coordinates=None, entities={u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, in_reply_to_screen_name=None, id_str=u'761749941899370496', retweet_count=0, in_reply_to_user_id=None, favorited=False, source_url=u'http://ifttt.com', user=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), geo=None, in_reply_to_user_id_str=None, possibly_sensitive=False, lang=u'en', created_at=datetime.datetime(2016, 8, 6, 2, 25, 13), in_reply_to_status_id_str=None, place=None, source=u'IFTTT', retweeted=False, metadata={u'iso_language_code': u'en', u'result_type': u'recent'})>
entities : {u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}
favorite : <bound method Status.favorite of Status(contributors=None, truncated=False, text=u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", is_quote_status=False, in_reply_to_status_id=None, id=761749941899370496L, favorite_count=0, _api=<tweepy.api.API object at 0x00000000041822E8>, author=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), _json={u'contributors': None, u'truncated': False, u'text': u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", u'is_quote_status': False, u'in_reply_to_status_id': None, u'id': 761749941899370496L, u'favorite_count': 0, u'entities': {u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, u'retweeted': False, u'coordinates': None, u'source': u'<a href="http://ifttt.com" rel="nofollow">IFTTT</a>', u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'retweet_count': 0, u'id_str': u'761749941899370496', u'favorited': False, u'user': {u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, u'geo': None, u'in_reply_to_user_id_str': None, u'possibly_sensitive': False, u'lang': u'en', u'created_at': u'Sat Aug 06 02:25:13 +0000 2016', u'in_reply_to_status_id_str': None, u'place': None, u'metadata': {u'iso_language_code': u'en', u'result_type': u'recent'}}, coordinates=None, entities={u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, in_reply_to_screen_name=None, id_str=u'761749941899370496', retweet_count=0, in_reply_to_user_id=None, favorited=False, source_url=u'http://ifttt.com', user=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), geo=None, in_reply_to_user_id_str=None, possibly_sensitive=False, lang=u'en', created_at=datetime.datetime(2016, 8, 6, 2, 25, 13), in_reply_to_status_id_str=None, place=None, source=u'IFTTT', retweeted=False, metadata={u'iso_language_code': u'en', u'result_type': u'recent'})>
favorite_count : 0
favorited : False
geo : None
id : 761749941899370496
id_str : 761749941899370496
in_reply_to_screen_name : None
in_reply_to_status_id : None
in_reply_to_status_id_str : None
in_reply_to_user_id : None
in_reply_to_user_id_str : None
is_quote_status : False
lang : en
metadata : {u'iso_language_code': u'en', u'result_type': u'recent'}
parse : <bound method type.parse of <class 'tweepy.models.Status'>>
parse_list : <bound method type.parse_list of <class 'tweepy.models.Status'>>
place : None
possibly_sensitive : False
retweet : <bound method Status.retweet of Status(contributors=None, truncated=False, text=u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", is_quote_status=False, in_reply_to_status_id=None, id=761749941899370496L, favorite_count=0, _api=<tweepy.api.API object at 0x00000000041822E8>, author=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), _json={u'contributors': None, u'truncated': False, u'text': u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", u'is_quote_status': False, u'in_reply_to_status_id': None, u'id': 761749941899370496L, u'favorite_count': 0, u'entities': {u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, u'retweeted': False, u'coordinates': None, u'source': u'<a href="http://ifttt.com" rel="nofollow">IFTTT</a>', u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'retweet_count': 0, u'id_str': u'761749941899370496', u'favorited': False, u'user': {u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, u'geo': None, u'in_reply_to_user_id_str': None, u'possibly_sensitive': False, u'lang': u'en', u'created_at': u'Sat Aug 06 02:25:13 +0000 2016', u'in_reply_to_status_id_str': None, u'place': None, u'metadata': {u'iso_language_code': u'en', u'result_type': u'recent'}}, coordinates=None, entities={u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, in_reply_to_screen_name=None, id_str=u'761749941899370496', retweet_count=0, in_reply_to_user_id=None, favorited=False, source_url=u'http://ifttt.com', user=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), geo=None, in_reply_to_user_id_str=None, possibly_sensitive=False, lang=u'en', created_at=datetime.datetime(2016, 8, 6, 2, 25, 13), in_reply_to_status_id_str=None, place=None, source=u'IFTTT', retweeted=False, metadata={u'iso_language_code': u'en', u'result_type': u'recent'})>
retweet_count : 0
retweeted : False
retweets : <bound method Status.retweets of Status(contributors=None, truncated=False, text=u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", is_quote_status=False, in_reply_to_status_id=None, id=761749941899370496L, favorite_count=0, _api=<tweepy.api.API object at 0x00000000041822E8>, author=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), _json={u'contributors': None, u'truncated': False, u'text': u"Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow", u'is_quote_status': False, u'in_reply_to_status_id': None, u'id': 761749941899370496L, u'favorite_count': 0, u'entities': {u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, u'retweeted': False, u'coordinates': None, u'source': u'<a href="http://ifttt.com" rel="nofollow">IFTTT</a>', u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'retweet_count': 0, u'id_str': u'761749941899370496', u'favorited': False, u'user': {u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, u'geo': None, u'in_reply_to_user_id_str': None, u'possibly_sensitive': False, u'lang': u'en', u'created_at': u'Sat Aug 06 02:25:13 +0000 2016', u'in_reply_to_status_id_str': None, u'place': None, u'metadata': {u'iso_language_code': u'en', u'result_type': u'recent'}}, coordinates=None, entities={u'symbols': [], u'user_mentions': [], u'hashtags': [{u'indices': [68, 81], u'text': u'JusSoYouKnow'}], u'urls': [{u'url': u'https://t.co/NySOEgahHj', u'indices': [44, 67], u'expanded_url': u'http://ift.tt/2aX9I59', u'display_url': u'ift.tt/2aX9I59'}]}, in_reply_to_screen_name=None, id_str=u'761749941899370496', retweet_count=0, in_reply_to_user_id=None, favorited=False, source_url=u'http://ifttt.com', user=User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False), geo=None, in_reply_to_user_id_str=None, possibly_sensitive=False, lang=u'en', created_at=datetime.datetime(2016, 8, 6, 2, 25, 13), in_reply_to_status_id_str=None, place=None, source=u'IFTTT', retweeted=False, metadata={u'iso_language_code': u'en', u'result_type': u'recent'})>
source : IFTTT
source_url : http://ifttt.com
text : Kasich: I don't know if I'll vote for Trump https://t.co/NySOEgahHj #JusSoYouKnow
truncated : False
user : User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)
user object
user = tweet.author
for param in dir(user):
if not param.startswith("_"):
print "%s : %s" %(param, eval("user." + param))
print '\n'
contributors_enabled : False
created_at : 2009-11-27 16:06:23
default_profile : False
default_profile_image : False
description : #TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |
entities : {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}
favourites_count : 2238
follow : <bound method User.follow of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
follow_request_sent : False
followers : <bound method User.followers of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
followers_count : 4125
followers_ids : <bound method User.followers_ids of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
following : False
friends : <bound method User.friends of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
friends_count : 2318
geo_enabled : False
has_extended_profile : False
id : 92995708
id_str : 92995708
is_translation_enabled : False
is_translator : False
lang : en
listed_count : 81
lists : <bound method User.lists of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
lists_memberships : <bound method User.lists_memberships of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
lists_subscriptions : <bound method User.lists_subscriptions of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
location : Washington, DC
name : Jus Swagg
notifications : False
parse : <bound method type.parse of <class 'tweepy.models.User'>>
parse_list : <bound method type.parse_list of <class 'tweepy.models.User'>>
profile_background_color : 131516
profile_background_image_url : http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg
profile_background_image_url_https : https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg
profile_background_tile : True
profile_banner_url : https://pbs.twimg.com/profile_banners/92995708/1414946565
profile_image_url : http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg
profile_image_url_https : https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg
profile_link_color : 009999
profile_sidebar_border_color : FFFFFF
profile_sidebar_fill_color : EFEFEF
profile_text_color : 333333
profile_use_background_image : True
protected : False
screen_name : iDJswagg
statuses_count : 120342
time_zone : Central Time (US & Canada)
timeline : <bound method User.timeline of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
unfollow : <bound method User.unfollow of User(follow_request_sent=False, has_extended_profile=False, profile_use_background_image=True, _json={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 92995708, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'verified': False, u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'profile_sidebar_fill_color': u'EFEFEF', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, u'followers_count': 4125, u'profile_sidebar_border_color': u'FFFFFF', u'id_str': u'92995708', u'profile_background_color': u'131516', u'listed_count': 81, u'is_translation_enabled': False, u'utc_offset': -18000, u'statuses_count': 120342, u'description': u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', u'friends_count': 2318, u'location': u'Washington, DC', u'profile_link_color': u'009999', u'profile_image_url': u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', u'following': False, u'geo_enabled': False, u'profile_banner_url': u'https://pbs.twimg.com/profile_banners/92995708/1414946565', u'profile_background_image_url': u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', u'screen_name': u'iDJswagg', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2238, u'name': u'Jus Swagg', u'notifications': False, u'url': u'http://t.co/HxWqpdIGNV', u'created_at': u'Fri Nov 27 16:06:23 +0000 2009', u'contributors_enabled': False, u'time_zone': u'Central Time (US & Canada)', u'protected': False, u'default_profile': False, u'is_translator': False}, time_zone=u'Central Time (US & Canada)', id=92995708, _api=<tweepy.api.API object at 0x00000000041822E8>, verified=False, profile_text_color=u'333333', profile_image_url_https=u'https://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', profile_sidebar_fill_color=u'EFEFEF', is_translator=False, geo_enabled=False, entities={u'url': {u'urls': [{u'url': u'http://t.co/HxWqpdIGNV', u'indices': [0, 22], u'expanded_url': u'http://Coolrunningdjs.com/Dj-Jus/Swagg', u'display_url': u'Coolrunningdjs.com/Dj-Jus/Swagg'}]}, u'description': {u'urls': [{u'url': u'http://t.co/tF9rrmSF3h', u'indices': [42, 64], u'expanded_url': u'http://OGBIGGARANKINRADIO.COM', u'display_url': u'OGBIGGARANKINRADIO.COM'}]}}, followers_count=4125, protected=False, id_str=u'92995708', default_profile_image=False, listed_count=81, lang=u'en', utc_offset=-18000, statuses_count=120342, description=u'#TeamBiggaRankin #CoolRunningDjs | PD for http://t.co/tF9rrmSF3h | DC-ATL | Mixtape Host | VDJ | On-Air Personality | #EDMlife #StreetEDM |', friends_count=2318, profile_link_color=u'009999', profile_image_url=u'http://pbs.twimg.com/profile_images/562261460743888896/EyHn92f1_normal.jpeg', notifications=False, profile_background_image_url_https=u'https://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', profile_background_color=u'131516', profile_banner_url=u'https://pbs.twimg.com/profile_banners/92995708/1414946565', profile_background_image_url=u'http://pbs.twimg.com/profile_background_images/740859248/1ff2369efc30f05c45b48f93486b8d37.jpeg', name=u'Jus Swagg', is_translation_enabled=False, profile_background_tile=True, favourites_count=2238, screen_name=u'iDJswagg', url=u'http://t.co/HxWqpdIGNV', created_at=datetime.datetime(2009, 11, 27, 16, 6, 23), contributors_enabled=False, location=u'Washington, DC', profile_sidebar_border_color=u'FFFFFF', default_profile=False, following=False)>
url : http://t.co/HxWqpdIGNV
utc_offset : -18000
verified : False
using Cursor
using cursor can get more data than run api.search
directly.
results = []
for tweet in tweepy.Cursor(api.search, q = "Hiliary").items(100):
results.append(tweet)
print len(results)
100
print type(results[29].place)
print results[29].place
save data to pandas dataframe for analysis
import pandas as pd
def twdf(results):
idlist = [tweet.id for tweet in results]
df = pd.DataFrame(idlist, columns = ["id"])
# tweet data
df["text"] = map(lambda x: x.text, results)
df["created_at"] = [tweet.created_at for tweet in results]
df["retweet_count"] = [tweet.retweet_count for tweet in results]
df["favorite_count"] = [tweet.favorite_count for tweet in results]
df["source"] = [tweet.source for tweet in results]
df["coordinates "] = [tweet.coordinates for tweet in results]
df["country"] = map(lambda tw: tw.place.country if tw.place != None else None, results)
# User Data
df["user_id"] = [tweet.author.id for tweet in results]
df["user_screen_name"] = [tweet.author.screen_name for tweet in results]
df["user_name"] = [tweet.author.name for tweet in results]
df["user_created_at"] = [tweet.author.created_at for tweet in results]
df["user_description"] = [tweet.author.description for tweet in results]
df["user_followers_count"] = [tweet.author.followers_count for tweet in results]
df["user_friends_count"] = [tweet.author.friends_count for tweet in results]
df["user_location"] = [tweet.author.location for tweet in results]
return df
tweetdf = twdf(results)
import matplotlib.pyplot as plt
from matplotlib import style
%matplotlib inline
plt.rcParams['figure.figsize'] = (16, 12)
style.use('ggplot')
plt.subplot(1, 1, 1)
plt.title("Tweets about 'Hiliary' and retweet counts")
plt.plot(range(1, tweetdf.shape[0] + 1), tweetdf.retweet_count, label = "retweet count")
plt.plot(range(1, tweetdf.shape[0] + 1), tweetdf.favorite_count, label = "favorite count")
plt.xticks(range(1, tweetdf.shape[0] + 1)[::50], tweetdf.created_at[::50])
plt.legend()
plt.tight_layout()
plt.show()
2. streaming API
Twitter streaming API can help to download tweets much more than RESTful API. It will stream data all the time once it is running. This stream is endless. The only way that could stop this stream are:
- If you closed your connection to the streaming response
- If your connection speed is not capable of receiving data and the servers buffer is filling up
This means that this process will be using the thread that it was launched from until it is stopped. In production, you should always start this in a different thread or process to make sure your software doesn't freeze until you stop the stream.
consumer_key = 'xxxxxxxxxxxxxxxxx'
consumer_secret = 'xxxxxxxxxxxxxxxx'
access_token = 'xxxxxxxxxxxxxxxxxxx'
access_token_secret = 'xxxxxxxxxxxxxxxxxxxxxxxx'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
auth.secure = True
api = tweepy.API(auth)
start a streaming process
class MyStreamListener(tweepy.StreamListener):
def __init__(self, *args, **kwargs):
super(MyStreamListener, self).__init__()
def on_data(self, data):
try:
with open(r'J:\tweetstream.json', 'a') as f:
f.write(data)
return True
except Exception as e:
print str(e)
return True
myStream = tweepy.Stream(auth = api.auth, listener=MyStreamListener())
while True:
try:
myStream.filter(track=['Trump', 'Hiliary'])
except Exception as e:
print e
time.sleep(20)
Trump's economic advisory group clashes with populist image - https://t.co/oK2B0uL7bu
RT @RandySpate: Trump thought he could win through sheer media dominance. In reality, it's killing him. https://t.co/OLBM3iD7MQ
RT @LouDobbs: #LDTPoll Does Speaker Paul Ryan deserve Donald Trump's endorsement?
In Trump's Perfect World, He Would Actually Lose The Election,...
Via News Break: https://t.co/5tKIokjDLS https://t.co/nQ9l7WZTOg
RT @JuddLegum: This isn't a Trump rally.
This is what America really looks like.
#USA
https://t.co/DrvWEvU9lK
#Trump has a team!!
Now that's funny! https://t.co/A6hkaFwfej
Trump Gender Gap Not So Historic... https://t.co/5XMKOxYs18
RT @HuffingtonPost: Protesters ejected from Donald Trump rally after holding up pocket constitutions https://t.co/TzyKWR9Hb5 https://t.co/4…