gilesbowkett-twitter 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/History +126 -0
  2. data/License +19 -0
  3. data/Manifest +69 -0
  4. data/README +84 -0
  5. data/Rakefile +42 -0
  6. data/bin/twitter +14 -0
  7. data/examples/blocks.rb +15 -0
  8. data/examples/direct_messages.rb +29 -0
  9. data/examples/favorites.rb +20 -0
  10. data/examples/friends_followers.rb +25 -0
  11. data/examples/friendships.rb +13 -0
  12. data/examples/identica_timeline.rb +7 -0
  13. data/examples/location.rb +8 -0
  14. data/examples/posting.rb +9 -0
  15. data/examples/replies.rb +27 -0
  16. data/examples/search.rb +18 -0
  17. data/examples/sent_messages.rb +27 -0
  18. data/examples/timeline.rb +34 -0
  19. data/examples/twitter.rb +27 -0
  20. data/examples/verify_credentials.rb +13 -0
  21. data/lib/twitter/base.rb +284 -0
  22. data/lib/twitter/cli/config.rb +9 -0
  23. data/lib/twitter/cli/helpers.rb +109 -0
  24. data/lib/twitter/cli/migrations/20080722194500_create_accounts.rb +13 -0
  25. data/lib/twitter/cli/migrations/20080722194508_create_tweets.rb +16 -0
  26. data/lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb +9 -0
  27. data/lib/twitter/cli/migrations/20080722214606_create_configurations.rb +13 -0
  28. data/lib/twitter/cli/models/account.rb +33 -0
  29. data/lib/twitter/cli/models/configuration.rb +13 -0
  30. data/lib/twitter/cli/models/tweet.rb +20 -0
  31. data/lib/twitter/cli.rb +334 -0
  32. data/lib/twitter/direct_message.rb +30 -0
  33. data/lib/twitter/easy_class_maker.rb +43 -0
  34. data/lib/twitter/rate_limit_status.rb +19 -0
  35. data/lib/twitter/search.rb +101 -0
  36. data/lib/twitter/search_result.rb +83 -0
  37. data/lib/twitter/search_result_info.rb +82 -0
  38. data/lib/twitter/status.rb +22 -0
  39. data/lib/twitter/user.rb +37 -0
  40. data/lib/twitter/version.rb +3 -0
  41. data/lib/twitter.rb +32 -0
  42. data/spec/base_spec.rb +139 -0
  43. data/spec/cli/helper_spec.rb +49 -0
  44. data/spec/direct_message_spec.rb +40 -0
  45. data/spec/fixtures/follower_ids.xml +11 -0
  46. data/spec/fixtures/followers.xml +706 -0
  47. data/spec/fixtures/friend_ids.xml +12 -0
  48. data/spec/fixtures/friends.xml +609 -0
  49. data/spec/fixtures/friends_for.xml +584 -0
  50. data/spec/fixtures/friends_lite.xml +192 -0
  51. data/spec/fixtures/friends_timeline.xml +66 -0
  52. data/spec/fixtures/friendship_already_exists.xml +5 -0
  53. data/spec/fixtures/friendship_created.xml +12 -0
  54. data/spec/fixtures/public_timeline.xml +148 -0
  55. data/spec/fixtures/rate_limit_status.xml +7 -0
  56. data/spec/fixtures/search_result_info.yml +147 -0
  57. data/spec/fixtures/search_results.json +1 -0
  58. data/spec/fixtures/status.xml +25 -0
  59. data/spec/fixtures/user.xml +38 -0
  60. data/spec/fixtures/user_timeline.xml +465 -0
  61. data/spec/search_spec.rb +100 -0
  62. data/spec/spec.opts +1 -0
  63. data/spec/spec_helper.rb +23 -0
  64. data/spec/status_spec.rb +40 -0
  65. data/spec/user_spec.rb +42 -0
  66. data/twitter.gemspec +45 -0
  67. data/website/css/common.css +47 -0
  68. data/website/images/terminal_output.png +0 -0
  69. data/website/index.html +147 -0
  70. metadata +188 -0
@@ -0,0 +1,192 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <users type="array">
3
+ <user>
4
+ <id>20</id>
5
+ <name>Evan Williams</name>
6
+ <screen_name>ev</screen_name>
7
+ <location>San Francisco, CA, US</location>
8
+ <description>Founder of Obvious </description>
9
+
10
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14019652/ev-sky_normal.jpg</profile_image_url>
11
+ <url>http://evhead.com</url>
12
+ <protected>false</protected>
13
+ <followers_count>11462</followers_count>
14
+ </user>
15
+ <user>
16
+ <id>246</id>
17
+
18
+ <name>Blaine Cook</name>
19
+ <screen_name>blaine</screen_name>
20
+ <location>San Francisco</location>
21
+ <description>TwitterInterpreter.</description>
22
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14022002/171593560_00e00bc7c9_normal.jpg</profile_image_url>
23
+ <url>http://romeda.org/</url>
24
+
25
+ <protected>false</protected>
26
+ <followers_count>2766</followers_count>
27
+ </user>
28
+ <user>
29
+ <id>8906</id>
30
+ <name>Daniel Morrison</name>
31
+ <screen_name>danielmorrison</screen_name>
32
+
33
+ <location>Holland, MI</location>
34
+ <description>I write code between hanging out at conferences.</description>
35
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/51898464/verygreenteam_template_normal.png</profile_image_url>
36
+ <url>http://daniel.collectiveidea.com</url>
37
+ <protected>false</protected>
38
+ <followers_count>321</followers_count>
39
+
40
+ </user>
41
+ <user>
42
+ <id>10718</id>
43
+ <name>Geoffrey Grosenbach</name>
44
+ <screen_name>topfunky</screen_name>
45
+ <location>Seattle</location>
46
+ <description>Independent publisher, senior visionary</description>
47
+
48
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14408202/im_normal.gif</profile_image_url>
49
+ <url>http://topfunky.com</url>
50
+ <protected>false</protected>
51
+ <followers_count>1326</followers_count>
52
+ </user>
53
+ <user>
54
+ <id>12196</id>
55
+
56
+ <name>Wilson Miner</name>
57
+ <screen_name>wilsonminer</screen_name>
58
+ <location>San Francisco, CA</location>
59
+ <description>The windy man, the long mover.</description>
60
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/47103512/wilson-sharp-bright_normal.jpg</profile_image_url>
61
+ <url>http://www.wilsonminer.com/</url>
62
+
63
+ <protected>false</protected>
64
+ <followers_count>462</followers_count>
65
+ </user>
66
+ <user>
67
+ <id>12543</id>
68
+ <name>Scott Raymond</name>
69
+ <screen_name>sco</screen_name>
70
+
71
+ <location>Kansas City</location>
72
+ <description>I am sco, plain sco, in the morning, standing five foot ten in one sock.</description>
73
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52622133/scott-face-128_normal.jpg</profile_image_url>
74
+ <url>http://scottraymond.net/</url>
75
+ <protected>false</protected>
76
+ <followers_count>480</followers_count>
77
+
78
+ </user>
79
+ <user>
80
+ <id>12606</id>
81
+ <name>Bill</name>
82
+ <screen_name>billturner</screen_name>
83
+ <location>Pittsburgh, PA</location>
84
+ <description></description>
85
+
86
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14743882/_yearbook__bturner_normal.jpg</profile_image_url>
87
+ <url>http://brilliantcorners.org/</url>
88
+ <protected>false</protected>
89
+ <followers_count>128</followers_count>
90
+ </user>
91
+ <user>
92
+ <id>12661</id>
93
+
94
+ <name>Adam Keys</name>
95
+ <screen_name>therealadam</screen_name>
96
+ <location>Dallas, TX</location>
97
+ <description>Telling a joke, trying to or making a joke of myself.</description>
98
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52539922/shadesorange_normal.jpg</profile_image_url>
99
+ <url>http://therealadam.com</url>
100
+
101
+ <protected>false</protected>
102
+ <followers_count>515</followers_count>
103
+ </user>
104
+ <user>
105
+ <id>12707</id>
106
+ <name>Garrett Dimon</name>
107
+ <screen_name>garrettdimon</screen_name>
108
+
109
+ <location>Dallas, TX</location>
110
+ <description>Building a bug and issue tracker to make life more pleasant for developers.</description>
111
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/53317937/SmallAvatar_normal.jpg</profile_image_url>
112
+ <url>http://www.garrettdimon.com</url>
113
+ <protected>false</protected>
114
+ <followers_count>722</followers_count>
115
+
116
+ </user>
117
+ <user>
118
+ <id>12741</id>
119
+ <name>Dan Rubin</name>
120
+ <screen_name>danrubin</screen_name>
121
+ <location>Jacksonville Intl Airport</location>
122
+ <description>designer, singer, human. note to clients: follow me at your own risk...</description>
123
+
124
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/53213051/happy-webbies-headshot_normal.png</profile_image_url>
125
+ <url>http://superfluousbanter.org</url>
126
+ <protected>false</protected>
127
+ <followers_count>1490</followers_count>
128
+ </user>
129
+ <user>
130
+ <id>12796</id>
131
+
132
+ <name>William H Harle Jr.</name>
133
+ <screen_name>wharle</screen_name>
134
+ <location>South Bend, IN</location>
135
+ <description></description>
136
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14786702/smirking-bill_normal.jpg</profile_image_url>
137
+ <url>http://90percentgravity.com</url>
138
+
139
+ <protected>false</protected>
140
+ <followers_count>42</followers_count>
141
+ </user>
142
+ <user>
143
+ <id>12938</id>
144
+ <name>Steve Smith</name>
145
+ <screen_name>orderedlist</screen_name>
146
+
147
+ <location></location>
148
+ <description></description>
149
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52246800/avatar_normal.jpg</profile_image_url>
150
+ <url>http://orderedlist.com</url>
151
+ <protected>false</protected>
152
+ <followers_count>697</followers_count>
153
+ </user>
154
+
155
+ <user>
156
+ <id>13229</id>
157
+ <name>Sandy</name>
158
+ <screen_name>s</screen_name>
159
+ <location>Portland, OR</location>
160
+ <description>I'm Sandy, your personal email assistant. I'll remember the details so you can focus on what's important. Twitter me directly with: d s hi</description>
161
+
162
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/32694302/sandy_circle_normal.png</profile_image_url>
163
+ <url>http://iwantsandy.com/</url>
164
+ <protected>false</protected>
165
+ <followers_count>5151</followers_count>
166
+ </user>
167
+ <user>
168
+ <id>13518</id>
169
+
170
+ <name>Jesse Newland</name>
171
+ <screen_name>jnewland</screen_name>
172
+ <location>Atlanta, GA</location>
173
+ <description>Ruby/Rails hacker, IT Director at LexBlog </description>
174
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14914212/PageImage-79509-344229_normal.jpg</profile_image_url>
175
+ <url>http://jnewland.com</url>
176
+
177
+ <protected>false</protected>
178
+ <followers_count>369</followers_count>
179
+ </user>
180
+ <user>
181
+ <id>13647</id>
182
+ <name>Matt Klawitter</name>
183
+ <screen_name>mattklawitter</screen_name>
184
+
185
+ <location></location>
186
+ <description></description>
187
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14944452/17883645_N00_normal.jpg</profile_image_url>
188
+ <url>http://www.mattklawitter.com</url>
189
+ <protected>true</protected>
190
+ <followers_count>15</followers_count>
191
+ </user>
192
+ </users>
@@ -0,0 +1,66 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <statuses type="array">
3
+ <status>
4
+ <created_at>Sun May 04 21:59:52 +0000 2008</created_at>
5
+ <id>803435310</id>
6
+ <text>Writing tests (rspec) for the twitter gem that all can run. Wish I would have done this when I wrote it years back.</text>
7
+ <source>&lt;a href="http://iconfactory.com/software/twitterrific"&gt;twitterrific&lt;/a&gt;</source>
8
+ <truncated>false</truncated>
9
+ <in_reply_to_status_id></in_reply_to_status_id>
10
+ <in_reply_to_user_id></in_reply_to_user_id>
11
+ <favorited>false</favorited>
12
+ <user>
13
+ <id>4243</id>
14
+ <name>John Nunemaker</name>
15
+ <screen_name>jnunemaker</screen_name>
16
+ <location>Indiana</location>
17
+ <description>Loves his wife, ruby, notre dame football and iu basketball</description>
18
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52619256/ruby_enterprise_shirt_normal.jpg</profile_image_url>
19
+ <url>http://addictedtonew.com</url>
20
+ <protected>false</protected>
21
+ <followers_count>363</followers_count>
22
+ </user>
23
+ </status>
24
+ <status>
25
+ <created_at>Sun May 04 20:38:39 +0000 2008</created_at>
26
+ <id>803397135</id>
27
+ <text>This weekend's open-window apartment cleaning serenade to the corner of 4th &amp; Harrison: My Morning Jacket.</text>
28
+ <source>web</source>
29
+ <truncated>false</truncated>
30
+ <in_reply_to_status_id></in_reply_to_status_id>
31
+ <in_reply_to_user_id></in_reply_to_user_id>
32
+ <favorited>false</favorited>
33
+ <user>
34
+ <id>18713</id>
35
+ <name>Alex Payne</name>
36
+ <screen_name>al3x</screen_name>
37
+ <location>San Francisco, CA</location>
38
+ <description>Oh, hi. No, I just work here.</description>
39
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/51961745/al3x_normal.jpg</profile_image_url>
40
+ <url>http://www.al3x.net</url>
41
+ <protected>false</protected>
42
+ <followers_count>2891</followers_count>
43
+ </user>
44
+ </status>
45
+ <status>
46
+ <created_at>Sun May 04 19:46:01 +0000 2008</created_at>
47
+ <id>803372400</id>
48
+ <text>Experiencing Philz Coffee for the first time. It's 2 blocks from my house. Don't know what took me so long.</text>
49
+ <source>web</source>
50
+ <truncated>false</truncated>
51
+ <in_reply_to_status_id></in_reply_to_status_id>
52
+ <in_reply_to_user_id></in_reply_to_user_id>
53
+ <favorited>false</favorited>
54
+ <user>
55
+ <id>20</id>
56
+ <name>Evan Williams</name>
57
+ <screen_name>ev</screen_name>
58
+ <location>San Francisco, CA, US</location>
59
+ <description>Founder of Obvious </description>
60
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14019652/ev-sky_normal.jpg</profile_image_url>
61
+ <url>http://evhead.com</url>
62
+ <protected>false</protected>
63
+ <followers_count>11463</followers_count>
64
+ </user>
65
+ </status>
66
+ </statuses>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <hash>
3
+ <request>/friendships/create/billymeltdown.xml</request>
4
+ <error>Could not follow user: billymeltdown is already on your list.</error>
5
+ </hash>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <user>
3
+ <id>4243</id>
4
+ <name>John Nunemaker</name>
5
+ <screen_name>jnunemaker</screen_name>
6
+ <location>Indiana</location>
7
+ <description>Loves his wife, ruby, notre dame football and iu basketball</description>
8
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52619256/ruby_enterprise_shirt_normal.jpg</profile_image_url>
9
+ <url>http://addictedtonew.com</url>
10
+ <protected>false</protected>
11
+ <followers_count>363</followers_count>
12
+ </user>
@@ -0,0 +1,148 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <statuses type="array">
3
+ <status>
4
+ <created_at>Sun May 04 22:47:58 +0000 2008</created_at>
5
+ <id>803457203</id>
6
+ <text>Assistindo o jog&#227;o pelo Google Earth...</text>
7
+ <source>&lt;a href="http://www.twittermail.com/"&gt;TwitterMail&lt;/a&gt;</source>
8
+
9
+ <truncated>false</truncated>
10
+ <in_reply_to_status_id></in_reply_to_status_id>
11
+ <in_reply_to_user_id></in_reply_to_user_id>
12
+ <favorited>false</favorited>
13
+ <user>
14
+ <id>11155272</id>
15
+ <name>Fabio Muniz</name>
16
+
17
+ <screen_name>FabioMuniz</screen_name>
18
+ <location>Rio de Janeiro</location>
19
+ <description>Tudo come&#231;ou numa tarde morna, h&#225; varios anos atr&#225;s&#8230; Ih, acabou o espa&#231;o.</description>
20
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52059492/penrose_normal.png</profile_image_url>
21
+
22
+ <url></url>
23
+ <protected>false</protected>
24
+ <followers_count>52</followers_count>
25
+ </user>
26
+ </status>
27
+ <status>
28
+ <created_at>Sun May 04 22:47:58 +0000 2008</created_at>
29
+
30
+ <id>803457202</id>
31
+ <text>@shaunsmithson congrats!!!!!!!!!!!!!</text>
32
+ <source>web</source>
33
+ <truncated>false</truncated>
34
+ <in_reply_to_status_id>803317303</in_reply_to_status_id>
35
+ <in_reply_to_user_id>14414467</in_reply_to_user_id>
36
+
37
+ <favorited>false</favorited>
38
+ <user>
39
+ <id>808845</id>
40
+ <name>Stephen Shields</name>
41
+ <screen_name>sshields</screen_name>
42
+ <location></location>
43
+ <description></description>
44
+
45
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/52364892/DSCF6198_normal.JPG</profile_image_url>
46
+ <url></url>
47
+ <protected>false</protected>
48
+ <followers_count>72</followers_count>
49
+ </user>
50
+ </status>
51
+ <status>
52
+
53
+ <created_at>Sun May 04 22:47:58 +0000 2008</created_at>
54
+ <id>803457201</id>
55
+ <text>@hammerikaner Good deal. I'll think about where. Might try to see if MPR would let me have a little space for it...</text>
56
+ <source>web</source>
57
+ <truncated>false</truncated>
58
+ <in_reply_to_status_id>803454579</in_reply_to_status_id>
59
+
60
+ <in_reply_to_user_id>789943</in_reply_to_user_id>
61
+ <favorited>false</favorited>
62
+ <user>
63
+ <id>2874241</id>
64
+ <name>Jon Gordon</name>
65
+ <screen_name>jongordon</screen_name>
66
+
67
+ <location>Alameda, CA</location>
68
+ <description>Public radio tech reporter</description>
69
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/53746455/perrin_normal.jpeg</profile_image_url>
70
+ <url>http://futuretense.publicradio.org</url>
71
+ <protected>false</protected>
72
+ <followers_count>267</followers_count>
73
+
74
+ </user>
75
+ </status>
76
+ <status>
77
+ <created_at>Sun May 04 22:47:58 +0000 2008</created_at>
78
+ <id>803457200</id>
79
+ <text>Catholicism Beliefs - http://tinyurl.com/6hw7wz - Free to Join. 1000</text>
80
+ <source>web</source>
81
+
82
+ <truncated>false</truncated>
83
+ <in_reply_to_status_id></in_reply_to_status_id>
84
+ <in_reply_to_user_id></in_reply_to_user_id>
85
+ <favorited>false</favorited>
86
+ <user>
87
+ <id>14640028</id>
88
+ <name>Warren Buffet</name>
89
+
90
+ <screen_name>linkomatic</screen_name>
91
+ <location></location>
92
+ <description></description>
93
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/53706162/Warren-Buffet_normal.jpg</profile_image_url>
94
+ <url></url>
95
+ <protected>false</protected>
96
+ <followers_count>31</followers_count>
97
+
98
+ </user>
99
+ </status>
100
+ <status>
101
+ <created_at>Sun May 04 22:47:57 +0000 2008</created_at>
102
+ <id>803457199</id>
103
+ <text>@PacketRat: I hope you can find what your looking for without paying through the nose.</text>
104
+ <source>&lt;a href="http://arsecandle.org/twadget/"&gt;Twadget&lt;/a&gt;</source>
105
+
106
+ <truncated>false</truncated>
107
+ <in_reply_to_status_id>803456509</in_reply_to_status_id>
108
+ <in_reply_to_user_id>7471282</in_reply_to_user_id>
109
+ <favorited>false</favorited>
110
+ <user>
111
+ <id>6300522</id>
112
+
113
+ <name>Daniel Osborne</name>
114
+ <screen_name>ultima90</screen_name>
115
+ <location>Latrobe, PA</location>
116
+ <description>I am a medieval role playing gamer who is a daydream believer and a computer geek who supports Nintendo over all others. </description>
117
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/23037872/CIMG0962__revised__normal.jpg</profile_image_url>
118
+ <url>http://www.gamespot.com/users/Ultima90/</url>
119
+
120
+ <protected>false</protected>
121
+ <followers_count>91</followers_count>
122
+ </user>
123
+ </status>
124
+ <status>
125
+ <created_at>Sun May 04 22:47:58 +0000 2008</created_at>
126
+ <id>803457198</id>
127
+
128
+ <text>basic social skills http://tinyurl.com/4rcrmk</text>
129
+ <source>&lt;a href="http://twitterfeed.com"&gt;twitterfeed&lt;/a&gt;</source>
130
+ <truncated>false</truncated>
131
+ <in_reply_to_status_id></in_reply_to_status_id>
132
+ <in_reply_to_user_id></in_reply_to_user_id>
133
+ <favorited>false</favorited>
134
+
135
+ <user>
136
+ <id>14115858</id>
137
+ <name>wrongplanet</name>
138
+ <screen_name>wrongplanet</screen_name>
139
+ <location></location>
140
+ <description>I'm the http://wrongplanet.net twitterbot. Wrong Planet is the site for Autism and Asperger's.</description>
141
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/51694349/wptip2_normal.gif</profile_image_url>
142
+
143
+ <url>http://wrongplanet.net</url>
144
+ <protected>false</protected>
145
+ <followers_count>77</followers_count>
146
+ </user>
147
+ </status>
148
+ </statuses>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <hash>
3
+ <hourly-limit type="integer">20</hourly-limit>
4
+ <reset-time-in-seconds type="integer">1214757610</reset-time-in-seconds>
5
+ <reset-time type="datetime">2008-06-29T16:40:10+00:00</reset-time>
6
+ <remaining-hits type="integer">5</remaining-hits>
7
+ </hash>
@@ -0,0 +1,147 @@
1
+ --- !map:Twitter::SearchResultInfo
2
+ results:
3
+ - !map:Twitter::SearchResult
4
+ text: "@jqr - wow. just really looked at httparty for first time - sweet! - have you been using that a lot?"
5
+ to_user_id: 176589
6
+ to_user: jqr
7
+ from_user: baldwindavid
8
+ id: 1073680192
9
+ from_user_id: 804487
10
+ iso_language_code: en
11
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/67146299/before_400_normal.jpg
12
+ created_at: Tue, 23 Dec 2008 04:20:12 +0000
13
+ - !map:Twitter::SearchResult
14
+ text: the httparty gem rocks my socks. no better way to consume web services in ruby.
15
+ to_user_id:
16
+ from_user: mildmojo
17
+ id: 1073135700
18
+ from_user_id: 2090305
19
+ iso_language_code: en
20
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/65215459/appicon_normal.png
21
+ created_at: Mon, 22 Dec 2008 22:20:43 +0000
22
+ - !map:Twitter::SearchResult
23
+ text: It's an HTTParty and everyone is invited!
24
+ to_user_id:
25
+ from_user: mypheme
26
+ id: 1067975762
27
+ from_user_id: 3067473
28
+ iso_language_code: en
29
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/67872558/Picture_3_normal.png
30
+ created_at: Fri, 19 Dec 2008 22:09:23 +0000
31
+ - !map:Twitter::SearchResult
32
+ text: dans la famille des clients http,vous connaissiez curb, httparty, mais connaissiez-vous httpclient ? http://dev.ctor.org/httpclient/
33
+ to_user_id:
34
+ from_user: rubyfrance
35
+ id: 1064812719
36
+ from_user_id: 70780
37
+ iso_language_code: fr
38
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/51884877/twitter_normal.png
39
+ created_at: Thu, 18 Dec 2008 12:46:27 +0000
40
+ - !map:Twitter::SearchResult
41
+ text: "@jnunemaker have you ever seen httparty get a Net::HTTPServerException: 411 &quot;Length Required&quot; back?"
42
+ to_user_id: 19106
43
+ to_user: jnunemaker
44
+ from_user: techpickles
45
+ id: 1064375973
46
+ from_user_id: 22902
47
+ iso_language_code: en
48
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/64410494/Photo_9_normal.jpg
49
+ created_at: Thu, 18 Dec 2008 05:24:23 +0000
50
+ - !map:Twitter::SearchResult
51
+ text: playing with the tumblr api, httparty style
52
+ to_user_id:
53
+ from_user: techpickles
54
+ id: 1064355666
55
+ from_user_id: 22902
56
+ iso_language_code: en
57
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/64410494/Photo_9_normal.jpg
58
+ created_at: Thu, 18 Dec 2008 05:07:59 +0000
59
+ - !map:Twitter::SearchResult
60
+ text: Testing from HTTParty, awesome ruby gem that allows for easy access to APIs over http.
61
+ to_user_id:
62
+ from_user: simonreed
63
+ id: 1063822669
64
+ from_user_id: 63911
65
+ iso_language_code: en
66
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/53963586/fu_normal.jpg
67
+ created_at: Wed, 17 Dec 2008 23:21:34 +0000
68
+ - !map:Twitter::SearchResult
69
+ text: It's an HTTParty and everyone is invited!
70
+ to_user_id:
71
+ from_user: bernsno
72
+ id: 1063277742
73
+ from_user_id: 1495935
74
+ iso_language_code: en
75
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/63820805/me_normal.gif
76
+ created_at: Wed, 17 Dec 2008 18:25:31 +0000
77
+ - !map:Twitter::SearchResult
78
+ text: "[ruby] Using Context and Stump to HTTParty like a Wufoo"
79
+ to_user_id:
80
+ from_user: rubymentary
81
+ id: 1062068801
82
+ from_user_id: 474717
83
+ iso_language_code: en
84
+ profile_image_url: http://static.twitter.com/images/default_profile_normal.png
85
+ created_at: Wed, 17 Dec 2008 03:37:00 +0000
86
+ - !map:Twitter::SearchResult
87
+ text: "net/http\xE3\x81\xAEwrapper\xE3\x81\xA0\xE3\x81\xA3\xE3\x81\x9F\xE3\x80\x82\xE3\x80\x82\xE3\x80\x82 &gt; HTTParty re: http://ff.im/h1Dg"
88
+ to_user_id:
89
+ from_user: nahi
90
+ id: 1061821371
91
+ from_user_id: 36221
92
+ iso_language_code: "no"
93
+ profile_image_url: http://static.twitter.com/images/default_profile_normal.png
94
+ created_at: Wed, 17 Dec 2008 00:58:19 +0000
95
+ - !map:Twitter::SearchResult
96
+ text: Using HTTParty to wrap the Wufoo form submit API, as we are switching the Ordered List contact form to Wufoo.
97
+ to_user_id:
98
+ from_user: jnunemaker
99
+ id: 1061117717
100
+ from_user_id: 19106
101
+ iso_language_code: en
102
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/61024905/black250_normal.jpg
103
+ created_at: Tue, 16 Dec 2008 18:25:28 +0000
104
+ - !map:Twitter::SearchResult
105
+ text: Playing with HTTParty. Like it already. :)
106
+ to_user_id:
107
+ from_user: atog
108
+ id: 1058725999
109
+ from_user_id: 21795
110
+ iso_language_code: en
111
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/61430136/ikke_vierkant_normal.jpg
112
+ created_at: Mon, 15 Dec 2008 16:06:26 +0000
113
+ - !map:Twitter::SearchResult
114
+ text: HTTParty is like sweet candy...
115
+ to_user_id:
116
+ from_user: levicole
117
+ id: 1055553905
118
+ from_user_id: 111971
119
+ iso_language_code: en
120
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/24274692/Photo_2_normal.jpg
121
+ created_at: Sat, 13 Dec 2008 17:52:01 +0000
122
+ - !map:Twitter::SearchResult
123
+ text: "thinking httparty needs a bit of morph class generation magic: http://tinyurl.com/6774gz"
124
+ to_user_id:
125
+ from_user: delineator
126
+ id: 1054352107
127
+ from_user_id: 102024
128
+ iso_language_code: en
129
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/63867007/rob_64_64_normal.png
130
+ created_at: Fri, 12 Dec 2008 22:53:41 +0000
131
+ - !map:Twitter::SearchResult
132
+ text: To use HTTParty, or just net/http? I'm going to have to change some headers, which means digging around. Hrm.
133
+ to_user_id:
134
+ from_user: HibiscuS4
135
+ id: 1050622779
136
+ from_user_id: 8780
137
+ iso_language_code: en
138
+ profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/60311231/Photo_9_normal.jpg
139
+ created_at: Thu, 11 Dec 2008 04:13:06 +0000
140
+ since_id: 0
141
+ max_id: 1078578631
142
+ refresh_url: ?since_id=1078578631&q=httparty
143
+ results_per_page: 15
144
+ next_page: ?page=2&max_id=1078578631&q=httparty
145
+ completed_in: 0.018799
146
+ page: 1
147
+ query: httparty
@@ -0,0 +1 @@
1
+ {"max_id"=>876733347, "since_id"=>0, "results"=>[{"text"=>"post using httparty.", "from_user"=>"yuweijun", "to_user_id"=>nil, "id"=>876203197, "iso_language_code"=>"en", "from_user_id"=>1170048, "created_at"=>"Sun, 03 Aug 2008 06:40:42 +0000", "profile_image_url"=>"http://static.twitter.com/images/default_profile_normal.png"}, {"text"=>"HTTParty: Quick Web Service Consumption From Any Ruby Class: HTTParty is a new Ruby library by Joh.. http://tinyurl.com/5cb8e8", "from_user"=>"delicious_prog", "to_user_id"=>nil, "id"=>875881978, "iso_language_code"=>"en", "from_user_id"=>468104, "created_at"=>"Sat, 02 Aug 2008 20:47:02 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/54388004/delicious.42px_normal.gif"}, {"text"=>"[4Rails] HTTParty: Quick Web Service Consumption From Any Ruby Class: HTTParty: Quick Web Serv.. http://tinyurl.com/5uemxj", "from_user"=>"bumperbody", "to_user_id"=>nil, "id"=>875828918, "iso_language_code"=>"en", "from_user_id"=>476491, "created_at"=>"Sat, 02 Aug 2008 19:16:19 +0000", "profile_image_url"=>"http://static.twitter.com/images/default_profile_normal.png"}, {"text"=>"[ruby] HTTParty: Quick Web Service Consumption From Any Ruby Class", "from_user"=>"rubymentary", "to_user_id"=>nil, "id"=>875761343, "iso_language_code"=>"en", "from_user_id"=>474717, "created_at"=>"Sat, 02 Aug 2008 17:26:19 +0000", "profile_image_url"=>"http://static.twitter.com/images/default_profile_normal.png"}, {"text"=>"[ruby: RubyInside] HTTParty: Quick Web Service Consumption From Any Ruby Class http://tinyurl.com/5gryre", "from_user"=>"devfunnel", "to_user_id"=>nil, "id"=>875732752, "iso_language_code"=>"en", "from_user_id"=>465190, "created_at"=>"Sat, 02 Aug 2008 16:44:21 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/53748400/dev-funnel-logo-shiny-50x50_normal.png"}, {"text"=>"using the excellent OpenLibrary API, via HTTParty - i do like it that people have thought i'd want to do this in advance!", "from_user"=>"degsy", "to_user_id"=>nil, "id"=>875690354, "iso_language_code"=>"en", "from_user_id"=>164367, "created_at"=>"Sat, 02 Aug 2008 15:43:58 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/56185617/degsy_normal.jpg"}, {"text"=>"httparty gem rocks", "from_user"=>"shenie", "to_user_id"=>nil, "id"=>874139770, "iso_language_code"=>"en", "from_user_id"=>271831, "created_at"=>"Thu, 31 Jul 2008 22:58:19 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/42362902/Photo_28_normal.jpg"}, {"text"=>"httparty  yup.  that is what i was missing", "from_user"=>"bryanl", "to_user_id"=>nil, "id"=>873839285, "iso_language_code"=>"en", "from_user_id"=>5167, "created_at"=>"Thu, 31 Jul 2008 17:15:51 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/57603306/Photo_26_normal.jpg"}, {"text"=>"@timhaines thanks for the link to HTTParty, Xero api consumer for contacts (at least the get part) now only takes 18 lines of code.", "from_user"=>"buildmaster", "to_user"=>"timhaines", "to_user_id"=>159881, "id"=>873222820, "iso_language_code"=>"en", "from_user_id"=>26548, "created_at"=>"Thu, 31 Jul 2008 02:29:02 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/51894576/gold_o_normal.jpg"}, {"text"=>"refactoring code from yesterdays example to use HTTParty", "from_user"=>"buildmaster", "to_user_id"=>nil, "id"=>873020059, "iso_language_code"=>"en", "from_user_id"=>26548, "created_at"=>"Wed, 30 Jul 2008 21:55:19 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/51894576/gold_o_normal.jpg"}, {"text"=>"delicious: It's an HTTParty and Everyone Is Invited! // RailsTips.org by John Nunemaker http://tinyurl.com/6774gz", "from_user"=>"top_web", "to_user_id"=>nil, "id"=>872810034, "iso_language_code"=>"en", "from_user_id"=>780201, "created_at"=>"Wed, 30 Jul 2008 17:48:25 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/55853305/web_normal.jpg"}, {"text"=>"d: It's an HTTParty and Everyone Is Invited! // RailsTips.org by John Nunemaker http://tinyurl.com/6774gz", "from_user"=>"top_dedist", "to_user_id"=>nil, "id"=>872809988, "iso_language_code"=>"en", "from_user_id"=>760334, "created_at"=>"Wed, 30 Jul 2008 17:48:20 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/55845227/dedist_normal.jpg"}, {"text"=>"[4Rails] It's an HTTParty and Everyone Is Invited! // RailsTips.org by John Nunemaker: It's an.. http://tinyurl.com/57wjn4", "from_user"=>"bumperbody", "to_user_id"=>nil, "id"=>872549387, "iso_language_code"=>"en", "from_user_id"=>476491, "created_at"=>"Wed, 30 Jul 2008 13:16:57 +0000", "profile_image_url"=>"http://static.twitter.com/images/default_profile_normal.png"}, {"text"=>"New blog post: Sinatra, Passenger, HTTParty: Small, Fast, Now http://ruby.tie-rack.org/?p=70", "from_user"=>"tierack", "to_user_id"=>nil, "id"=>872275405, "iso_language_code"=>"no", "from_user_id"=>98800, "created_at"=>"Wed, 30 Jul 2008 04:55:40 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/52166714/mvb200_normal.jpg"}, {"text"=>"Tonight we're gonna HTTParty like it's 1999! - Time to boogie on down and consume some webservices! http://httparty.rubyforge.org/", "from_user"=>"hunternield", "to_user_id"=>nil, "id"=>872086627, "iso_language_code"=>"en", "from_user_id"=>47386, "created_at"=>"Wed, 30 Jul 2008 00:12:47 +0000", "profile_image_url"=>"http://s3.amazonaws.com/twitter_production/profile_images/52133648/Photo_59_normal.jpg"}], "results_per_page"=>15, "next_page"=>"?page=2&max_id=876733347&q=httparty+", "query"=>"httparty ", "page"=>1}
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <status>
3
+ <created_at>Sun May 04 23:36:14 +0000 2008</created_at>
4
+ <id>803478581</id>
5
+ <text>Listening to Umberto Eco trashing the lack of intellectual discrimination on the web.</text>
6
+ <source>&lt;a href="http://help.twitter.com/index.php?pg=kb.page&amp;id=75"&gt;txt&lt;/a&gt;</source>
7
+
8
+ <truncated>false</truncated>
9
+ <in_reply_to_status_id></in_reply_to_status_id>
10
+ <in_reply_to_user_id></in_reply_to_user_id>
11
+ <favorited>false</favorited>
12
+ <user>
13
+ <id>246</id>
14
+ <name>Blaine Cook</name>
15
+
16
+ <screen_name>blaine</screen_name>
17
+ <location>San Francisco</location>
18
+ <description>TwitterInterpreter.</description>
19
+ <profile_image_url>http://s3.amazonaws.com/twitter_production/profile_images/14022002/171593560_00e00bc7c9_normal.jpg</profile_image_url>
20
+ <url>http://romeda.org/</url>
21
+ <protected>false</protected>
22
+
23
+ <followers_count>2765</followers_count>
24
+ </user>
25
+ </status>