Seems better to have the raw data as JSON, like it comes from the API, then load it into python objects for each test.
170 lines
4.1 KiB
JSON
170 lines
4.1 KiB
JSON
{
|
|
"contributors":null,
|
|
"truncated":false,
|
|
"text":"http://t.co/FCmXyI6VHd is a #cool site, lol! @mikehelmick shd #checkitout. Love, @__twython__ https://t.co/67pwRvY6z9 http://t.co/N6InAO4B71",
|
|
"in_reply_to_status_id":null,
|
|
"id":349683012054683648,
|
|
"favorite_count":0,
|
|
"source":"<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
|
|
"retweeted":false,
|
|
"coordinates":null,
|
|
"entities":{
|
|
"symbols":[
|
|
|
|
],
|
|
"user_mentions":[
|
|
{
|
|
"id":29251354,
|
|
"indices":[
|
|
45,
|
|
57
|
|
],
|
|
"id_str":"29251354",
|
|
"screen_name":"mikehelmick",
|
|
"name":"Mike Helmick"
|
|
},
|
|
{
|
|
"id":1431865928,
|
|
"indices":[
|
|
81,
|
|
93
|
|
],
|
|
"id_str":"1431865928",
|
|
"screen_name":"__twython__",
|
|
"name":"Twython"
|
|
}
|
|
],
|
|
"hashtags":[
|
|
{
|
|
"indices":[
|
|
28,
|
|
33
|
|
],
|
|
"text":"cool"
|
|
},
|
|
{
|
|
"indices":[
|
|
62,
|
|
73
|
|
],
|
|
"text":"checkitout"
|
|
}
|
|
],
|
|
"urls":[
|
|
{
|
|
"url":"http://t.co/FCmXyI6VHd",
|
|
"indices":[
|
|
0,
|
|
22
|
|
],
|
|
"expanded_url":"http://google.com",
|
|
"display_url":"google.com"
|
|
},
|
|
{
|
|
"url":"https://t.co/67pwRvY6z9",
|
|
"indices":[
|
|
94,
|
|
117
|
|
],
|
|
"expanded_url":"https://github.com",
|
|
"display_url":"github.com"
|
|
}
|
|
],
|
|
"media":[
|
|
{
|
|
"id":537884378513162240,
|
|
"id_str":"537884378513162240",
|
|
"indices":[
|
|
118,
|
|
140
|
|
],
|
|
"media_url":"http://pbs.twimg.com/media/B3by_g-CQAAhrO5.jpg",
|
|
"media_url_https":"https://pbs.twimg.com/media/B3by_g-CQAAhrO5.jpg",
|
|
"url":"http://t.co/N6InAO4B71",
|
|
"display_url":"pic.twitter.com/N6InAO4B71",
|
|
"expanded_url":"http://twitter.com/pingofglitch/status/537884380060844032/photo/1",
|
|
"type":"photo",
|
|
"sizes":{
|
|
"large":{
|
|
"w":1024,
|
|
"h":640,
|
|
"resize":"fit"
|
|
},
|
|
"thumb":{
|
|
"w":150,
|
|
"h":150,
|
|
"resize":"crop"
|
|
},
|
|
"medium":{
|
|
"w":600,
|
|
"h":375,
|
|
"resize":"fit"
|
|
},
|
|
"small":{
|
|
"w":340,
|
|
"h":212,
|
|
"resize":"fit"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"in_reply_to_screen_name":null,
|
|
"id_str":"349683012054683648",
|
|
"retweet_count":0,
|
|
"in_reply_to_user_id":null,
|
|
"favorited":false,
|
|
"user":{
|
|
"follow_request_sent":false,
|
|
"profile_use_background_image":true,
|
|
"default_profile_image":true,
|
|
"id":1431865928,
|
|
"verified":false,
|
|
"profile_text_color":"333333",
|
|
"profile_image_url_https":"https://si0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png",
|
|
"profile_sidebar_fill_color":"DDEEF6",
|
|
"entities":{
|
|
"description":{
|
|
"urls":[
|
|
|
|
]
|
|
}
|
|
},
|
|
"followers_count":1,
|
|
"profile_sidebar_border_color":"C0DEED",
|
|
"id_str":"1431865928",
|
|
"profile_background_color":"3D3D3D",
|
|
"listed_count":0,
|
|
"profile_background_image_url_https":"https://si0.twimg.com/images/themes/theme1/bg.png",
|
|
"utc_offset":null,
|
|
"statuses_count":2,
|
|
"description":"",
|
|
"friends_count":1,
|
|
"location":"",
|
|
"profile_link_color":"0084B4",
|
|
"profile_image_url":"http://a0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png",
|
|
"following":false,
|
|
"geo_enabled":false,
|
|
"profile_background_image_url":"http://a0.twimg.com/images/themes/theme1/bg.png",
|
|
"screen_name":"__twython__",
|
|
"lang":"en",
|
|
"profile_background_tile":false,
|
|
"favourites_count":0,
|
|
"name":"Twython",
|
|
"notifications":false,
|
|
"url":null,
|
|
"created_at":"Thu May 16 01:11:09 +0000 2013",
|
|
"contributors_enabled":false,
|
|
"time_zone":null,
|
|
"protected":false,
|
|
"default_profile":false,
|
|
"is_translator":false
|
|
},
|
|
"geo":null,
|
|
"in_reply_to_user_id_str":null,
|
|
"possibly_sensitive":false,
|
|
"lang":"en",
|
|
"created_at":"Wed Jun 26 00:18:21 +0000 2013",
|
|
"in_reply_to_status_id_str":null,
|
|
"place":null
|
|
}
|