In [1]:
api_key = "my api key"
api_secret = "my api secret"
access_token = "my access token"
token_secret = "my secret token"

In [2]:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
plt.style.use('ggplot')
import dateutil.parser

In [3]:
!pip3 install twython


Requirement already satisfied (use --upgrade to upgrade): twython in c:\users\radhika\appdata\local\programs\python\python35-32\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): requests>=2.1.0 in c:\users\radhika\appdata\local\programs\python\python35-32\lib\site-packages (from twython)
Requirement already satisfied (use --upgrade to upgrade): requests_oauthlib>=0.4.0 in c:\users\radhika\appdata\local\programs\python\python35-32\lib\site-packages (from twython)
Requirement already satisfied (use --upgrade to upgrade): oauthlib>=0.6.2 in c:\users\radhika\appdata\local\programs\python\python35-32\lib\site-packages (from requests_oauthlib>=0.4.0->twython)

In [4]:
import twython

twitter = twython.Twython(api_key, api_secret, access_token, token_secret)

In [5]:
status = twitter.get_application_rate_limit_status(resources = ['statuses'])

In [6]:
#check how many API call is remaining the current window
status = twitter.get_application_rate_limit_status(resources = ['statuses'])
home_status = status['resources']['statuses']['/statuses/home_timeline']        
home_status


Out[6]:
{'limit': 15, 'remaining': 15, 'reset': 1468115203}

In [3]:


In [ ]:


In [7]:
response = twitter.search(q="DoSelect",result_type="recent", count=20)

In [8]:
response


Out[8]:
{'search_metadata': {'completed_in': 0.027,
  'count': 20,
  'max_id': 748010652615213056,
  'max_id_str': '748010652615213056',
  'query': 'DoSelect',
  'refresh_url': '?since_id=748010652615213056&q=DoSelect&result_type=recent&include_entities=1',
  'since_id': 0,
  'since_id_str': '0'},
 'statuses': [{'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jun 29 04:30:11 +0000 2016',
   'entities': {'hashtags': [{'indices': [96, 107], 'text': 'HydInsider'}],
    'media': [{'display_url': 'pic.twitter.com/myVBGzt4Lu',
      'expanded_url': 'http://twitter.com/HYDInsider/status/748010652615213056/photo/1',
      'id': 748010649888899072,
      'id_str': '748010649888899072',
      'indices': [108, 131],
      'media_url': 'http://pbs.twimg.com/media/CmF3uRLWQAA6ESR.jpg',
      'media_url_https': 'https://pbs.twimg.com/media/CmF3uRLWQAA6ESR.jpg',
      'sizes': {'large': {'h': 400, 'resize': 'fit', 'w': 400},
       'medium': {'h': 400, 'resize': 'fit', 'w': 400},
       'small': {'h': 400, 'resize': 'fit', 'w': 400},
       'thumb': {'h': 150, 'resize': 'crop', 'w': 150}},
      'type': 'photo',
      'url': 'https://t.co/myVBGzt4Lu'}],
    'symbols': [],
    'urls': [{'display_url': 'twitter.com/Narenarya3/sta…',
      'expanded_url': 'https://twitter.com/Narenarya3/status/748005656452554755?utm_source=dlvr.it&utm_medium=twitter#labnol',
      'indices': [72, 95],
      'url': 'https://t.co/IIuOMxz4PW'}],
    'user_mentions': []},
   'favorite_count': 0,
   'favorited': False,
   'geo': None,
   'id': 748010652615213056,
   'id_str': '748010652615213056',
   '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': True,
   'lang': 'en',
   'metadata': {'iso_language_code': 'en', 'result_type': 'recent'},
   'place': None,
   'possibly_sensitive': False,
   'quoted_status': {'contributors': None,
    'coordinates': None,
    'created_at': 'Wed Jun 29 04:10:20 +0000 2016',
    'entities': {'hashtags': [],
     'symbols': [],
     'urls': [{'display_url': 'lnkd.in/fzBc_jX',
       'expanded_url': 'https://lnkd.in/fzBc_jX',
       'indices': [49, 72],
       'url': 'https://t.co/YxSbMTy7Ii'}],
     'user_mentions': []},
    'favorite_count': 0,
    'favorited': False,
    'geo': None,
    'id': 748005656452554755,
    'id_str': '748005656452554755',
    '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': {'iso_language_code': 'en', 'result_type': 'recent'},
    'place': None,
    'possibly_sensitive': False,
    'retweet_count': 1,
    'retweeted': False,
    'source': '<a href="http://www.linkedin.com/" rel="nofollow">LinkedIn</a>',
    'text': "I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
    'truncated': False,
    'user': {'contributors_enabled': False,
     'created_at': 'Thu Jun 10 00:23:05 +0000 2010',
     'default_profile': False,
     'default_profile_image': False,
     'description': 'Software Development Engineer, Programmer, Book lover, Photographer',
     'entities': {'description': {'urls': []},
      'url': {'urls': [{'display_url': 'narenarya.in',
         'expanded_url': 'http://www.narenarya.in',
         'indices': [0, 23],
         'url': 'https://t.co/B1sr4F66Vt'}]}},
     'favourites_count': 23,
     'follow_request_sent': False,
     'followers_count': 122,
     'following': False,
     'friends_count': 89,
     'geo_enabled': True,
     'has_extended_profile': True,
     'id': 153952894,
     'id_str': '153952894',
     'is_translation_enabled': False,
     'is_translator': False,
     'lang': 'en',
     'listed_count': 25,
     'location': 'Hyderabad',
     'name': 'నరేన్ ఆర్యన్ (Naren)',
     'notifications': False,
     'profile_background_color': 'C0DEED',
     'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_image_url_https': 'https://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_tile': True,
     'profile_banner_url': 'https://pbs.twimg.com/profile_banners/153952894/1467734142',
     'profile_image_url': 'http://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_image_url_https': 'https://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_link_color': '19CF86',
     'profile_sidebar_border_color': 'FFFFFF',
     'profile_sidebar_fill_color': 'DDEEF6',
     'profile_text_color': '333333',
     'profile_use_background_image': True,
     'protected': False,
     'screen_name': 'Narenarya3',
     'statuses_count': 333,
     'time_zone': 'Chennai',
     'url': 'https://t.co/B1sr4F66Vt',
     'utc_offset': 19800,
     'verified': False}},
   'quoted_status_id': 748005656452554755,
   'quoted_status_id_str': '748005656452554755',
   'retweet_count': 0,
   'retweeted': False,
   'source': '<a href="http://dlvr.it" rel="nofollow">dlvr.it</a>',
   'text': "నరేన్ ఆర్యన్ (Naren): I'm participating in APIcalypse Now by DoSelect!… https://t.co/IIuOMxz4PW #HydInsider https://t.co/myVBGzt4Lu",
   'truncated': False,
   'user': {'contributors_enabled': False,
    'created_at': 'Sat Oct 25 08:35:44 +0000 2014',
    'default_profile': False,
    'default_profile_image': False,
    'description': 'Tweets from those who know Hyderabad iside-out! #HYDInsider #InsiderTweets',
    'entities': {'description': {'urls': []},
     'url': {'urls': [{'display_url': 'hyd.insidertweets.in',
        'expanded_url': 'http://hyd.insidertweets.in',
        'indices': [0, 22],
        'url': 'http://t.co/oevvMe3O7P'}]}},
    'favourites_count': 3,
    'follow_request_sent': False,
    'followers_count': 616,
    'following': False,
    'friends_count': 8,
    'geo_enabled': False,
    'has_extended_profile': False,
    'id': 2876475954,
    'id_str': '2876475954',
    'is_translation_enabled': False,
    'is_translator': False,
    'lang': 'en',
    'listed_count': 95,
    'location': 'Hyderabad, India',
    'name': 'Hyderabad Insider',
    'notifications': False,
    'profile_background_color': 'FFFFFF',
    'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png',
    'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png',
    'profile_background_tile': False,
    'profile_banner_url': 'https://pbs.twimg.com/profile_banners/2876475954/1414932917',
    'profile_image_url': 'http://pbs.twimg.com/profile_images/528892306070331392/haDCmNwr_normal.png',
    'profile_image_url_https': 'https://pbs.twimg.com/profile_images/528892306070331392/haDCmNwr_normal.png',
    'profile_link_color': '0084B4',
    'profile_sidebar_border_color': 'FFFFFF',
    'profile_sidebar_fill_color': 'DDEEF6',
    'profile_text_color': '333333',
    'profile_use_background_image': False,
    'protected': False,
    'screen_name': 'HYDInsider',
    'statuses_count': 25587,
    'time_zone': 'Mumbai',
    'url': 'http://t.co/oevvMe3O7P',
    'utc_offset': 19800,
    'verified': False}},
  {'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jun 29 04:28:57 +0000 2016',
   'entities': {'hashtags': [],
    'symbols': [],
    'urls': [{'display_url': 'lnkd.in/fzBc_jX',
      'expanded_url': 'https://lnkd.in/fzBc_jX',
      'indices': [65, 88],
      'url': 'https://t.co/YxSbMTy7Ii'}],
    'user_mentions': [{'id': 153952894,
      'id_str': '153952894',
      'indices': [3, 14],
      'name': 'నరేన్ ఆర్యన్ (Naren)',
      'screen_name': 'Narenarya3'}]},
   'favorite_count': 0,
   'favorited': False,
   'geo': None,
   'id': 748010341313937408,
   'id_str': '748010341313937408',
   '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': {'iso_language_code': 'en', 'result_type': 'recent'},
   'place': None,
   'possibly_sensitive': False,
   'retweet_count': 1,
   'retweeted': False,
   'retweeted_status': {'contributors': None,
    'coordinates': None,
    'created_at': 'Wed Jun 29 04:10:20 +0000 2016',
    'entities': {'hashtags': [],
     'symbols': [],
     'urls': [{'display_url': 'lnkd.in/fzBc_jX',
       'expanded_url': 'https://lnkd.in/fzBc_jX',
       'indices': [49, 72],
       'url': 'https://t.co/YxSbMTy7Ii'}],
     'user_mentions': []},
    'favorite_count': 0,
    'favorited': False,
    'geo': None,
    'id': 748005656452554755,
    'id_str': '748005656452554755',
    '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': {'iso_language_code': 'en', 'result_type': 'recent'},
    'place': None,
    'possibly_sensitive': False,
    'retweet_count': 1,
    'retweeted': False,
    'source': '<a href="http://www.linkedin.com/" rel="nofollow">LinkedIn</a>',
    'text': "I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
    'truncated': False,
    'user': {'contributors_enabled': False,
     'created_at': 'Thu Jun 10 00:23:05 +0000 2010',
     'default_profile': False,
     'default_profile_image': False,
     'description': 'Software Development Engineer, Programmer, Book lover, Photographer',
     'entities': {'description': {'urls': []},
      'url': {'urls': [{'display_url': 'narenarya.in',
         'expanded_url': 'http://www.narenarya.in',
         'indices': [0, 23],
         'url': 'https://t.co/B1sr4F66Vt'}]}},
     'favourites_count': 23,
     'follow_request_sent': False,
     'followers_count': 122,
     'following': False,
     'friends_count': 89,
     'geo_enabled': True,
     'has_extended_profile': True,
     'id': 153952894,
     'id_str': '153952894',
     'is_translation_enabled': False,
     'is_translator': False,
     'lang': 'en',
     'listed_count': 25,
     'location': 'Hyderabad',
     'name': 'నరేన్ ఆర్యన్ (Naren)',
     'notifications': False,
     'profile_background_color': 'C0DEED',
     'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_image_url_https': 'https://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_tile': True,
     'profile_banner_url': 'https://pbs.twimg.com/profile_banners/153952894/1467734142',
     'profile_image_url': 'http://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_image_url_https': 'https://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_link_color': '19CF86',
     'profile_sidebar_border_color': 'FFFFFF',
     'profile_sidebar_fill_color': 'DDEEF6',
     'profile_text_color': '333333',
     'profile_use_background_image': True,
     'protected': False,
     'screen_name': 'Narenarya3',
     'statuses_count': 333,
     'time_zone': 'Chennai',
     'url': 'https://t.co/B1sr4F66Vt',
     'utc_offset': 19800,
     'verified': False}},
   'source': '<a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>',
   'text': "RT @Narenarya3: I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
   'truncated': False,
   'user': {'contributors_enabled': False,
    'created_at': 'Tue Jun 02 03:25:14 +0000 2009',
    'default_profile': False,
    'default_profile_image': False,
    'description': 'Systems Engineer and Master student in Computer Engineering at EAFIT University. Guy in thesis situation. \n\nI love the Pink Phanter.',
    'entities': {'description': {'urls': []},
     'url': {'urls': [{'display_url': 'about.me/bgarcial',
        'expanded_url': 'http://about.me/bgarcial',
        'indices': [0, 23],
        'url': 'https://t.co/Xc8IItjm7p'}]}},
    'favourites_count': 2596,
    'follow_request_sent': False,
    'followers_count': 1028,
    'following': False,
    'friends_count': 1857,
    'geo_enabled': True,
    'has_extended_profile': False,
    'id': 44048035,
    'id_str': '44048035',
    'is_translation_enabled': False,
    'is_translator': False,
    'lang': 'en',
    'listed_count': 69,
    'location': 'Envigado ',
    'name': 'BernardoGarcíaLoaiza',
    'notifications': False,
    'profile_background_color': '3B94D9',
    'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme13/bg.gif',
    'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme13/bg.gif',
    'profile_background_tile': False,
    'profile_banner_url': 'https://pbs.twimg.com/profile_banners/44048035/1430982601',
    'profile_image_url': 'http://pbs.twimg.com/profile_images/688803759531683840/fFJVgKc4_normal.jpg',
    'profile_image_url_https': 'https://pbs.twimg.com/profile_images/688803759531683840/fFJVgKc4_normal.jpg',
    'profile_link_color': '89C9FA',
    'profile_sidebar_border_color': '000000',
    'profile_sidebar_fill_color': '000000',
    'profile_text_color': '000000',
    'profile_use_background_image': False,
    'protected': False,
    'screen_name': 'bgarcial',
    'statuses_count': 17311,
    'time_zone': 'Bogota',
    'url': 'https://t.co/Xc8IItjm7p',
    'utc_offset': -18000,
    'verified': False}},
  {'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jun 29 04:10:20 +0000 2016',
   'entities': {'hashtags': [],
    'symbols': [],
    'urls': [{'display_url': 'lnkd.in/fzBc_jX',
      'expanded_url': 'https://lnkd.in/fzBc_jX',
      'indices': [49, 72],
      'url': 'https://t.co/YxSbMTy7Ii'}],
    'user_mentions': []},
   'favorite_count': 0,
   'favorited': False,
   'geo': None,
   'id': 748005656452554755,
   'id_str': '748005656452554755',
   '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': {'iso_language_code': 'en', 'result_type': 'recent'},
   'place': None,
   'possibly_sensitive': False,
   'retweet_count': 1,
   'retweeted': False,
   'source': '<a href="http://www.linkedin.com/" rel="nofollow">LinkedIn</a>',
   'text': "I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
   'truncated': False,
   'user': {'contributors_enabled': False,
    'created_at': 'Thu Jun 10 00:23:05 +0000 2010',
    'default_profile': False,
    'default_profile_image': False,
    'description': 'Software Development Engineer, Programmer, Book lover, Photographer',
    'entities': {'description': {'urls': []},
     'url': {'urls': [{'display_url': 'narenarya.in',
        'expanded_url': 'http://www.narenarya.in',
        'indices': [0, 23],
        'url': 'https://t.co/B1sr4F66Vt'}]}},
    'favourites_count': 23,
    'follow_request_sent': False,
    'followers_count': 122,
    'following': False,
    'friends_count': 89,
    'geo_enabled': True,
    'has_extended_profile': True,
    'id': 153952894,
    'id_str': '153952894',
    'is_translation_enabled': False,
    'is_translator': False,
    'lang': 'en',
    'listed_count': 25,
    'location': 'Hyderabad',
    'name': 'నరేన్ ఆర్యన్ (Naren)',
    'notifications': False,
    'profile_background_color': 'C0DEED',
    'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
    'profile_background_image_url_https': 'https://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
    'profile_background_tile': True,
    'profile_banner_url': 'https://pbs.twimg.com/profile_banners/153952894/1467734142',
    'profile_image_url': 'http://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
    'profile_image_url_https': 'https://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
    'profile_link_color': '19CF86',
    'profile_sidebar_border_color': 'FFFFFF',
    'profile_sidebar_fill_color': 'DDEEF6',
    'profile_text_color': '333333',
    'profile_use_background_image': True,
    'protected': False,
    'screen_name': 'Narenarya3',
    'statuses_count': 333,
    'time_zone': 'Chennai',
    'url': 'https://t.co/B1sr4F66Vt',
    'utc_offset': 19800,
    'verified': False}}]}

In [8]:
first = (response['statuses'][0])
first.keys()


Out[8]:
dict_keys(['created_at', 'contributors', 'in_reply_to_status_id', 'in_reply_to_user_id_str', 'coordinates', 'in_reply_to_status_id_str', 'id', 'retweet_count', 'text', 'place', 'entities', 'user', 'lang', 'retweeted', 'favorited', 'truncated', 'possibly_sensitive', 'id_str', 'favorite_count', 'source', 'in_reply_to_user_id', 'in_reply_to_screen_name', 'geo', 'is_quote_status', 'metadata'])

In [9]:
first['text']


Out[9]:
'Your wait ends soon! https://t.co/I1LqxBtnCz\n#ComingSoon https://t.co/vwM8LXMtpc'

In [10]:
first['user']['screen_name']


Out[10]:
'DoSelectHQ'

In [11]:
for item in response['statuses']:
    print(item['user']['screen_name'], "-", item['text'])


DoSelectHQ - Your wait ends soon! https://t.co/I1LqxBtnCz
#ComingSoon https://t.co/vwM8LXMtpc

In [12]:
response = twitter.search(q="DoSelect",result_type="recent", geo_code="12.935230, 77.694599,1000mi",count=500)

In [27]:
response


Out[27]:
{'search_metadata': {'completed_in': 0.024,
  'count': 50,
  'max_id': 748010652615213056,
  'max_id_str': '748010652615213056',
  'query': 'DoSelect',
  'refresh_url': '?since_id=748010652615213056&q=DoSelect&result_type=recent&include_entities=1',
  'since_id': 0,
  'since_id_str': '0'},
 'statuses': [{'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jun 29 04:30:11 +0000 2016',
   'entities': {'hashtags': [{'indices': [96, 107], 'text': 'HydInsider'}],
    'media': [{'display_url': 'pic.twitter.com/myVBGzt4Lu',
      'expanded_url': 'http://twitter.com/HYDInsider/status/748010652615213056/photo/1',
      'id': 748010649888899072,
      'id_str': '748010649888899072',
      'indices': [108, 131],
      'media_url': 'http://pbs.twimg.com/media/CmF3uRLWQAA6ESR.jpg',
      'media_url_https': 'https://pbs.twimg.com/media/CmF3uRLWQAA6ESR.jpg',
      'sizes': {'large': {'h': 400, 'resize': 'fit', 'w': 400},
       'medium': {'h': 400, 'resize': 'fit', 'w': 400},
       'small': {'h': 400, 'resize': 'fit', 'w': 400},
       'thumb': {'h': 150, 'resize': 'crop', 'w': 150}},
      'type': 'photo',
      'url': 'https://t.co/myVBGzt4Lu'}],
    'symbols': [],
    'urls': [{'display_url': 'twitter.com/Narenarya3/sta…',
      'expanded_url': 'https://twitter.com/Narenarya3/status/748005656452554755?utm_source=dlvr.it&utm_medium=twitter#labnol',
      'indices': [72, 95],
      'url': 'https://t.co/IIuOMxz4PW'}],
    'user_mentions': []},
   'favorite_count': 0,
   'favorited': False,
   'geo': None,
   'id': 748010652615213056,
   'id_str': '748010652615213056',
   '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': True,
   'lang': 'en',
   'metadata': {'iso_language_code': 'en', 'result_type': 'recent'},
   'place': None,
   'possibly_sensitive': False,
   'quoted_status': {'contributors': None,
    'coordinates': None,
    'created_at': 'Wed Jun 29 04:10:20 +0000 2016',
    'entities': {'hashtags': [],
     'symbols': [],
     'urls': [{'display_url': 'lnkd.in/fzBc_jX',
       'expanded_url': 'https://lnkd.in/fzBc_jX',
       'indices': [49, 72],
       'url': 'https://t.co/YxSbMTy7Ii'}],
     'user_mentions': []},
    'favorite_count': 0,
    'favorited': False,
    'geo': None,
    'id': 748005656452554755,
    'id_str': '748005656452554755',
    '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': {'iso_language_code': 'en', 'result_type': 'recent'},
    'place': None,
    'possibly_sensitive': False,
    'retweet_count': 1,
    'retweeted': False,
    'source': '<a href="http://www.linkedin.com/" rel="nofollow">LinkedIn</a>',
    'text': "I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
    'truncated': False,
    'user': {'contributors_enabled': False,
     'created_at': 'Thu Jun 10 00:23:05 +0000 2010',
     'default_profile': False,
     'default_profile_image': False,
     'description': 'Software Development Engineer, Programmer, Book lover, Photographer',
     'entities': {'description': {'urls': []},
      'url': {'urls': [{'display_url': 'narenarya.in',
         'expanded_url': 'http://www.narenarya.in',
         'indices': [0, 23],
         'url': 'https://t.co/B1sr4F66Vt'}]}},
     'favourites_count': 23,
     'follow_request_sent': False,
     'followers_count': 122,
     'following': False,
     'friends_count': 89,
     'geo_enabled': True,
     'has_extended_profile': True,
     'id': 153952894,
     'id_str': '153952894',
     'is_translation_enabled': False,
     'is_translator': False,
     'lang': 'en',
     'listed_count': 25,
     'location': 'Hyderabad',
     'name': 'నరేన్ ఆర్యన్ (Naren)',
     'notifications': False,
     'profile_background_color': 'C0DEED',
     'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_image_url_https': 'https://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_tile': True,
     'profile_banner_url': 'https://pbs.twimg.com/profile_banners/153952894/1467734142',
     'profile_image_url': 'http://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_image_url_https': 'https://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_link_color': '19CF86',
     'profile_sidebar_border_color': 'FFFFFF',
     'profile_sidebar_fill_color': 'DDEEF6',
     'profile_text_color': '333333',
     'profile_use_background_image': True,
     'protected': False,
     'screen_name': 'Narenarya3',
     'statuses_count': 333,
     'time_zone': 'Chennai',
     'url': 'https://t.co/B1sr4F66Vt',
     'utc_offset': 19800,
     'verified': False}},
   'quoted_status_id': 748005656452554755,
   'quoted_status_id_str': '748005656452554755',
   'retweet_count': 0,
   'retweeted': False,
   'source': '<a href="http://dlvr.it" rel="nofollow">dlvr.it</a>',
   'text': "నరేన్ ఆర్యన్ (Naren): I'm participating in APIcalypse Now by DoSelect!… https://t.co/IIuOMxz4PW #HydInsider https://t.co/myVBGzt4Lu",
   'truncated': False,
   'user': {'contributors_enabled': False,
    'created_at': 'Sat Oct 25 08:35:44 +0000 2014',
    'default_profile': False,
    'default_profile_image': False,
    'description': 'Tweets from those who know Hyderabad iside-out! #HYDInsider #InsiderTweets',
    'entities': {'description': {'urls': []},
     'url': {'urls': [{'display_url': 'hyd.insidertweets.in',
        'expanded_url': 'http://hyd.insidertweets.in',
        'indices': [0, 22],
        'url': 'http://t.co/oevvMe3O7P'}]}},
    'favourites_count': 3,
    'follow_request_sent': False,
    'followers_count': 616,
    'following': False,
    'friends_count': 8,
    'geo_enabled': False,
    'has_extended_profile': False,
    'id': 2876475954,
    'id_str': '2876475954',
    'is_translation_enabled': False,
    'is_translator': False,
    'lang': 'en',
    'listed_count': 96,
    'location': 'Hyderabad, India',
    'name': 'Hyderabad Insider',
    'notifications': False,
    'profile_background_color': 'FFFFFF',
    'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png',
    'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png',
    'profile_background_tile': False,
    'profile_banner_url': 'https://pbs.twimg.com/profile_banners/2876475954/1414932917',
    'profile_image_url': 'http://pbs.twimg.com/profile_images/528892306070331392/haDCmNwr_normal.png',
    'profile_image_url_https': 'https://pbs.twimg.com/profile_images/528892306070331392/haDCmNwr_normal.png',
    'profile_link_color': '0084B4',
    'profile_sidebar_border_color': 'FFFFFF',
    'profile_sidebar_fill_color': 'DDEEF6',
    'profile_text_color': '333333',
    'profile_use_background_image': False,
    'protected': False,
    'screen_name': 'HYDInsider',
    'statuses_count': 25648,
    'time_zone': 'Mumbai',
    'url': 'http://t.co/oevvMe3O7P',
    'utc_offset': 19800,
    'verified': False}},
  {'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jun 29 04:28:57 +0000 2016',
   'entities': {'hashtags': [],
    'symbols': [],
    'urls': [{'display_url': 'lnkd.in/fzBc_jX',
      'expanded_url': 'https://lnkd.in/fzBc_jX',
      'indices': [65, 88],
      'url': 'https://t.co/YxSbMTy7Ii'}],
    'user_mentions': [{'id': 153952894,
      'id_str': '153952894',
      'indices': [3, 14],
      'name': 'నరేన్ ఆర్యన్ (Naren)',
      'screen_name': 'Narenarya3'}]},
   'favorite_count': 0,
   'favorited': False,
   'geo': None,
   'id': 748010341313937408,
   'id_str': '748010341313937408',
   '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': {'iso_language_code': 'en', 'result_type': 'recent'},
   'place': None,
   'possibly_sensitive': False,
   'retweet_count': 1,
   'retweeted': False,
   'retweeted_status': {'contributors': None,
    'coordinates': None,
    'created_at': 'Wed Jun 29 04:10:20 +0000 2016',
    'entities': {'hashtags': [],
     'symbols': [],
     'urls': [{'display_url': 'lnkd.in/fzBc_jX',
       'expanded_url': 'https://lnkd.in/fzBc_jX',
       'indices': [49, 72],
       'url': 'https://t.co/YxSbMTy7Ii'}],
     'user_mentions': []},
    'favorite_count': 0,
    'favorited': False,
    'geo': None,
    'id': 748005656452554755,
    'id_str': '748005656452554755',
    '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': {'iso_language_code': 'en', 'result_type': 'recent'},
    'place': None,
    'possibly_sensitive': False,
    'retweet_count': 1,
    'retweeted': False,
    'source': '<a href="http://www.linkedin.com/" rel="nofollow">LinkedIn</a>',
    'text': "I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
    'truncated': False,
    'user': {'contributors_enabled': False,
     'created_at': 'Thu Jun 10 00:23:05 +0000 2010',
     'default_profile': False,
     'default_profile_image': False,
     'description': 'Software Development Engineer, Programmer, Book lover, Photographer',
     'entities': {'description': {'urls': []},
      'url': {'urls': [{'display_url': 'narenarya.in',
         'expanded_url': 'http://www.narenarya.in',
         'indices': [0, 23],
         'url': 'https://t.co/B1sr4F66Vt'}]}},
     'favourites_count': 23,
     'follow_request_sent': False,
     'followers_count': 122,
     'following': False,
     'friends_count': 89,
     'geo_enabled': True,
     'has_extended_profile': True,
     'id': 153952894,
     'id_str': '153952894',
     'is_translation_enabled': False,
     'is_translator': False,
     'lang': 'en',
     'listed_count': 25,
     'location': 'Hyderabad',
     'name': 'నరేన్ ఆర్యన్ (Naren)',
     'notifications': False,
     'profile_background_color': 'C0DEED',
     'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_image_url_https': 'https://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
     'profile_background_tile': True,
     'profile_banner_url': 'https://pbs.twimg.com/profile_banners/153952894/1467734142',
     'profile_image_url': 'http://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_image_url_https': 'https://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
     'profile_link_color': '19CF86',
     'profile_sidebar_border_color': 'FFFFFF',
     'profile_sidebar_fill_color': 'DDEEF6',
     'profile_text_color': '333333',
     'profile_use_background_image': True,
     'protected': False,
     'screen_name': 'Narenarya3',
     'statuses_count': 333,
     'time_zone': 'Chennai',
     'url': 'https://t.co/B1sr4F66Vt',
     'utc_offset': 19800,
     'verified': False}},
   'source': '<a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>',
   'text': "RT @Narenarya3: I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
   'truncated': False,
   'user': {'contributors_enabled': False,
    'created_at': 'Tue Jun 02 03:25:14 +0000 2009',
    'default_profile': False,
    'default_profile_image': False,
    'description': 'Systems Engineer and Master student in Computer Engineering at EAFIT University. Guy in thesis situation. \n\nI love the Pink Phanter.',
    'entities': {'description': {'urls': []},
     'url': {'urls': [{'display_url': 'about.me/bgarcial',
        'expanded_url': 'http://about.me/bgarcial',
        'indices': [0, 23],
        'url': 'https://t.co/Xc8IItjm7p'}]}},
    'favourites_count': 2598,
    'follow_request_sent': False,
    'followers_count': 1028,
    'following': False,
    'friends_count': 1862,
    'geo_enabled': True,
    'has_extended_profile': False,
    'id': 44048035,
    'id_str': '44048035',
    'is_translation_enabled': False,
    'is_translator': False,
    'lang': 'en',
    'listed_count': 69,
    'location': 'Envigado ',
    'name': 'BernardoGarcíaLoaiza',
    'notifications': False,
    'profile_background_color': '3B94D9',
    'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme13/bg.gif',
    'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme13/bg.gif',
    'profile_background_tile': False,
    'profile_banner_url': 'https://pbs.twimg.com/profile_banners/44048035/1430982601',
    'profile_image_url': 'http://pbs.twimg.com/profile_images/688803759531683840/fFJVgKc4_normal.jpg',
    'profile_image_url_https': 'https://pbs.twimg.com/profile_images/688803759531683840/fFJVgKc4_normal.jpg',
    'profile_link_color': '89C9FA',
    'profile_sidebar_border_color': '000000',
    'profile_sidebar_fill_color': '000000',
    'profile_text_color': '000000',
    'profile_use_background_image': False,
    'protected': False,
    'screen_name': 'bgarcial',
    'statuses_count': 17319,
    'time_zone': 'Bogota',
    'url': 'https://t.co/Xc8IItjm7p',
    'utc_offset': -18000,
    'verified': False}},
  {'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jun 29 04:10:20 +0000 2016',
   'entities': {'hashtags': [],
    'symbols': [],
    'urls': [{'display_url': 'lnkd.in/fzBc_jX',
      'expanded_url': 'https://lnkd.in/fzBc_jX',
      'indices': [49, 72],
      'url': 'https://t.co/YxSbMTy7Ii'}],
    'user_mentions': []},
   'favorite_count': 0,
   'favorited': False,
   'geo': None,
   'id': 748005656452554755,
   'id_str': '748005656452554755',
   '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': {'iso_language_code': 'en', 'result_type': 'recent'},
   'place': None,
   'possibly_sensitive': False,
   'retweet_count': 1,
   'retweeted': False,
   'source': '<a href="http://www.linkedin.com/" rel="nofollow">LinkedIn</a>',
   'text': "I'm participating in APIcalypse Now by DoSelect! https://t.co/YxSbMTy7Ii",
   'truncated': False,
   'user': {'contributors_enabled': False,
    'created_at': 'Thu Jun 10 00:23:05 +0000 2010',
    'default_profile': False,
    'default_profile_image': False,
    'description': 'Software Development Engineer, Programmer, Book lover, Photographer',
    'entities': {'description': {'urls': []},
     'url': {'urls': [{'display_url': 'narenarya.in',
        'expanded_url': 'http://www.narenarya.in',
        'indices': [0, 23],
        'url': 'https://t.co/B1sr4F66Vt'}]}},
    'favourites_count': 23,
    'follow_request_sent': False,
    'followers_count': 122,
    'following': False,
    'friends_count': 89,
    'geo_enabled': True,
    'has_extended_profile': True,
    'id': 153952894,
    'id_str': '153952894',
    'is_translation_enabled': False,
    'is_translator': False,
    'lang': 'en',
    'listed_count': 25,
    'location': 'Hyderabad',
    'name': 'నరేన్ ఆర్యన్ (Naren)',
    'notifications': False,
    'profile_background_color': 'C0DEED',
    'profile_background_image_url': 'http://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
    'profile_background_image_url_https': 'https://pbs.twimg.com/profile_background_images/462805614842748928/-Snh-oxs.jpeg',
    'profile_background_tile': True,
    'profile_banner_url': 'https://pbs.twimg.com/profile_banners/153952894/1467734142',
    'profile_image_url': 'http://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
    'profile_image_url_https': 'https://pbs.twimg.com/profile_images/682434994992615425/x8AXcFYc_normal.jpg',
    'profile_link_color': '19CF86',
    'profile_sidebar_border_color': 'FFFFFF',
    'profile_sidebar_fill_color': 'DDEEF6',
    'profile_text_color': '333333',
    'profile_use_background_image': True,
    'protected': False,
    'screen_name': 'Narenarya3',
    'statuses_count': 333,
    'time_zone': 'Chennai',
    'url': 'https://t.co/B1sr4F66Vt',
    'utc_offset': 19800,
    'verified': False}}]}

In [20]:
len(response['statuses'])


Out[20]:
3

In [13]:
for item in response['statuses']:
    print("https://twitter.com/" + item['user']['screen_name'])


https://twitter.com/DoSelectHQ

In [14]:
retweets= twitter.retweeted_of_me(screen_name="DoSelectHQ")
retweets


Out[14]:
[]

In [15]:
mention = twitter.get_mentions_timeline(screen_name="DoSelectHQ")
mention


Out[15]:
[]

In [16]:
response = twitter.search(q="hiring",result_type="recent", geo_code="12.935230, 77.694599,1000mi",count=500)

In [17]:
for item in response['statuses']:
    print("https://twitter.com/" + item['user']['screen_name'])
    #print()


https://twitter.com/WHBMCareers
https://twitter.com/NetInJack
https://twitter.com/FTGiGSJobs
https://twitter.com/Rileyyrios
https://twitter.com/SutterJobs
https://twitter.com/tmj_ak_nursing
https://twitter.com/WhiteBoy_Luke
https://twitter.com/NoodlesCareers
https://twitter.com/tin_phil
https://twitter.com/rehabcarejobs
https://twitter.com/CanadaJobCareer
https://twitter.com/Stafford2CJ
https://twitter.com/tmj_hon_sales
https://twitter.com/HopkinsCareers
https://twitter.com/WDCareers
https://twitter.com/MatthewHoyle
https://twitter.com/tmj_HI_pharm
https://twitter.com/CoachRobFB
https://twitter.com/Proviscalling
https://twitter.com/golf24_
https://twitter.com/DurhamBacker
https://twitter.com/LovesJobs
https://twitter.com/MansfieldLover
https://twitter.com/BAWorkplaces
https://twitter.com/INTEGRISCareers
https://twitter.com/WorkWithSHC
https://twitter.com/MercyJobs
https://twitter.com/hiring_min
https://twitter.com/cameroncraig
https://twitter.com/tmj_mys_jobs
https://twitter.com/floridarussian
https://twitter.com/floridarussian
https://twitter.com/floridarussian
https://twitter.com/BeingExample
https://twitter.com/EricAmeer1
https://twitter.com/floridarussian
https://twitter.com/DePaulUJobs
https://twitter.com/JobJuncture
https://twitter.com/MTC_Jobs
https://twitter.com/tmj_sgp_jobs
https://twitter.com/HydeCareers
https://twitter.com/DRS_Careers
https://twitter.com/HashtagginNinja
https://twitter.com/Lease2Landstar
https://twitter.com/tmj_hon_physici
https://twitter.com/CareersBMC
https://twitter.com/JoinApex
https://twitter.com/floridarussian
https://twitter.com/PARENTSHAWAII
https://twitter.com/TiltedKiltJobs
https://twitter.com/MCHCareers
https://twitter.com/weareteamtrump
https://twitter.com/tmj_chn_jobs
https://twitter.com/URcareers
https://twitter.com/bebe_careers
https://twitter.com/TheSYGMANetwork
https://twitter.com/gordona_wilson
https://twitter.com/madisonbailie
https://twitter.com/Sunrise_Careers
https://twitter.com/EmCareJobs
https://twitter.com/ultabeautyjobs
https://twitter.com/advocatehealth
https://twitter.com/FedMogulCareers
https://twitter.com/ManTechCareers
https://twitter.com/ACATalentJobs
https://twitter.com/GIS_Sharer
https://twitter.com/lollymciver
https://twitter.com/tech_jobs_rock
https://twitter.com/SwedishCareers
https://twitter.com/edtech_jobs
https://twitter.com/NutleyChamber
https://twitter.com/MTC_Jobs
https://twitter.com/MPDSERVICES
https://twitter.com/TLTPMedical
https://twitter.com/MNCupdate
https://twitter.com/NutleyChamber
https://twitter.com/hiring_min
https://twitter.com/john_stiles
https://twitter.com/vibskhera
https://twitter.com/Work4GreatClips
https://twitter.com/Proviscalling
https://twitter.com/tmj_hi_health
https://twitter.com/Jo_A_Deleon
https://twitter.com/tmj_hi_nursing
https://twitter.com/Select_NewJobs
https://twitter.com/livvvmcmahon
https://twitter.com/NoodlesCareers
https://twitter.com/_College_Bound_
https://twitter.com/tsahainoelle
https://twitter.com/JuanBrianna
https://twitter.com/bbl58
https://twitter.com/tmj_hon_cler
https://twitter.com/CFGCareers
https://twitter.com/WDCareers
https://twitter.com/cititrendsjobs
https://twitter.com/ultabeautyjobs
https://twitter.com/CTS_Jobs
https://twitter.com/tmj_AK_cstsrv
https://twitter.com/tmj_jpn_jobs
https://twitter.com/CristinaCrispi4

In [18]:
response = twitter.get_user_timeline(screen_name="DoSelectHQ", count=300,include_rts=False,exclude_replies=True)

In [19]:
for item in response:
    print(item['text'])


Here Are Google, Amazon And Facebook’s Secrets To Hiring The Best People https://t.co/51ZPLbMMvT
via @Inc42
by @sarahcpr
Your wait ends soon! https://t.co/I1LqxBtnCz
#ComingSoon https://t.co/vwM8LXMtpc
Diversity in Tech — Information is Beautiful https://t.co/KQxIg4O16p by @miriamquick https://t.co/66lm2YYVkg
Increasing employee engagement investments by 10% can increase profits by $2,400 per employee, per year.
#recruiting #stats
95% suspect censorship or faked reviews when they don’t see bad scores.
Free Ebook here: https://t.co/kVqYZXatn6 https://t.co/bRVBQVJBFf
Most job seekers read 4-7 reviews before forming an opinion of a company.
#recruiting #stats
https://t.co/WjlkbupebK https://t.co/yMgCUnI30t
Choice is yours now. Enough said!
Little wait and you're in. Keep an eye here: https://t.co/I1LqxBbML1
#ComingSoon https://t.co/vwM8LXMtpc
Get hired by the world’s largest taxi company, who owns no vehicles.
#ComingSoon at https://t.co/ZqbBoYSc1D https://t.co/inHbA7UKOO
86% of people in the first 10 years of their career are likely to use social media in their job search
#social #media #recruitment #stats
Solve any interview brainteaser using these tricks --&gt;
https://t.co/NPtAcqpU81
#Interview #hiring https://t.co/Vui6gpgsE4
48% of female software engineers are likely to apply to a company a friend recommended. 
#recruiting #stats #HR
Around 70% of Millennials say they hear about companies through friends and job boards. #recruitment #stats #hr
60% of Millennials consider the most attractive perk to be growth opportunities. #recruiting #stats #hr
98% of companies still believe on-campus fairs are still the best way to brand themselves with student. #recruiting #stats
No chance to hide!
#ComingSoon at https://t.co/WEgIfmu1KQ https://t.co/rPIy6Swm8A
Don't feel like wasting time on resumes? Schedule a free demo for your company today! https://t.co/S2UdGNJX3t https://t.co/k0n24yAamH
Think about these things before planning your #startup #hiring https://t.co/uQffhmt1dO
#HRs #recruiting https://t.co/ABXypI4hY8
Do you know where your potential employees are? https://t.co/bUGKHjehih
#hiring #recruiting #HR https://t.co/XlttvsbcWt
Guys!
Say hi to Himanshu
https://t.co/vXGzvlHG2Y
#team #doselect https://t.co/AR6bbG24j4
Why should you have an open API. 
Read here: https://t.co/7vVZ8Im5hU
#APIcalypse https://t.co/1ct4cMBxbw
Make some noise for @shariqu51203133 - Our latest soldier! https://t.co/adqlAboCH6
#team #doselect https://t.co/J0Veln0T7G
Get found and get hired!
#Coming #Soon at https://t.co/AMAlllQ2Bx
#doselect #hiring #jobs https://t.co/xCD7j9yI5K
Let your code do the talking!
#Coming #Soon at https://t.co/fK5FN9Sfnb https://t.co/TTibfNPz7d
.@AbadoJack has topped the leaderboard at #APIinit. Congratulations!
View leaderboard:  https://t.co/Igu3zuuXKv https://t.co/vnWCh6RYdz
[Free Ebook] Why are candidates rejecting you? Find out the reason here. https://t.co/aOoN292f14
#hiring #stats https://t.co/mrey6dEfgT
Let companies chase you down, not the other way round.
Coming soon at https://t.co/THhCrHP5Ju
#hiring #jobs https://t.co/CjCrT1FBz7
[PODCAST] @indradhanush92 from @Instamojo talks about APIs Participate in #APIcalypse #Now: https://t.co/a9OoDz8qLp https://t.co/5gB89nbVna
Why is hiring broken? It starts at the whiteboard.
https://t.co/BMMrK7ezn4
#hiring https://t.co/6QMBT71R3H
[PODCAST] Alert 📢📣
With @indradhanush92 from @instamojo .
#APIcalypse
#APIs https://t.co/uUErqp3XSR
#APIcalypse Now starts tomorrow.
Brace yourselves for rise of the #APIs
Participate here: https://t.co/TSfJvVAm0U https://t.co/orpiyFKC3S
The all-time classic interview question.
#recruiters #humor https://t.co/0oqvV6xsrk
📢📣 You heard it right! Fortune 500 Companies are #hiring #java developers.
Apply: https://t.co/7UPFlDM3ll https://t.co/3cyAbvihzm
11 interesting APIs for developers https://t.co/5XrJDEHb5d
Participate in#APIcalypseNow: https://t.co/TYVPJhrfvI https://t.co/9s7Fv2E5ir
Like 5 stars? 
You'll want them soon. Stay tuned!
#ComingSoon at https://t.co/vU7D5nhgPc https://t.co/aGtBe13rw2
We're back with #APIcalypse Now 
Participate and compete against the best.
https://t.co/rBQUjF0BgO
#APIs #hackathons https://t.co/RCfEdDrTwr
Resumes are dying! What's next? #Comingsoon on https://t.co/z7TUs8wSQT https://t.co/ldCETSKgDs
Really! Are you experienced?
#recruitng #humor https://t.co/vOfc2RWWXq
And the Most Popular Programming Language is… https://t.co/BghfVI2yUv by @chargebee https://t.co/D7LYlbrtnf
Want to earn big?
Participate-https://t.co/VuWqZtQirR to grab a change to interview for fortune 500 companies
#Java #JavaHiringchallenge
[FREE EBOOK] Tech Interviews 101 - Your guide to optimize your interview process. https://t.co/Hd63lndb9X
#hiring https://t.co/FsDTEQlTGx
Utter truth!
#Interview #humor https://t.co/gMWk8RprMX
Are you making right hiring decisions?
#hiring #recruiting https://t.co/MHXlU8G7yf
Get hired by Fortune 500 companies
Register now to participate-https://t.co/Zq9ptV4nWT
#Java#JavaHiringChallenge https://t.co/HbMOR2sxD4
Stack Overflow founder @Spolsky: The three skills every software developer should learn  https://t.co/jQ1HaW0v8R
#software #developer
More than 20% programmers write code in @Java making it most used language according to TIOBE index.
#programming https://t.co/gBzqTRWbyM
The rise of APIs :https://t.co/Ec19Rra3KR @TechCrunch 
Participate now - https://t.co/k4R0kk398Y
#API#APIcalypse https://t.co/MwBo6MTy6f
Must read for every job-seeker by @schifeling
https://t.co/ziW1xsk29F
#job #interviews #crack https://t.co/M4Bn38u5kN
How do you choose? - https://t.co/FqurV4Wf9Y
Participate now - https://t.co/vf4vAqZyZt
#API#APIcalypse https://t.co/I8T5iaiA3w
API Technical Writing - https://t.co/mqrWtLyAuE
Participate now - https://t.co/HINr69NQWw
#API#APIcalypse https://t.co/djzghXTgZa
Future of API development - https://t.co/PZYSQMvvSl
Participate now - https://t.co/Q3XybJis5w
#API#APIcalypse https://t.co/I2I4PrZRHs
The actual cost of hiring is way more than you could think. Need help? Get a free demo here: https://t.co/AgveUL6mwU https://t.co/lJWSWc5Ee0
Predictions for the 2016 API Economy https://t.co/Uo757HoVL7
Participate now-https://t.co/2IWYFClVUX
#API#APIcalypse https://t.co/osWwHMXy5I
RESTful API Best Practices - https://t.co/tzbci8wCyB 
Participate now - https://t.co/4ifCxS6Qpq
#API#APIcalypse https://t.co/Y6cef2LY41
Recruiting is marketing! - How to strategize. https://t.co/egE3XRaTnB
#hiring #recruiting https://t.co/KrqUo4iw9A
APIs can help grow your business - https://t.co/7TFxquGA9x
Participate now - https://t.co/H0f0IkksYv
#API#APIcalypse https://t.co/mv57TaoWrW
Secure your REST API - https://t.co/N8qDVPURJd
Participate now - https://t.co/AdIkxdfBHk
#API#APIcalypse https://t.co/FMJ9gclwQV
How not to write an API - https://t.co/7oaAgQbkEp @Medium 
Participate now - https://t.co/jJJBOrQMRI
#API#APIcalypse https://t.co/p1smdlJmgk
How APIs are changing software - https://t.co/9RwDXF2cEd
Participate now - https://t.co/GRXHN7F3fb
#API#APIcalypse https://t.co/NwS79o2lhu
KPIs for APIs - https://t.co/LQ5VXu5Jjv
Participate now - https://t.co/8m0iHiIO3x
#API#APIcalypse https://t.co/pzkuUc5yrz
Pair programming be like!
#humor #programmer #coding https://t.co/aaw01HHRNq
[Ebook] State of Hiring - 2016
Download now: https://t.co/jRprWgDtl1
#ebook #hiring #recruiting https://t.co/LSMAOmk0tY
Power tools for your API-https://t.co/q8OwKsc7HI @Medium 
Participate now - https://t.co/dI9b3ua2Qh
#API#APIcalypse https://t.co/3RnxLpsE1s
Tools that will help you develop a RESTful API https://t.co/fZlr99ECRy @Medium 
Participate-https://t.co/9clJEJTiQy https://t.co/pJwM30e6ug
It's time to ditch your whiteboards for interview and move on. We'll tell you why - https://t.co/8zETYlYUm0
#hiring https://t.co/3HQCooxq5x
API-glue https://t.co/viKHj7uwTT @Medium 
Participate now - https://t.co/ksgbNrvGFM
#API#APIcalypse https://t.co/CbtS6WeosF
Are you GETting these jokes? If not, Tweet us
#apicalypse #apis #humor
Join here: https://t.co/kFlGY6BNo3 https://t.co/0lvJojCPxn
APIs for every occasion - https://t.co/ahLx5h10bq @Medium 
Participate now - https://t.co/uJv1XWqKKA
#API#APIcalypse https://t.co/56YZEiQRoi
“How come there is SOAP in REST-rooms?”
#apicalypse #humor #apis
Join here: https://t.co/2BzxY17ZK7 https://t.co/fO7JquVzVq
“REST is what I do at work.” 
#apicalypse #apis #humor
Join here: https://t.co/pxPTt9AlTi https://t.co/dGNdzayWVg
Still busy with resumes? Try DoSelect to filter them. Request your free demo here: https://t.co/yT1KzAf9dE https://t.co/xK0PQMPgtq
Not having a RESTful night? Probably this is the reason.
#apicalypse #apis #humor
Join : https://t.co/ibpketEKZc https://t.co/hfoLBuR03E
What’s an API good for? https://t.co/jjGN83Oxm7 @Medium 
Participate now - https://t.co/6o6xSnRNPo
#API#APIcalypse https://t.co/VmEdEbHeYE
How to make the right hiring decisions by @vinav123 https://t.co/1tG9Sjwong
#hiring #recruiting #hr
Access all @Marvel comics using their official API https://t.co/ldxk3puKsD 
Participate: https://t.co/HwVzjDIUqI https://t.co/f3b0GY4SIp
The rise of APIs - https://t.co/McnsGF0g6x @Medium 
Participate now - https://t.co/A31UssHWxJ
#API#APIcalypse https://t.co/rnO9IBTBAS
Looking at the API
Participate now-https://t.co/jULDLRGGMJ
#API#APIcalypse https://t.co/sild2iTNT8
There is always an API - https://t.co/3MVrY3dJWd @Medium 
Participate now - https://t.co/V4B0qVB92F
#API#APIcalypse https://t.co/Adn9qwesuD
It works amazingly well for campus recruiting - @ManasaD88 from @InMobi https://t.co/9CD4pUsQqo by @youtube
#hiring
APIs will win - https://t.co/dWRZV8LANq @Medium 
Participate now - https://t.co/JGdy3iVTS5
#API#APIcalypse https://t.co/Bx9WDTFV1G
Are you braced?
Participate in the #APIinit - https://t.co/6x9sGaqjHi
#APIcalypse#API https://t.co/QpZHaqunr8
APIinit has kicked off!
Participate now: https://t.co/3KzOLfvDUO by @doselecthq
The rise of API's - #apicalypse https://t.co/c0IlkoX61s
Is your recruiting mobile ready?
https://t.co/Mub3qTEeNx by @DoSelectHQ
via @Medium 
#mobile #recruiting https://t.co/U34d6srvZT
What is an API? via @Mulesoft https://t.co/nXAdxQ1AcY by @youtube
Try #APIcalypse: https://t.co/b3DuV9mRb3
#APIs https://t.co/soMejJadi9
Attention world! #APIcalypse has arrived. Mind boggling hackathons, podcasts and more. Join https://t.co/x6wCH0DmKk https://t.co/96o2mWdGmO
Recruiting in the mobile-first world - by @vinav123 https://t.co/LUjvW6uhW5
#mobile #recruiting #hiring https://t.co/59i6wYPmgx
4 Signs You Should Invest In Hiring The Top Technical Talent https://t.co/3LLOmpgJOA by @rohit_ty @doselecthq @Inc42 https://t.co/FtMvaftJav
“Keep it simple - Employer branding strategies by @InMobi” https://t.co/DOZYuJ7nDt
#employer #branding #hiring https://t.co/r2AFI8HTFS
[FREE EBOOK] Optimize your hiring process today. https://t.co/twCZYMK9zZ
#free #ebook #tech #interview #hiring https://t.co/Z5h7nRQBZp
[PODCAST] Design for scale at @practo by #Jonathan https://t.co/KlJJANTQ0s by @tumblr
#30daysofdesign #ui #ux https://t.co/EoWcBg2Xm1
Have you tried them yet?
https://t.co/TI6GPtpx4Z
by @vinav123 
#Hiring #hacks #tech https://t.co/XxB7abBvh3
[FREE EBOOK] Amazing stats to help you improve your recruiting metrics.
https://t.co/szXXzbYiEk
#ebook #free #hiring https://t.co/pUJnT65nf2
How to design a product that consumers want - Podcast with Uma from @goibibo
Listen here: https://t.co/IQS1IBgVvf https://t.co/AjJW7lGiKj
Why you do this CSS? - via @9GAG
#HTML #CSS #programming https://t.co/iEK0UYaQG7
Welcome aboard to our ship Abeer!
https://t.co/VXMUSFX8Pa
#new #hire #DoNut! https://t.co/JprruPRSqP
“How to create stunning employer brand for your startup” via @medium https://t.co/C5YOFOC2oG
#startup #brand https://t.co/iDu2T4UvfL
When employer wants you to have 10years of experience before 22.
#hiring #HR #jobs https://t.co/h7ah2v96Cj
Farewell 172.17.42.1, you will be missed - by @dolftax https://t.co/UgJcFRqf9U https://t.co/weHyEnlbcC
Social recruiting - The new buzz! - by @vinav123 https://t.co/fDWaBtKd9P
#Social #recruiting #hiring #jobs #employer https://t.co/OCWAb7wPZo
Do You Earn Less Than a Silicon Valley Intern? https://t.co/k8NUnmAk96 via @business 
#intern #pay
How to take your product design to global level -
#Podcast with @spinfree from @freshdesk 
https://t.co/FLwzarpqwX https://t.co/0shg213PyN
JavaZone 2014: Game of Codes https://t.co/osfpTk5H1o by @youtube https://t.co/1rnEtSEJs6
State of hiring - 2016, Download this ebook here: https://t.co/a5OuaBpdYr
#hiring #2016 #hr # https://t.co/MgY7BKLQzk
Why should you tap into colleges for technical talent?https://t.co/ZS9ZOrHAC4
#tech #talent #colleges https://t.co/PCIUAa4Yyz
Nerds pouring in! #CodeForBeer https://t.co/Pze2eJI5oI
Beer aficionado? Super code We're hosting #CodeForBeer at #BigPitcher. Drop in before 4 PM today and get hired! https://t.co/yXf8pXpsQj
#CodeForBeer is on at #BigPitcher! https://t.co/UVZX2LRidB
It's a sunny Sunday in #Bangalore! Are you ready for #CodeForBeer? We sure are! Keep looking at our feed for updates!
And just like that! 
Participate now #30daysofdesign @ https://t.co/CFdJVUl0UG  
#UI#UX https://t.co/vBa6GJvBor
Bharatnatyam + Yoga - Are you serious?  Welcome to the army #Neha
https://t.co/SZ9ESYQBIA
#doselect #new #hire https://t.co/LEvSU2pqoR
Sip beer -&gt; Code -&gt; Repeat. Try #CodeForBeer and get hired.
https://t.co/pgMfzoibVm
#bangalore #code #hiring https://t.co/BBDL6Jhdtw
Not a damn was given. 
Participate now #30daysofdesign @ https://t.co/F7IdYhQcU6  
#UI#UX https://t.co/Rszqq6cCFJ
Code+Beer=Get hired 
Rule is very simple - Drink FREE beer, code and get hired - Hell yeah! 
Register here: https://t.co/VQg56GBhe0
Just so you know. 
Participate now #30daysofdesign @ https://t.co/lvmX3xscZj  
#UI#UX https://t.co/hIKpvndVIk
BEER - Amazing things happen when geeks drink it. Are you 1 of them ?
Code+Beer = Get hired 
Register here: https://t.co/09yd16khQd
4 signs you should invest in hiring the top technical talent
https://t.co/K6RlX0nvqV
#hiring #tech #talent https://t.co/1ONkoWmmMD
Bonjour! @Shaista_e
Let's do it together!
https://t.co/GJUXHYOLca https://t.co/4jh0n2YhAM
I am not fat, I am bold.
Participate now #30daysofdesign @ https://t.co/0kW0dUqFd3  
#UI#UX https://t.co/lRUzyoQFn0
Keep calm and beat the heat this weekend. #CodeForBeer and get hired 
Register here: https://t.co/RMOqt4vOqv
#hiring https://t.co/6l0Z7FFkEj
Reality check! 
Participate now #30daysofdesign @ https://t.co/GXhoT5BlFg  
#UI#UX https://t.co/umkQu0fgp2
And we're literally giving #free #beer if you can code.
Register here:  https://t.co/2gVeHpqH3k
#CodeForBeer #Hiring https://t.co/ud63NZM8X9
Basically sums up the life of a designer. 
Participate now #30daysofdesign @ https://t.co/F33NaPw826  
#UI#UX https://t.co/CdcARi8WTv
If you code, we've got a job + beer for you. 
Register here: https://t.co/10oWIyvIWE
#Code #CodeForBeer #hiring https://t.co/8tW2zM4Wwn
Thug life! 
Participate now #30daysofdesign @ https://t.co/u0e96gXr4a  
#UI#UX https://t.co/Fv8EuK4jFw
Code? We'll fill you a glass of beer. Join us at #CodeForBeer and get hired!
https://t.co/AeV6fMbeNc
#hiring #coding https://t.co/d6PNZKohmL
7 horrible mistakes you are doing while hiring UI/UX designers https://t.co/2kPuEbiLjE
#UIUX #30DaysOfDesign https://t.co/MpwX6Vd0fW
A brand new #DoNut is here. Make some noise for Vikas. https://t.co/boipZTt013
#doselect https://t.co/HHT8FEJCbF
Code + Beer = Get hired. 
Make your way to #CodeForBeer
Register here: https://t.co/AeV6fMbeNc
#code https://t.co/GWxZfyLbi1
Neat expectation !
Participate now #30daysofdesign @ https://t.co/OtiSdCIyfA  
#UI#UX https://t.co/BnLFEpSIlJ
Things aren't always #000000 and #FFFFFF. 
Participate now #30daysofdesign @ https://t.co/X1Ml0Q6Pbc  
#UI#UX https://t.co/M1oNDFcxuU
&lt;/html&gt; the end is always near.
Participate now #30daysofdesign @ https://t.co/gkCxtKvpqm
#UI#UX#frontend https://t.co/nTIuXT3KVR
Are you font of design? 
Participate now #30daysofdesign-  https://t.co/ivc3WlMh2W 
#UIUX https://t.co/d710uyafHX
Behind super cool design at @bookmyshow
by Anish Tripathi, AVP at #BMS
https://t.co/4D6kb9G2sO
#UIUX #30DaysOfDesign https://t.co/1Ep3ZbeBzR
Ouch! 
Participate now #30daysofdesign - https://t.co/japA1Uccai 
#UIUX https://t.co/13KMkhgglV
When you try your best and nothing goes right! 
Participate now in #30daysofdesign- https://t.co/ljqDsqRFTo  
#UIUX https://t.co/U6YTxctUaC
How to successfully hire a top UI/UX designer https://t.co/Sb29YkpOIa
#UIUX #30DaysOfDesign #Design https://t.co/0SaLYSTvFF
Well! they are going places. Are you? Participate now - https://t.co/LYpcq4TCmE  
#UI#UX https://t.co/Zi9SKqkMgN
Simple is good. Period! via @redBus_in
https://t.co/JBvkYOHAOC
#30DaysOfDesign #UIUX https://t.co/AjPh85IF1G
Are you one of them ? Then participate in the 30 days of design. Register now - https://t.co/hFKAw1jgXV 
#UI#UX https://t.co/Sg4YXdJdym
You are the CSS to my HTML.
Join #30DaysOfDesign here: https://t.co/FsLPWUoFK1
#UI #UX #FRONTEND https://t.co/UnHRETl2f7
#Podcast with @chinchang457 from @Wingify https://t.co/Dyvg5b9sAl #UI #UX https://t.co/3LP50jY2RA
Nearly 66% stated they are using technology-led recruitment platforms - Survey
#HR #Tech #Hiring #Recruitment
Ease of use is invisible but it’s absence sure isn’t. Join #30DaysOfDesign today: https://t.co/6VAC6PBeUy
#UI #UX https://t.co/tZlV9iZi2V
How to create stunning employer brand for your startup https://t.co/7hRTufhrF3
#Employer #Branding #HR #Startup https://t.co/l76G8djPjZ
Happy Ugadi! Celebrate #30DaysOfDesign with us. https://t.co/CJ0uWYiWgE https://t.co/XJeMlExfB8
A user interface is like a joke. If you have to explain it, It’s not that good. Join https://t.co/Agjng0V70m https://t.co/Mj5tUYKJYo
Best UI/UX blogs you must not miss out on following -https://t.co/f0Yvv6EXPF
#UI #UX #30daysofdesign https://t.co/3zjXtbbWfk
UI/UX assessments on @DoSelectHQ now! Want a hands-on? Request a demo: https://t.co/eGRFVxcOPZ
#ui #ux #assessments https://t.co/0qsSCV9gk4
Are candidates rejecting you? Read Technical Interviews - 101
https://t.co/IHl1toi7dm
#tech #interview  #ebook https://t.co/7WpR2NlEnr
Announcing DoSelect Web Services - https://t.co/tJIWK2j703 | Get free 8 GB Linux Instance.
#DWS https://t.co/KuMfyTPf7A
Troubled with your tech recruiting process. Download free ebook: Tech Interview - 101
Here: https://t.co/6HbCSEvCxX https://t.co/LUqOgT0bis
Retweet and win tix to #BatmanVsSuperman! Get your friends to participate @wingify - https://t.co/aE8uj5UfQl https://t.co/r5wZMpyXc3
Wingify UI/UX contest is now kicked off! Register now to participate at 
https://t.co/KfAjFcQI5R https://t.co/BfLAhCrxIB
Keep it simple - @kevinsfreitas from @InMobi says about Employer branding, Read more: https://t.co/xmKtgu3D53 https://t.co/ukXXxNnDS3
Why aren’t there more female programmers? Hema speaks.
https://t.co/AfiNhex9XF
#WomensDay #programmers https://t.co/a8l0RYYukx
Here's How Much Silicon Valley Tech Workers Make https://t.co/gqmDhtesTV by @HuffPostIndia https://t.co/ez9iVUjdOD
Why you should *really* work at DoSelect - Come join the adventure
https://t.co/f9EKNe2za3 https://t.co/4QMZgxl686
4 Ways to Recruit New Graduates in Tech
via @Dicedotcom https://t.co/LoNlUDJWJ4
#hiring #tech
10 reasons you should work at DoSelect - DoSelect Blog https://t.co/5zMsFmqX5d
#WorkAtDoSelect https://t.co/29dnoMm25s
Got coding ammo? Jump to #WorkAtDoSelect hackathon.
We are hiring! https://t.co/IcZGGlSHqr
Why Tech Degrees Are Not Putting More Blacks and Hispanics Into Tech Jobs
via @nytimes
https://t.co/Lf876TwKYS
Ruchika has something to say about #WorkAtDoSelect.
Check this out:
https://t.co/y1I17RA8c7
#hiring
Confused with #Github data of  a prospective candidate? Get insights using @DoSelectHQ
https://t.co/uslv9nqJeG https://t.co/rwPH9uM22K
Hello folks! We are doing an AMA right now on Facebook. Join! https://t.co/vbOh4XOXOG
7 better ways to source tech talent.
#tech #recruiting #hiring
https://t.co/wAjE8NZQSx by @vinav123 https://t.co/yVgVNNwC6s
Story of a recruiter. Truth!
https://t.co/iuC9qTChwv
#tech #recruiting #hiring
Apply now! Get a chance to work at the most exciting startup. 
DoSelect Engineering is hiring! https://t.co/hHVBX0S8gK by @sanketsaurav

In [ ]:
cursor = twitter.cursor(twitter.get_user_timeline, q='"DoSelect" -filter:retweets', count=100)
all_text = list()
for tweet in cursor:
    all_text.append(tweet['text'])
    if len(all_text) > 500:
        break

In [ ]:
cursor = twitter.cursor(twitter.search, q='"DoSelect" -filter:retweets', count=100)
all_text = list()
for tweet in cursor:
    all_text.append(tweet['text'])
    if len(all_text) > 500:
        break

In [58]:
from collections import Counter
c = Counter()

In [ ]:
for item in all_text:
    c.update(item.split())
c.most_common(25)

In [29]:
first['entities']


Out[29]:
{'hashtags': [{'indices': [96, 107], 'text': 'HydInsider'}],
 'media': [{'display_url': 'pic.twitter.com/myVBGzt4Lu',
   'expanded_url': 'http://twitter.com/HYDInsider/status/748010652615213056/photo/1',
   'id': 748010649888899072,
   'id_str': '748010649888899072',
   'indices': [108, 131],
   'media_url': 'http://pbs.twimg.com/media/CmF3uRLWQAA6ESR.jpg',
   'media_url_https': 'https://pbs.twimg.com/media/CmF3uRLWQAA6ESR.jpg',
   'sizes': {'large': {'h': 400, 'resize': 'fit', 'w': 400},
    'medium': {'h': 400, 'resize': 'fit', 'w': 400},
    'small': {'h': 400, 'resize': 'fit', 'w': 400},
    'thumb': {'h': 150, 'resize': 'crop', 'w': 150}},
   'type': 'photo',
   'url': 'https://t.co/myVBGzt4Lu'}],
 'symbols': [],
 'urls': [{'display_url': 'twitter.com/Narenarya3/sta…',
   'expanded_url': 'https://twitter.com/Narenarya3/status/748005656452554755?utm_source=dlvr.it&utm_medium=twitter#labnol',
   'indices': [72, 95],
   'url': 'https://t.co/IIuOMxz4PW'}],
 'user_mentions': []}

In [30]:
for item in first['entities']['urls']:
    print(item['expanded_url'])


https://twitter.com/Narenarya3/status/748005656452554755?utm_source=dlvr.it&utm_medium=twitter#labnol

In [33]:
all_urls = list()
for tweet in cursor:
    print(tweet['entities'])
    for item in tweet['entities']['urls']:
        all_urls.append(item['expanded_url'])
    
    if len(all_urls) > 100:
        break

In [34]:
all_urls


Out[34]:
[]

In [35]:
all_media_url = list()

for tweet in cursor:
    if 'media' in tweet['entities']:
        for item in tweet['entities']['media']:
            all_media_url.append(item['media_url'])
    
    if len(all_urls) > 1000:
        break

In [36]:
fh = open("preview.html", "w")
for item in all_media_url:
    fh.write('<img src="{}" width="50">'.format(item))
fh.close()

In [22]:
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
import requests

In [37]:
next_cursor = -1

In [39]:
response = twitter.get_followers_list(screen_name="DoSelectHQ",count=200,cursor=next_cursor)

In [41]:
response.keys()


Out[41]:
dict_keys(['previous_cursor_str', 'next_cursor_str', 'next_cursor', 'users', 'previous_cursor'])

In [42]:
response['next_cursor']


Out[42]:
1508695626938726577

In [49]:
response['users'][0]


Out[49]:
{'blocked_by': False,
 'blocking': False,
 'contributors_enabled': False,
 'created_at': 'Sat Oct 31 13:15:50 +0000 2009',
 'default_profile': False,
 'default_profile_image': False,
 'description': 'Engineering @instamojo | FOSS | Emacs | All things #python, #golang | Cutting down my 10000 hrs | Networking & Security Enthusiast | Drummer | Hate sms language',
 'entities': {'description': {'urls': []},
  'url': {'urls': [{'display_url': 'indradhanush.github.io',
     'expanded_url': 'http://indradhanush.github.io',
     'indices': [0, 22],
     'url': 'http://t.co/ltRc6FOO9y'}]}},
 'favourites_count': 509,
 'follow_request_sent': False,
 'followers_count': 265,
 'following': False,
 'friends_count': 257,
 'geo_enabled': False,
 'has_extended_profile': False,
 'id': 86525369,
 'id_str': '86525369',
 'is_translation_enabled': False,
 'is_translator': False,
 'lang': 'en',
 'listed_count': 19,
 'location': 'India',
 'muting': False,
 'name': 'Indradhanush Gupta',
 'notifications': False,
 'profile_background_color': '1A1B1F',
 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme9/bg.gif',
 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme9/bg.gif',
 'profile_background_tile': False,
 'profile_image_url': 'http://pbs.twimg.com/profile_images/431719630361477120/Z0URMnhd_normal.jpeg',
 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/431719630361477120/Z0URMnhd_normal.jpeg',
 'profile_link_color': 'D89411',
 'profile_sidebar_border_color': '181A1E',
 'profile_sidebar_fill_color': '252429',
 'profile_text_color': '666666',
 'profile_use_background_image': True,
 'protected': False,
 'screen_name': 'indradhanush92',
 'status': {'contributors': None,
  'coordinates': None,
  'created_at': 'Wed Jul 06 14:03:03 +0000 2016',
  'entities': {'hashtags': [],
   'symbols': [],
   'urls': [{'display_url': 'twitter.com/f3ew/status/75…',
     'expanded_url': 'https://twitter.com/f3ew/status/750650367243878400',
     'indices': [54, 77],
     'url': 'https://t.co/Fig397k2J6'}],
   'user_mentions': [{'id': 28360450,
     'id_str': '28360450',
     'indices': [3, 12],
     'name': 'Bibhas Debnath',
     'screen_name': 'bibhasdn'}]},
  'favorite_count': 0,
  'favorited': False,
  'geo': None,
  'id': 750691533293105152,
  'id_str': '750691533293105152',
  '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': True,
  'lang': 'en',
  'place': None,
  'possibly_sensitive': False,
  'quoted_status_id': 750650367243878400,
  'quoted_status_id_str': '750650367243878400',
  'retweet_count': 1,
  'retweeted': False,
  'retweeted_status': {'contributors': None,
   'coordinates': None,
   'created_at': 'Wed Jul 06 13:28:59 +0000 2016',
   'entities': {'hashtags': [],
    'symbols': [],
    'urls': [{'display_url': 'twitter.com/f3ew/status/75…',
      'expanded_url': 'https://twitter.com/f3ew/status/750650367243878400',
      'indices': [40, 63],
      'url': 'https://t.co/Fig397k2J6'}],
    'user_mentions': []},
   'favorite_count': 2,
   'favorited': False,
   'geo': None,
   'id': 750682961456967685,
   'id_str': '750682961456967685',
   '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': True,
   'lang': 'en',
   'place': None,
   'possibly_sensitive': False,
   'quoted_status_id': 750650367243878400,
   'quoted_status_id_str': '750650367243878400',
   'retweet_count': 1,
   'retweeted': False,
   'source': '<a href="https://about.twitter.com/products/tweetdeck" rel="nofollow">TweetDeck</a>',
   'text': 'Egyptian developers rejoice everywhere. https://t.co/Fig397k2J6',
   'truncated': False},
  'source': '<a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>',
  'text': 'RT @bibhasdn: Egyptian developers rejoice everywhere. https://t.co/Fig397k2J6',
  'truncated': False},
 'statuses_count': 1785,
 'time_zone': 'New Delhi',
 'url': 'http://t.co/ltRc6FOO9y',
 'utc_offset': 19800,
 'verified': False}

In [46]:
list_i = response['users']
matrix = {}
my_list = []
for item in list_i:
    #print(item)
    
    try:
        #print(item['name'], "-", item['location'],"-", item['time_zone'])
        matrix = {'name': item['name'], 'timezone':item['time_zone']}
        
        my_list.append(matrix)
        #print(matrix)
        #print(my_list)
    except:
        pass
next_cursor = response["next_cursor"]
print(my_list)


[{'timezone': 'Central Time (US & Canada)', 'name': 'Brian Brushwood'}, {'timezone': 'New Delhi', 'name': 'Indradhanush Gupta'}, {'timezone': None, 'name': 'Sasintheran'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'TriNet'}, {'timezone': 'London', 'name': 'HRtech'}, {'timezone': None, 'name': 'Aniruddha bonny'}, {'timezone': None, 'name': 'Viraj Patil'}, {'timezone': 'New Delhi', 'name': 'Guruprakash'}, {'timezone': None, 'name': 'GoCampNYC'}, {'timezone': None, 'name': 'sharique'}, {'timezone': 'New Delhi', 'name': 'HARSH'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Taufiqur Rahman'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'பாலாஜி'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Akshat Mittal'}, {'timezone': None, 'name': 'sameera sy'}, {'timezone': None, 'name': 'Sai Kiran_skr'}, {'timezone': 'New Delhi', 'name': 'Ankit Sultana'}, {'timezone': 'Central Time (US & Canada)', 'name': 'Aaron Tracy'}, {'timezone': None, 'name': 'devadas'}, {'timezone': None, 'name': 'Hitesh Parwani'}, {'timezone': 'Santiago', 'name': 'Cristobal Sierpe'}, {'timezone': None, 'name': 'Abhijith C'}, {'timezone': None, 'name': 'vinayak'}, {'timezone': None, 'name': 'Premnath Xavier'}, {'timezone': None, 'name': 'Hasunie Adikari'}, {'timezone': None, 'name': 'CONNECTEDREAMS'}, {'timezone': 'Hawaii', 'name': 'Vaid, Abhishek'}, {'timezone': 'Chennai', 'name': 'Rashmi Bachani'}, {'timezone': 'Chennai', 'name': 'Vikram raj'}, {'timezone': 'New Delhi', 'name': 'Mrs. Stewie Griffin'}, {'timezone': 'New Delhi', 'name': 'Chitharanjan Das'}, {'timezone': None, 'name': 'Viru'}, {'timezone': 'New Delhi', 'name': 'Heeren Darji'}, {'timezone': None, 'name': 'Soumya'}, {'timezone': 'Kolkata', 'name': 'Vivek Kumar'}, {'timezone': None, 'name': 'Neha Singh'}, {'timezone': None, 'name': 'Shaista Eqbal'}, {'timezone': 'Central Time (US & Canada)', 'name': 'Motivation for Women'}, {'timezone': None, 'name': 'Abhinandan'}, {'timezone': 'Central Time (US & Canada)', 'name': 'Goodkindles'}, {'timezone': None, 'name': 'Anish Agarwal'}, {'timezone': 'Central Time (US & Canada)', 'name': 'The Sourcing Wizard'}, {'timezone': None, 'name': 'Sanjay Kharb'}, {'timezone': 'Chennai', 'name': 'Gururaj'}, {'timezone': 'Mumbai', 'name': 'sayoojnair'}, {'timezone': None, 'name': 'akshay'}, {'timezone': 'New Delhi', 'name': 'Jagan Ganti'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'JagdishNarayandasani'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'chandresh'}, {'timezone': None, 'name': 'Hackathons Top News'}, {'timezone': 'New Delhi', 'name': 'Pradeep Chowdhary'}, {'timezone': None, 'name': 'ColectivosVip Italia'}, {'timezone': None, 'name': 'Ankit Kumar Gupta'}, {'timezone': 'New Delhi', 'name': 'Apoorva Bhalla'}, {'timezone': 'Central Time (US & Canada)', 'name': 'Jonathan Kidder'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Saumya Verma'}, {'timezone': None, 'name': 'Sourabh Vora'}, {'timezone': None, 'name': 'Vignesh Shetty'}, {'timezone': None, 'name': 'Shruti Kolagad'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Dan Green'}, {'timezone': None, 'name': 'Annu Nirmal'}, {'timezone': 'Mumbai', 'name': 'Satyam Zode'}, {'timezone': None, 'name': 'Sandeep Tendulkar'}, {'timezone': 'Amsterdam', 'name': 'Chetan Kapoor'}, {'timezone': 'New Delhi', 'name': 'Srinivas Devaki'}, {'timezone': 'Karachi', 'name': 'Zuhair'}, {'timezone': None, 'name': 'Pritam Bohra'}, {'timezone': 'London', 'name': 'Aarón Negrín'}, {'timezone': 'New Delhi', 'name': 'Kaustav Das Modak'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'CITYGASM'}, {'timezone': 'London', 'name': 'Andrew Murray'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Harini V Reddy'}, {'timezone': 'Hawaii', 'name': 'Raza'}, {'timezone': None, 'name': 'Danial Lupi109'}, {'timezone': None, 'name': 'vivin.v'}, {'timezone': 'Quito', 'name': 'Emerge Capital'}, {'timezone': None, 'name': 'sidhu yadav'}, {'timezone': None, 'name': 'Raghavendra Kurabet'}, {'timezone': 'Chennai', 'name': 'Sajid Akhtar'}, {'timezone': 'Paris', 'name': 'Henri LEPIC'}, {'timezone': 'Mumbai', 'name': 'Vishwesh ᕙ(⇀‸↼)ᕗ'}, {'timezone': 'New Delhi', 'name': 'Rajat Garg'}, {'timezone': 'Asia/Calcutta', 'name': 'M.Karthikeyan'}, {'timezone': 'New Delhi', 'name': 'Satyajeet Kanetkar'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Share Ideas'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'Jon Lund Steffensen'}, {'timezone': 'International Date Line West', 'name': 'nhuhoan'}, {'timezone': 'Asia/Calcutta', 'name': 'Pritam Bankar'}, {'timezone': None, 'name': 'Ashwini Singh'}, {'timezone': 'New Delhi', 'name': 'Himanshu Rathore'}, {'timezone': 'Mumbai', 'name': 'Wungmathing Shaiza'}, {'timezone': None, 'name': 'gaganjyot'}, {'timezone': 'Chennai', 'name': 'Renjith Thankachan'}, {'timezone': None, 'name': 'Classroom of Future'}, {'timezone': 'Jerusalem', 'name': 'Jacob Share'}, {'timezone': 'Chennai', 'name': 'Rahul Sharma'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Cru'}, {'timezone': None, 'name': 'Kyle Dingler'}, {'timezone': None, 'name': 'pramod'}, {'timezone': None, 'name': 'Tibin'}, {'timezone': 'Mexico City', 'name': 'Luis Silva'}, {'timezone': None, 'name': 'henry erickson'}, {'timezone': None, 'name': 'Sourcing Tweets'}, {'timezone': 'West Central Africa', 'name': 'James314'}, {'timezone': 'Kolkata', 'name': 'swarup sahoo'}, {'timezone': 'Mumbai', 'name': 'vikrampothnis'}, {'timezone': None, 'name': 'Aiswarya'}, {'timezone': None, 'name': 'aaron'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Syed Nisar Ul Haq'}, {'timezone': 'Mountain Time (US & Canada)', 'name': 'StackOverflowCareers'}, {'timezone': None, 'name': 'Abhas Bhattacharya'}, {'timezone': None, 'name': 'HARSHIT GARG'}, {'timezone': None, 'name': 'Mubarak~(مبارك\u200e)'}, {'timezone': 'Hawaii', 'name': 'Abhilash Panigrahi'}, {'timezone': 'Mumbai', 'name': 'Sanket Pathak'}, {'timezone': None, 'name': 'Doree_tmarket'}, {'timezone': 'Mumbai', 'name': 'chitrank dixit'}, {'timezone': 'Kathmandu', 'name': 'Sudip Kafle'}, {'timezone': None, 'name': 'MariaBWoods'}, {'timezone': None, 'name': 'Mukesh Ranakoti'}, {'timezone': 'Athens', 'name': 'SYNQ'}, {'timezone': 'Arizona', 'name': 'Naushad K.M'}, {'timezone': 'New Delhi', 'name': 'Rohit Gupta'}, {'timezone': 'New Delhi', 'name': 'Amrith Yerramilli'}, {'timezone': None, 'name': 'Aeonic'}, {'timezone': 'New Delhi', 'name': 'Kartik'}, {'timezone': None, 'name': 'Lamarana Diallo'}, {'timezone': None, 'name': 'Pranit Gaikwad'}, {'timezone': 'Asia/Calcutta', 'name': 'Soundar Raj'}, {'timezone': 'Melbourne', 'name': 'Transeo'}, {'timezone': None, 'name': 'MD Shahrouq'}, {'timezone': 'New Delhi', 'name': 'Prasanna Upadhya'}, {'timezone': 'Mumbai', 'name': 'Navaneesh Kumar'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'Randy Olson'}, {'timezone': 'New Delhi', 'name': 'Palashmax'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'shubham nehra'}, {'timezone': 'Kolkata', 'name': 'Amjad'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'jaswinder chaddha'}, {'timezone': None, 'name': 'Karen Holsworth'}, {'timezone': 'Chennai', 'name': 'Gautam Gurukumar'}, {'timezone': 'Chennai', 'name': 'InMobi Technology'}, {'timezone': None, 'name': 'Aditya Dalwani'}, {'timezone': 'Chennai', 'name': 'Karan Rajpal'}, {'timezone': None, 'name': 'kumar rishav'}, {'timezone': None, 'name': 'Sunil Kr. Yadav'}, {'timezone': None, 'name': 'Praveengouda S Patil'}, {'timezone': None, 'name': 'Prashant Yadav'}, {'timezone': None, 'name': 'Akshay baria'}, {'timezone': None, 'name': 'SkrillexLover❤️❤️✌'}, {'timezone': None, 'name': 'Pawan Kalyan Fan'}, {'timezone': None, 'name': 'pRAVIN'}, {'timezone': None, 'name': 'Sourabh Patil'}, {'timezone': None, 'name': 'My Info'}, {'timezone': 'Hawaii', 'name': 'Sandeep Katta'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Clarence Gaines'}, {'timezone': 'New Delhi', 'name': 'faza'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'David Lee'}, {'timezone': 'New Delhi', 'name': 'Tarun Garg'}, {'timezone': 'Kolkata', 'name': 'Charitra kocheri'}, {'timezone': 'Kolkata', 'name': 'Rishi Mukherjee'}, {'timezone': None, 'name': 'V I S H A L'}, {'timezone': 'New Delhi', 'name': 'Pranav Pai'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Karan Sharma'}, {'timezone': None, 'name': 'Indever Karsija'}, {'timezone': 'Indiana (East)', 'name': 'Yash Varun'}, {'timezone': None, 'name': 'chirag'}, {'timezone': 'New Delhi', 'name': 'Rex-Drugs-RockNRoll'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'Nichole Elizabeth'}, {'timezone': None, 'name': 'Carl Wengeler'}, {'timezone': 'New Delhi', 'name': 'Sonnu Kkumar'}, {'timezone': None, 'name': 'Jennifer Smith'}, {'timezone': 'New Delhi', 'name': 'Abhijit Bangera'}, {'timezone': None, 'name': 'rahul singhaniya'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'Dice.com'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Vishant Prajapati'}, {'timezone': 'Casablanca', 'name': 'Rec Entrepreneur'}, {'timezone': 'New Delhi', 'name': 'Ayush'}, {'timezone': 'Central Time (US & Canada)', 'name': 'William Tincup'}, {'timezone': None, 'name': 'Caliopa Gaunter'}, {'timezone': 'New Delhi', 'name': 'Deepak Purbia'}, {'timezone': None, 'name': 'alenareva'}, {'timezone': 'Chennai', 'name': 'Vasudha Chandak'}, {'timezone': 'Chennai', 'name': 'Avinash Kumar'}, {'timezone': 'New Delhi', 'name': 'Ankit'}, {'timezone': 'Pacific Time (US & Canada)', 'name': 'Stacy Donovan Zapar'}, {'timezone': None, 'name': 'Nandish Deshmukh'}, {'timezone': 'Athens', 'name': 'Workable'}, {'timezone': None, 'name': 'Ashish Horo'}, {'timezone': None, 'name': 'Ambarish Malangi'}, {'timezone': 'Mumbai', 'name': 'Dipesh Garg'}, {'timezone': 'Chennai', 'name': 'Balasubramaniam M'}, {'timezone': 'Eastern Time (US & Canada)', 'name': 'JeanBaptist Audrerie'}, {'timezone': None, 'name': 'SHUBHAM SINGH'}, {'timezone': None, 'name': 'gautam'}, {'timezone': 'Chennai', 'name': 'Ravi Paliwal'}, {'timezone': None, 'name': 'Fredrick Francis'}, {'timezone': None, 'name': 'abraar syed'}, {'timezone': None, 'name': 'Careerchat'}, {'timezone': None, 'name': 'Cheza Cornel'}, {'timezone': 'Central Time (US & Canada)', 'name': 'Ryan Duckworth'}]

In [49]:
#for item in my_list:
df = pd.DataFrame.from_records(my_list)
df.head(20)


Out[49]:
name timezone
0 Brian Brushwood Central Time (US & Canada)
1 Indradhanush Gupta New Delhi
2 Sasintheran None
3 TriNet Pacific Time (US & Canada)
4 HRtech London
5 Aniruddha bonny None
6 Viraj Patil None
7 Guruprakash New Delhi
8 GoCampNYC None
9 sharique None
10 HARSH New Delhi
11 Taufiqur Rahman Pacific Time (US & Canada)
12 பாலாஜி Pacific Time (US & Canada)
13 Akshat Mittal Pacific Time (US & Canada)
14 sameera sy None
15 Sai Kiran_skr None
16 Ankit Sultana New Delhi
17 Aaron Tracy Central Time (US & Canada)
18 devadas None
19 Hitesh Parwani None

In [56]:
df.groupby('timezone').count().plot(kind='bar', label='DoSelect Twitter Followers')


Out[56]:
<matplotlib.axes._subplots.AxesSubplot at 0x72f97f0>

In [ ]: