Skip to content

Instantly share code, notes, and snippets.

@oiami
Created July 19, 2012 07:46
Show Gist options
  • Save oiami/3141422 to your computer and use it in GitHub Desktop.
Save oiami/3141422 to your computer and use it in GitHub Desktop.
bless( {
'json_results' => undef,
'page' => 1,
'_duplicates' => 0,
'entries_per_page' => '10',
'query' => 'thailand',
'supplemental_count' => 0,
'supplemental_hits' => [],
'entry_class' => 'Net::Search::JSON::Entry',
'current_count' => 0,
'weed_results' => 1,
'struct' => {
'since_id_str' => '0',
'page' => 1,
'query' => 'thailand',
'completed_in' => '0.088',
'refresh_url' => '?since_id=225855436572749824&q=thailand&result_type=mixed&include_entities=1',
'data' => {},
'entry_type' => 'Twitter',
'entry_text' => undef,
'next_page' => '?page=2&max_id=225855436572749824&q=thailand&rpp=1&include_entities=1&result_type=mixed',
'results_per_page' => 1,
'max_id' => '225855436572749824',
'result' => [
{}
],
'since_id' => 0,
'max_id_str' => '225855436572749824',
'results' => [
{
'to_user_id' => 0,
'source' => '<a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a>',
'profile_image_url' => 'http://a0.twimg.com/profile_images/2274063335/x5uh23bpbjqym3n6t960_normal.png',
'profile_image_url_https' => 'https://si0.twimg.com/profile_images/2274063335/x5uh23bpbjqym3n6t960_normal.png',
'entities' => {
'user_mentions' => [],
'hashtags' => [],
'urls' => []
},
'created_at' => 'Tue, 17 Jul 2012 10:56:26 +0000',
'text' => "GD: *\x{e40}\x{e02}\x{e49}\x{e32}\x{e23}\x{e48}\x{e27}\x{e21}\x{e17}\x{e27}\x{e34}\x{e15}\x{e40}\x{e15}\x{e2d}\x{e23}\x{e4c}*, >> *\x{e17}\x{e27}\x{e35}\x{e15}\x{e44}\x{e1b} 3 \x{e04}\x{e23}\x{e31}\x{e49}\x{e07}* >> *\x{e21}\x{e35}\x{e1f}\x{e2d}\x{e25}\x{e42}\x{e25}\x{e40}\x{e27}\x{e2d}\x{e23}\x{e4c} 150000+ \x{e20}\x{e32}\x{e22}\x{e43}\x{e19}\x{e40}\x{e27}\x{e25}\x{e32} 10 \x{e0a}\x{e31}\x{e48}\x{e27}\x{e42}\x{e21}\x{e07}* >> GD: \x{e1c}\x{e21}\x{e44}\x{e21}\x{e48}\x{e23}\x{e39}\x{e49}\x{e27}\x{e48}\x{e32}\x{e21}\x{e31}\x{e19}\x{e40}\x{e25}\x{e48}\x{e19}\x{e22}\x{e31}\x{e07}\x{e44}\x{e07}.. Like a boss..",
'metadata' => {
'result_type' => 'popular',
'recent_retweets' => 9
},
'id' => '225182163706986497',
'from_user_id_str' => '270806197',
'from_user' => 'VIPz_Thailand',
'geo' => undef,
'from_user_id' => 270806197,
'id_str' => '225182163706986497',
'iso_language_code' => 'th',
'to_user_id_str' => '0',
'to_user' => undef,
'from_user_name' => 'VIPz Thailand ',
'to_user_name' => undef
},
{
'to_user_id' => 0,
'source' => '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>',
'profile_image_url' => 'http://a0.twimg.com/profile_images/1408065989/twitpic_normal.jpg',
'profile_image_url_https' => 'https://si0.twimg.com/profile_images/1408065989/twitpic_normal.jpg',
'entities' => {
'user_mentions' => [],
'hashtags' => [],
'urls' => []
},
'created_at' => 'Tue, 17 Jul 2012 23:23:05 +0000',
'text' => 'Thailand! Only 10 more days till our show :D what do want to see/hear from us?',
'metadata' => {
'result_type' => 'popular',
'recent_retweets' => 7
},
'id' => '225370064323477504',
'from_user_id_str' => '150257031',
'from_user' => 'jayessleemusic',
'geo' => undef,
'from_user_id' => 150257031,
'id_str' => '225370064323477504',
'iso_language_code' => 'en',
'to_user_id_str' => '0',
'to_user' => undef,
'from_user_name' => 'Jayesslee',
'to_user_name' => undef
},
{
'to_user_id' => 0,
'source' => '<a href="http://twitter.com/">web</a>',
'profile_image_url' => 'http://a0.twimg.com/profile_images/2364492544/mhujpzpe2knj8crree2a_normal.jpeg',
'profile_image_url_https' => 'https://si0.twimg.com/profile_images/2364492544/mhujpzpe2knj8crree2a_normal.jpeg',
'entities' => {
'user_mentions' => [],
'hashtags' => [],
'urls' => []
},
'created_at' => 'Wed, 18 Jul 2012 12:00:28 +0000',
'text' => 'Can\'t believe Pete Doherty got kicked out of rehab in Thailand. Bet he tried to give heroin to a tiger.',
'metadata' => {
'result_type' => 'popular',
'recent_retweets' => 6
},
'id' => '225560667925651456',
'from_user_id_str' => '15972500',
'from_user' => 'mitchrhyskent',
'geo' => undef,
'from_user_id' => 15972500,
'id_str' => '225560667925651456',
'iso_language_code' => 'en',
'to_user_id_str' => '0',
'to_user' => undef,
'from_user_name' => 'Mitch Kent',
'to_user_name' => undef
},
{
'to_user_id' => 0,
'source' => "<a href="http://blackberry.com/twitter" rel="nofollow">Twitter for BlackBerry\x{ae}</a>",
'profile_image_url' => 'http://a0.twimg.com/profile_images/1551254873/twitter_normal.jpg',
'profile_image_url_https' => 'https://si0.twimg.com/profile_images/1551254873/twitter_normal.jpg',
'entities' => {
'user_mentions' => [
{
'name' => 'yari tiar hudayana',
'indices' => [
3,
13
],
'id_str' => '97512100',
'id' => 97512100,
'screen_name' => 'yaritiarh'
},
{
'name' => 'LEAGUE WORLD',
'indices' => [
68,
81
],
'id_str' => '89141487',
'id' => 89141487,
'screen_name' => 'league_world'
},
{
'name' => 'Asep Hadian',
'indices' => [
82,
91
],
'id_str' => '68912765',
'id' => 68912765,
'screen_name' => 'hadiaase'
}
],
'hashtags' => [],
'urls' => []
},
'created_at' => 'Thu, 19 Jul 2012 07:31:46 +0000',
'text' => 'RT @yaritiarh: Sadiiiiiissss..siap2 pemain thailand pake sepatu nya @league_world @hadiaase masih dong. Matrix goes to Thailand!"',
'metadata' => {
'result_type' => 'recent'
},
'id' => '225855436572749824',
'from_user_id_str' => '89141487',
'from_user' => 'league_world',
'geo' => undef,
'from_user_id' => 89141487,
'id_str' => '225855436572749824',
'iso_language_code' => 'in',
'to_user_id_str' => '0',
'to_user' => undef,
'from_user_name' => 'LEAGUE WORLD',
'to_user_name' => undef
}
]
},
'pager' => bless( {
'total_entries' => undef,
'current_page' => 1,
'entries_per_page' => '10'
}, 'Data::Page' ),
'_seen_hits' => {}
}, 'Net::Search::JSON::Result' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment