Skip to content

Instantly share code, notes, and snippets.

@aaizemberg
Last active September 2, 2019 16:25
Show Gist options
  • Save aaizemberg/c297e70f46a57affee76d8886a607298 to your computer and use it in GitHub Desktop.
Save aaizemberg/c297e70f46a57affee76d8886a607298 to your computer and use it in GitHub Desktop.
ejemplo de un tuit (en formato JSON)
{'contributors': None,
'coordinates': None,
'created_at': 'Sun Sep 01 19:05:54 +0000 2019',
'display_text_range': [0, 92],
'entities': {'hashtags': [],
'media': [{'display_url': 'pic.twitter.com/OjmCRfs0Vv',
'expanded_url': 'https://twitter.com/aaizemberg/status/1168238568688553989/photo/1',
'id': 1168238539403943944,
'id_str': '1168238539403943944',
'indices': [93, 116],
'media_url': 'http://pbs.twimg.com/media/EDZqwxIX4AgqZkz.jpg',
'media_url_https': 'https://pbs.twimg.com/media/EDZqwxIX4AgqZkz.jpg',
'sizes': {'large': {'h': 2048, 'resize': 'fit', 'w': 1153},
'medium': {'h': 1200, 'resize': 'fit', 'w': 676},
'small': {'h': 680, 'resize': 'fit', 'w': 383},
'thumb': {'h': 150, 'resize': 'crop', 'w': 150}},
'type': 'photo',
'url': 'https://t.co/OjmCRfs0Vv'}],
'symbols': [],
'urls': [],
'user_mentions': []},
'extended_entities': {'media': [{'display_url': 'pic.twitter.com/OjmCRfs0Vv',
'expanded_url': 'https://twitter.com/aaizemberg/status/1168238568688553989/photo/1',
'id': 1168238539403943944,
'id_str': '1168238539403943944',
'indices': [93, 116],
'media_url': 'http://pbs.twimg.com/media/EDZqwxIX4AgqZkz.jpg',
'media_url_https': 'https://pbs.twimg.com/media/EDZqwxIX4AgqZkz.jpg',
'sizes': {'large': {'h': 2048, 'resize': 'fit', 'w': 1153},
'medium': {'h': 1200, 'resize': 'fit', 'w': 676},
'small': {'h': 680, 'resize': 'fit', 'w': 383},
'thumb': {'h': 150, 'resize': 'crop', 'w': 150}},
'type': 'photo',
'url': 'https://t.co/OjmCRfs0Vv'},
{'display_url': 'pic.twitter.com/OjmCRfs0Vv',
'expanded_url': 'https://twitter.com/aaizemberg/status/1168238568688553989/photo/1',
'id': 1168238552574038019,
'id_str': '1168238552574038019',
'indices': [93, 116],
'media_url': 'http://pbs.twimg.com/media/EDZqxiMXkAM6TOw.jpg',
'media_url_https': 'https://pbs.twimg.com/media/EDZqxiMXkAM6TOw.jpg',
'sizes': {'large': {'h': 2048, 'resize': 'fit', 'w': 1153},
'medium': {'h': 1200, 'resize': 'fit', 'w': 676},
'small': {'h': 680, 'resize': 'fit', 'w': 383},
'thumb': {'h': 150, 'resize': 'crop', 'w': 150}},
'type': 'photo',
'url': 'https://t.co/OjmCRfs0Vv'}]},
'favorite_count': 36,
'favorited': False,
'full_text': 'Usen casco siempre!!!\n\nHoy se me rompió un pedal y por suerte sólo tengo un par de raspones. https://t.co/OjmCRfs0Vv',
'geo': None,
'id': 1168238568688553989,
'id_str': '1168238568688553989',
'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': 'es',
'place': None,
'possibly_sensitive': False,
'retweet_count': 8,
'retweeted': False,
'source': '<a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>',
'truncated': False,
'user': {'contributors_enabled': False,
'created_at': 'Mon Jul 21 13:56:58 +0000 2008',
'default_profile': False,
'default_profile_image': False,
'description': '💚 infovis professor | developer | gis | data mining | spatial databases \U0001f9e1',
'entities': {'description': {'urls': []},
'url': {'urls': [{'display_url': 'linkedin.com/in/arielaizemb…',
'expanded_url': 'http://www.linkedin.com/in/arielaizemberg',
'indices': [0, 22],
'url': 'http://t.co/FQteSeOA1a'}]}},
'favourites_count': 778,
'follow_request_sent': False,
'followers_count': 960,
'following': False,
'friends_count': 1008,
'geo_enabled': True,
'has_extended_profile': False,
'id': 15515020,
'id_str': '15515020',
'is_translation_enabled': False,
'is_translator': False,
'lang': None,
'listed_count': 55,
'location': 'Buenos Aires, Argentina',
'name': 'Ariel Aizemberg',
'notifications': False,
'profile_background_color': 'ACDED6',
'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme18/bg.gif',
'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme18/bg.gif',
'profile_background_tile': True,
'profile_banner_url': 'https://pbs.twimg.com/profile_banners/15515020/1529536959',
'profile_image_url': 'http://pbs.twimg.com/profile_images/1007272095439519744/CBNfy20R_normal.jpg',
'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1007272095439519744/CBNfy20R_normal.jpg',
'profile_link_color': '19CF86',
'profile_sidebar_border_color': 'EEEEEE',
'profile_sidebar_fill_color': 'F6F6F6',
'profile_text_color': '333333',
'profile_use_background_image': True,
'protected': False,
'screen_name': 'aaizemberg',
'statuses_count': 2170,
'time_zone': None,
'translator_type': 'none',
'url': 'http://t.co/FQteSeOA1a',
'utc_offset': None,
'verified': False}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment