| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Net::Twitter::Lite::API::V1_1; |
|
2
|
|
|
|
|
|
|
$Net::Twitter::Lite::API::V1_1::VERSION = '0.12008'; |
|
3
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
84
|
|
|
4
|
2
|
|
|
2
|
|
6
|
use strict; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
5550
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Net::Twitter::Lite::API::V1_1 - Twitter API v1.1 method definitions |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 VERSION |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
version 0.12008 |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub api_def () { +[ |
|
17
|
2
|
|
|
2
|
0
|
865
|
[ REST => [ |
|
18
|
|
|
|
|
|
|
# Timelines |
|
19
|
|
|
|
|
|
|
[ 'mentions', { |
|
20
|
|
|
|
|
|
|
aliases => [ qw/replies/ ], |
|
21
|
|
|
|
|
|
|
path => 'statuses/mentions_timeline', |
|
22
|
|
|
|
|
|
|
method => 'GET', |
|
23
|
|
|
|
|
|
|
params => [ qw/count since_id max_id trim_user contributor_details include_entities/ ], |
|
24
|
|
|
|
|
|
|
required => [ qw// ], |
|
25
|
|
|
|
|
|
|
add_source => 0, |
|
26
|
|
|
|
|
|
|
deprecated => 0, |
|
27
|
|
|
|
|
|
|
authenticate => 1, |
|
28
|
|
|
|
|
|
|
booleans => [ qw/trim_user contributor_details include_entities/ ], |
|
29
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
30
|
|
|
|
|
|
|
} ], |
|
31
|
|
|
|
|
|
|
[ 'user_timeline', { |
|
32
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
33
|
|
|
|
|
|
|
path => 'statuses/user_timeline', |
|
34
|
|
|
|
|
|
|
method => 'GET', |
|
35
|
|
|
|
|
|
|
params => [ qw/user_id screen_name since_id count max_id trim_user exclude_replies contributor_details include_rts/ ], |
|
36
|
|
|
|
|
|
|
required => [ qw// ], |
|
37
|
|
|
|
|
|
|
add_source => 0, |
|
38
|
|
|
|
|
|
|
deprecated => 0, |
|
39
|
|
|
|
|
|
|
authenticate => 1, |
|
40
|
|
|
|
|
|
|
booleans => [ qw/trim_user exclude_replies contributor_details include_rts/ ], |
|
41
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
42
|
|
|
|
|
|
|
} ], |
|
43
|
|
|
|
|
|
|
[ 'home_timeline', { |
|
44
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
45
|
|
|
|
|
|
|
path => 'statuses/home_timeline', |
|
46
|
|
|
|
|
|
|
method => 'GET', |
|
47
|
|
|
|
|
|
|
params => [ qw/count since_id max_id trim_user exclude_replies contributor_details include_entities/ ], |
|
48
|
|
|
|
|
|
|
required => [ qw// ], |
|
49
|
|
|
|
|
|
|
add_source => 0, |
|
50
|
|
|
|
|
|
|
deprecated => 0, |
|
51
|
|
|
|
|
|
|
authenticate => 1, |
|
52
|
|
|
|
|
|
|
booleans => [ qw/trim_user exclude_replies contributor_details include_entities/ ], |
|
53
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
54
|
|
|
|
|
|
|
} ], |
|
55
|
|
|
|
|
|
|
[ 'retweets_of_me', { |
|
56
|
|
|
|
|
|
|
aliases => [ qw/retweeted_of_me/ ], |
|
57
|
|
|
|
|
|
|
path => 'statuses/retweets_of_me', |
|
58
|
|
|
|
|
|
|
method => 'GET', |
|
59
|
|
|
|
|
|
|
params => [ qw/count since_id max_id trim_user include_entities include_user_entities/ ], |
|
60
|
|
|
|
|
|
|
required => [ qw// ], |
|
61
|
|
|
|
|
|
|
add_source => 0, |
|
62
|
|
|
|
|
|
|
deprecated => 0, |
|
63
|
|
|
|
|
|
|
authenticate => 1, |
|
64
|
|
|
|
|
|
|
booleans => [ qw/trim_user include_entities include_user_entities/ ], |
|
65
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
66
|
|
|
|
|
|
|
} ], |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
# Tweets |
|
69
|
|
|
|
|
|
|
[ 'retweets', { |
|
70
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
71
|
|
|
|
|
|
|
path => 'statuses/retweets/:id', |
|
72
|
|
|
|
|
|
|
method => 'GET', |
|
73
|
|
|
|
|
|
|
params => [ qw/id count trim_user/ ], |
|
74
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
75
|
|
|
|
|
|
|
add_source => 0, |
|
76
|
|
|
|
|
|
|
deprecated => 0, |
|
77
|
|
|
|
|
|
|
authenticate => 1, |
|
78
|
|
|
|
|
|
|
booleans => [ qw/trim_user/ ], |
|
79
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
80
|
|
|
|
|
|
|
} ], |
|
81
|
|
|
|
|
|
|
[ 'show_status', { |
|
82
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
83
|
|
|
|
|
|
|
path => 'statuses/show/:id', |
|
84
|
|
|
|
|
|
|
method => 'GET', |
|
85
|
|
|
|
|
|
|
params => [ qw/id trim_user include_my_retweet include_entities/ ], |
|
86
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
87
|
|
|
|
|
|
|
add_source => 0, |
|
88
|
|
|
|
|
|
|
deprecated => 0, |
|
89
|
|
|
|
|
|
|
authenticate => 1, |
|
90
|
|
|
|
|
|
|
booleans => [ qw/trim_user include_my_retweet include_entities/ ], |
|
91
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
92
|
|
|
|
|
|
|
} ], |
|
93
|
|
|
|
|
|
|
[ 'destroy_status', { |
|
94
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
95
|
|
|
|
|
|
|
path => 'statuses/destroy/:id', |
|
96
|
|
|
|
|
|
|
method => 'POST', |
|
97
|
|
|
|
|
|
|
params => [ qw/id trim_user/ ], |
|
98
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
99
|
|
|
|
|
|
|
add_source => 0, |
|
100
|
|
|
|
|
|
|
deprecated => 0, |
|
101
|
|
|
|
|
|
|
authenticate => 1, |
|
102
|
|
|
|
|
|
|
booleans => [ qw/trim_user/ ], |
|
103
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
104
|
|
|
|
|
|
|
} ], |
|
105
|
|
|
|
|
|
|
[ 'update', { |
|
106
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
107
|
|
|
|
|
|
|
path => 'statuses/update', |
|
108
|
|
|
|
|
|
|
method => 'POST', |
|
109
|
|
|
|
|
|
|
params => [ qw/status in_reply_to_status_id lat long place_id display_coordinates trim_user/ ], |
|
110
|
|
|
|
|
|
|
required => [ qw/status/ ], |
|
111
|
|
|
|
|
|
|
add_source => 1, |
|
112
|
|
|
|
|
|
|
deprecated => 0, |
|
113
|
|
|
|
|
|
|
authenticate => 1, |
|
114
|
|
|
|
|
|
|
booleans => [ qw/display_coordinates trim_user/ ], |
|
115
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
116
|
|
|
|
|
|
|
} ], |
|
117
|
|
|
|
|
|
|
[ 'retweet', { |
|
118
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
119
|
|
|
|
|
|
|
path => 'statuses/retweet/:id', |
|
120
|
|
|
|
|
|
|
method => 'POST', |
|
121
|
|
|
|
|
|
|
params => [ qw/id trim_user/ ], |
|
122
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
123
|
|
|
|
|
|
|
add_source => 0, |
|
124
|
|
|
|
|
|
|
deprecated => 0, |
|
125
|
|
|
|
|
|
|
authenticate => 1, |
|
126
|
|
|
|
|
|
|
booleans => [ qw/trim_user/ ], |
|
127
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
128
|
|
|
|
|
|
|
} ], |
|
129
|
|
|
|
|
|
|
[ 'update_with_media', { |
|
130
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
131
|
|
|
|
|
|
|
path => 'statuses/update_with_media', |
|
132
|
|
|
|
|
|
|
method => 'POST', |
|
133
|
|
|
|
|
|
|
params => [ qw/status media[] possibly_sensitive in_reply_to_status_id lat long place_id display_coordinates/ ], |
|
134
|
|
|
|
|
|
|
required => [ qw/status media/ ], |
|
135
|
|
|
|
|
|
|
add_source => 0, |
|
136
|
|
|
|
|
|
|
deprecated => 1, |
|
137
|
|
|
|
|
|
|
authenticate => 1, |
|
138
|
|
|
|
|
|
|
booleans => [ qw/possibly_sensitive display_coordinates/ ], |
|
139
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
140
|
|
|
|
|
|
|
} ], |
|
141
|
|
|
|
|
|
|
[ 'upload_media', { |
|
142
|
|
|
|
|
|
|
aliases => [ qw/upload/ ], |
|
143
|
|
|
|
|
|
|
path => 'media/upload', |
|
144
|
|
|
|
|
|
|
method => 'POST', |
|
145
|
|
|
|
|
|
|
content_type => 'form-data', |
|
146
|
|
|
|
|
|
|
params => [qw/media media_data additional_owners/], |
|
147
|
|
|
|
|
|
|
required => [qw//], |
|
148
|
|
|
|
|
|
|
add_source => 0, |
|
149
|
|
|
|
|
|
|
deprecated => 0, |
|
150
|
|
|
|
|
|
|
authenticate => 1, |
|
151
|
|
|
|
|
|
|
booleans => [], |
|
152
|
|
|
|
|
|
|
base_url_method => 'upload_url', |
|
153
|
|
|
|
|
|
|
} ], |
|
154
|
|
|
|
|
|
|
[ 'get_oembed', { |
|
155
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
156
|
|
|
|
|
|
|
path => 'statuses/oembed', |
|
157
|
|
|
|
|
|
|
method => 'GET', |
|
158
|
|
|
|
|
|
|
params => [ qw/id url maxwidth hide_media hide_thread omit_script align related lang/ ], |
|
159
|
|
|
|
|
|
|
required => [ qw/id url/ ], |
|
160
|
|
|
|
|
|
|
add_source => 0, |
|
161
|
|
|
|
|
|
|
deprecated => 0, |
|
162
|
|
|
|
|
|
|
authenticate => 1, |
|
163
|
|
|
|
|
|
|
booleans => [ qw/hide_media hide_thread omit_script/ ], |
|
164
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
165
|
|
|
|
|
|
|
} ], |
|
166
|
|
|
|
|
|
|
# Search |
|
167
|
|
|
|
|
|
|
[ 'search', { |
|
168
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
169
|
|
|
|
|
|
|
path => 'search/tweets', |
|
170
|
|
|
|
|
|
|
method => 'GET', |
|
171
|
|
|
|
|
|
|
params => [ qw/q geocode lang locale result_type count until since_id max_id include_entities callback/ ], |
|
172
|
|
|
|
|
|
|
required => [ qw/q/ ], |
|
173
|
|
|
|
|
|
|
add_source => 0, |
|
174
|
|
|
|
|
|
|
deprecated => 0, |
|
175
|
|
|
|
|
|
|
authenticate => 1, |
|
176
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
177
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
178
|
|
|
|
|
|
|
} ], |
|
179
|
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
# Direct Messages |
|
181
|
|
|
|
|
|
|
[ 'direct_messages', { |
|
182
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
183
|
|
|
|
|
|
|
path => 'direct_messages', |
|
184
|
|
|
|
|
|
|
method => 'GET', |
|
185
|
|
|
|
|
|
|
params => [ qw/since_id max_id count include_entities skip_status/ ], |
|
186
|
|
|
|
|
|
|
required => [ qw// ], |
|
187
|
|
|
|
|
|
|
add_source => 0, |
|
188
|
|
|
|
|
|
|
deprecated => 0, |
|
189
|
|
|
|
|
|
|
authenticate => 1, |
|
190
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
191
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
192
|
|
|
|
|
|
|
} ], |
|
193
|
|
|
|
|
|
|
[ 'sent_direct_messages', { |
|
194
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
195
|
|
|
|
|
|
|
path => 'direct_messages/sent', |
|
196
|
|
|
|
|
|
|
method => 'GET', |
|
197
|
|
|
|
|
|
|
params => [ qw/since_id max_id count page include_entities/ ], |
|
198
|
|
|
|
|
|
|
required => [ qw// ], |
|
199
|
|
|
|
|
|
|
add_source => 0, |
|
200
|
|
|
|
|
|
|
deprecated => 0, |
|
201
|
|
|
|
|
|
|
authenticate => 1, |
|
202
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
203
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
204
|
|
|
|
|
|
|
} ], |
|
205
|
|
|
|
|
|
|
[ 'show_direct_message', { |
|
206
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
207
|
|
|
|
|
|
|
path => 'direct_messages/show', |
|
208
|
|
|
|
|
|
|
method => 'GET', |
|
209
|
|
|
|
|
|
|
params => [ qw/id/ ], |
|
210
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
211
|
|
|
|
|
|
|
add_source => 0, |
|
212
|
|
|
|
|
|
|
deprecated => 0, |
|
213
|
|
|
|
|
|
|
authenticate => 1, |
|
214
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
215
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
216
|
|
|
|
|
|
|
} ], |
|
217
|
|
|
|
|
|
|
[ 'destroy_direct_message', { |
|
218
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
219
|
|
|
|
|
|
|
path => 'direct_messages/destroy', |
|
220
|
|
|
|
|
|
|
method => 'POST', |
|
221
|
|
|
|
|
|
|
params => [ qw/id include_entities/ ], |
|
222
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
223
|
|
|
|
|
|
|
add_source => 0, |
|
224
|
|
|
|
|
|
|
deprecated => 0, |
|
225
|
|
|
|
|
|
|
authenticate => 1, |
|
226
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
227
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
228
|
|
|
|
|
|
|
} ], |
|
229
|
|
|
|
|
|
|
[ 'new_direct_message', { |
|
230
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
231
|
|
|
|
|
|
|
path => 'direct_messages/new', |
|
232
|
|
|
|
|
|
|
method => 'POST', |
|
233
|
|
|
|
|
|
|
params => [ qw/user_id screen_name text/ ], |
|
234
|
|
|
|
|
|
|
required => [ qw/text/ ], |
|
235
|
|
|
|
|
|
|
add_source => 0, |
|
236
|
|
|
|
|
|
|
deprecated => 0, |
|
237
|
|
|
|
|
|
|
authenticate => 1, |
|
238
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
239
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
240
|
|
|
|
|
|
|
} ], |
|
241
|
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
# Friends & Followers |
|
243
|
|
|
|
|
|
|
[ 'no_retweet_ids', { |
|
244
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
245
|
|
|
|
|
|
|
path => 'friendships/no_retweets/ids', |
|
246
|
|
|
|
|
|
|
method => 'GET', |
|
247
|
|
|
|
|
|
|
params => [ qw/stringify_ids/ ], |
|
248
|
|
|
|
|
|
|
required => [ qw// ], |
|
249
|
|
|
|
|
|
|
add_source => 0, |
|
250
|
|
|
|
|
|
|
deprecated => 0, |
|
251
|
|
|
|
|
|
|
authenticate => 1, |
|
252
|
|
|
|
|
|
|
booleans => [ qw/stringify_ids/ ], |
|
253
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
254
|
|
|
|
|
|
|
} ], |
|
255
|
|
|
|
|
|
|
[ 'friends_ids', { |
|
256
|
|
|
|
|
|
|
aliases => [ qw/following_ids/ ], |
|
257
|
|
|
|
|
|
|
path => 'friends/ids', |
|
258
|
|
|
|
|
|
|
method => 'GET', |
|
259
|
|
|
|
|
|
|
params => [ qw/user_id screen_name cursor stringify_ids count/ ], |
|
260
|
|
|
|
|
|
|
required => [ qw// ], |
|
261
|
|
|
|
|
|
|
add_source => 0, |
|
262
|
|
|
|
|
|
|
deprecated => 0, |
|
263
|
|
|
|
|
|
|
authenticate => 1, |
|
264
|
|
|
|
|
|
|
booleans => [ qw/stringify_ids/ ], |
|
265
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
266
|
|
|
|
|
|
|
} ], |
|
267
|
|
|
|
|
|
|
[ 'followers_ids', { |
|
268
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
269
|
|
|
|
|
|
|
path => 'followers/ids', |
|
270
|
|
|
|
|
|
|
method => 'GET', |
|
271
|
|
|
|
|
|
|
params => [ qw/user_id screen_name cursor stringify_ids count/ ], |
|
272
|
|
|
|
|
|
|
required => [ qw// ], |
|
273
|
|
|
|
|
|
|
add_source => 0, |
|
274
|
|
|
|
|
|
|
deprecated => 0, |
|
275
|
|
|
|
|
|
|
authenticate => 1, |
|
276
|
|
|
|
|
|
|
booleans => [ qw/stringify_ids/ ], |
|
277
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
278
|
|
|
|
|
|
|
} ], |
|
279
|
|
|
|
|
|
|
[ 'lookup_friendships', { |
|
280
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
281
|
|
|
|
|
|
|
path => 'friendships/lookup', |
|
282
|
|
|
|
|
|
|
method => 'GET', |
|
283
|
|
|
|
|
|
|
params => [ qw/screen_name user_id/ ], |
|
284
|
|
|
|
|
|
|
required => [ qw// ], |
|
285
|
|
|
|
|
|
|
add_source => 0, |
|
286
|
|
|
|
|
|
|
deprecated => 0, |
|
287
|
|
|
|
|
|
|
authenticate => 1, |
|
288
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
289
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
290
|
|
|
|
|
|
|
} ], |
|
291
|
|
|
|
|
|
|
[ 'friendships_incoming', { |
|
292
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
293
|
|
|
|
|
|
|
path => 'friendships/incoming', |
|
294
|
|
|
|
|
|
|
method => 'GET', |
|
295
|
|
|
|
|
|
|
params => [ qw/cursor stringify_ids/ ], |
|
296
|
|
|
|
|
|
|
required => [ qw// ], |
|
297
|
|
|
|
|
|
|
add_source => 0, |
|
298
|
|
|
|
|
|
|
deprecated => 0, |
|
299
|
|
|
|
|
|
|
authenticate => 1, |
|
300
|
|
|
|
|
|
|
booleans => [ qw/stringify_ids/ ], |
|
301
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
302
|
|
|
|
|
|
|
} ], |
|
303
|
|
|
|
|
|
|
[ 'friendships_outgoing', { |
|
304
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
305
|
|
|
|
|
|
|
path => 'friendships/outgoing', |
|
306
|
|
|
|
|
|
|
method => 'GET', |
|
307
|
|
|
|
|
|
|
params => [ qw/cursor stringify_ids/ ], |
|
308
|
|
|
|
|
|
|
required => [ qw// ], |
|
309
|
|
|
|
|
|
|
add_source => 0, |
|
310
|
|
|
|
|
|
|
deprecated => 0, |
|
311
|
|
|
|
|
|
|
authenticate => 1, |
|
312
|
|
|
|
|
|
|
booleans => [ qw/stringify_ids/ ], |
|
313
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
314
|
|
|
|
|
|
|
} ], |
|
315
|
|
|
|
|
|
|
[ 'create_friend', { |
|
316
|
|
|
|
|
|
|
aliases => [ qw/follow_new/ ], |
|
317
|
|
|
|
|
|
|
path => 'friendships/create', |
|
318
|
|
|
|
|
|
|
method => 'POST', |
|
319
|
|
|
|
|
|
|
params => [ qw/screen_name user_id follow/ ], |
|
320
|
|
|
|
|
|
|
required => [ qw// ], |
|
321
|
|
|
|
|
|
|
add_source => 0, |
|
322
|
|
|
|
|
|
|
deprecated => 0, |
|
323
|
|
|
|
|
|
|
authenticate => 1, |
|
324
|
|
|
|
|
|
|
booleans => [ qw/follow/ ], |
|
325
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
326
|
|
|
|
|
|
|
} ], |
|
327
|
|
|
|
|
|
|
[ 'destroy_friend', { |
|
328
|
|
|
|
|
|
|
aliases => [ qw/unfollow/ ], |
|
329
|
|
|
|
|
|
|
path => 'friendships/destroy', |
|
330
|
|
|
|
|
|
|
method => 'POST', |
|
331
|
|
|
|
|
|
|
params => [ qw/screen_name user_id/ ], |
|
332
|
|
|
|
|
|
|
required => [ qw// ], |
|
333
|
|
|
|
|
|
|
add_source => 0, |
|
334
|
|
|
|
|
|
|
deprecated => 0, |
|
335
|
|
|
|
|
|
|
authenticate => 1, |
|
336
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
337
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
338
|
|
|
|
|
|
|
} ], |
|
339
|
|
|
|
|
|
|
[ 'update_friendship', { |
|
340
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
341
|
|
|
|
|
|
|
path => 'friendships/update', |
|
342
|
|
|
|
|
|
|
method => 'POST', |
|
343
|
|
|
|
|
|
|
params => [ qw/screen_name user_id device retweets/ ], |
|
344
|
|
|
|
|
|
|
required => [ qw// ], |
|
345
|
|
|
|
|
|
|
add_source => 0, |
|
346
|
|
|
|
|
|
|
deprecated => 0, |
|
347
|
|
|
|
|
|
|
authenticate => 1, |
|
348
|
|
|
|
|
|
|
booleans => [ qw/device retweets/ ], |
|
349
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
350
|
|
|
|
|
|
|
} ], |
|
351
|
|
|
|
|
|
|
[ 'show_friendship', { |
|
352
|
|
|
|
|
|
|
aliases => [ qw/show_relationship/ ], |
|
353
|
|
|
|
|
|
|
path => 'friendships/show', |
|
354
|
|
|
|
|
|
|
method => 'GET', |
|
355
|
|
|
|
|
|
|
params => [ qw/source_id source_screen_name target_id target_screen_name/ ], |
|
356
|
|
|
|
|
|
|
required => [ qw// ], |
|
357
|
|
|
|
|
|
|
add_source => 0, |
|
358
|
|
|
|
|
|
|
deprecated => 0, |
|
359
|
|
|
|
|
|
|
authenticate => 1, |
|
360
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
361
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
362
|
|
|
|
|
|
|
} ], |
|
363
|
|
|
|
|
|
|
[ 'friends', { |
|
364
|
|
|
|
|
|
|
aliases => [ qw/friends_list/ ], |
|
365
|
|
|
|
|
|
|
path => 'friends/list', |
|
366
|
|
|
|
|
|
|
method => 'GET', |
|
367
|
|
|
|
|
|
|
params => [ qw/user_id screen_name cursor skip_status include_user_entities/ ], |
|
368
|
|
|
|
|
|
|
required => [ qw// ], |
|
369
|
|
|
|
|
|
|
add_source => 0, |
|
370
|
|
|
|
|
|
|
deprecated => 0, |
|
371
|
|
|
|
|
|
|
authenticate => 1, |
|
372
|
|
|
|
|
|
|
booleans => [ qw/skip_status include_user_entities/ ], |
|
373
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
374
|
|
|
|
|
|
|
} ], |
|
375
|
|
|
|
|
|
|
[ 'followers', { |
|
376
|
|
|
|
|
|
|
aliases => [ qw/followers_list/ ], |
|
377
|
|
|
|
|
|
|
path => 'followers/list', |
|
378
|
|
|
|
|
|
|
method => 'GET', |
|
379
|
|
|
|
|
|
|
params => [ qw/user_id screen_name cursor skip_status include_user_entities/ ], |
|
380
|
|
|
|
|
|
|
required => [ qw// ], |
|
381
|
|
|
|
|
|
|
add_source => 0, |
|
382
|
|
|
|
|
|
|
deprecated => 0, |
|
383
|
|
|
|
|
|
|
authenticate => 1, |
|
384
|
|
|
|
|
|
|
booleans => [ qw/skip_status include_user_entities/ ], |
|
385
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
386
|
|
|
|
|
|
|
} ], |
|
387
|
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
# Users |
|
389
|
|
|
|
|
|
|
[ 'account_settings', { |
|
390
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
391
|
|
|
|
|
|
|
path => 'account/settings', |
|
392
|
|
|
|
|
|
|
method => 'GET', |
|
393
|
|
|
|
|
|
|
params => [ qw// ], |
|
394
|
|
|
|
|
|
|
required => [ qw// ], |
|
395
|
|
|
|
|
|
|
add_source => 0, |
|
396
|
|
|
|
|
|
|
deprecated => 0, |
|
397
|
|
|
|
|
|
|
authenticate => 1, |
|
398
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
399
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
400
|
|
|
|
|
|
|
} ], |
|
401
|
|
|
|
|
|
|
[ 'verify_credentials', { |
|
402
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
403
|
|
|
|
|
|
|
path => 'account/verify_credentials', |
|
404
|
|
|
|
|
|
|
method => 'GET', |
|
405
|
|
|
|
|
|
|
params => [ qw/include_entities skip_status/ ], |
|
406
|
|
|
|
|
|
|
required => [ qw// ], |
|
407
|
|
|
|
|
|
|
add_source => 0, |
|
408
|
|
|
|
|
|
|
deprecated => 0, |
|
409
|
|
|
|
|
|
|
authenticate => 1, |
|
410
|
|
|
|
|
|
|
booleans => [ qw/include_entities skip_status/ ], |
|
411
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
412
|
|
|
|
|
|
|
} ], |
|
413
|
|
|
|
|
|
|
[ 'update_account_settings', { |
|
414
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
415
|
|
|
|
|
|
|
path => 'account/settings', |
|
416
|
|
|
|
|
|
|
method => 'POST', |
|
417
|
|
|
|
|
|
|
params => [ qw/trend_location_woeid sleep_time_enabled start_sleep_time end_sleep_time time_zone lang/ ], |
|
418
|
|
|
|
|
|
|
required => [ qw// ], |
|
419
|
|
|
|
|
|
|
add_source => 0, |
|
420
|
|
|
|
|
|
|
deprecated => 0, |
|
421
|
|
|
|
|
|
|
authenticate => 1, |
|
422
|
|
|
|
|
|
|
booleans => [ qw/sleep_time_enabled/ ], |
|
423
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
424
|
|
|
|
|
|
|
} ], |
|
425
|
|
|
|
|
|
|
[ 'update_delivery_device', { |
|
426
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
427
|
|
|
|
|
|
|
path => 'account/update_delivery_device', |
|
428
|
|
|
|
|
|
|
method => 'POST', |
|
429
|
|
|
|
|
|
|
params => [ qw/device include_entities/ ], |
|
430
|
|
|
|
|
|
|
required => [ qw/device/ ], |
|
431
|
|
|
|
|
|
|
add_source => 0, |
|
432
|
|
|
|
|
|
|
deprecated => 0, |
|
433
|
|
|
|
|
|
|
authenticate => 1, |
|
434
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
435
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
436
|
|
|
|
|
|
|
} ], |
|
437
|
|
|
|
|
|
|
[ 'update_profile', { |
|
438
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
439
|
|
|
|
|
|
|
path => 'account/update_profile', |
|
440
|
|
|
|
|
|
|
method => 'POST', |
|
441
|
|
|
|
|
|
|
params => [ qw/name url location description include_entities skip_status/ ], |
|
442
|
|
|
|
|
|
|
required => [ qw// ], |
|
443
|
|
|
|
|
|
|
add_source => 0, |
|
444
|
|
|
|
|
|
|
deprecated => 0, |
|
445
|
|
|
|
|
|
|
authenticate => 1, |
|
446
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
447
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
448
|
|
|
|
|
|
|
} ], |
|
449
|
|
|
|
|
|
|
[ 'update_profile_background_image', { |
|
450
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
451
|
|
|
|
|
|
|
path => 'account/update_profile_background_image', |
|
452
|
|
|
|
|
|
|
method => 'POST', |
|
453
|
|
|
|
|
|
|
params => [ qw/image tile include_entities skip_status use/ ], |
|
454
|
|
|
|
|
|
|
required => [ qw// ], |
|
455
|
|
|
|
|
|
|
add_source => 0, |
|
456
|
|
|
|
|
|
|
deprecated => 0, |
|
457
|
|
|
|
|
|
|
authenticate => 1, |
|
458
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
459
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
460
|
|
|
|
|
|
|
} ], |
|
461
|
|
|
|
|
|
|
[ 'update_profile_colors', { |
|
462
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
463
|
|
|
|
|
|
|
path => 'account/update_profile_colors', |
|
464
|
|
|
|
|
|
|
method => 'POST', |
|
465
|
|
|
|
|
|
|
params => [ qw/profile_background_color profile_link_color profile_sidebar_border_color profile_sidebar_fill_color profile_text_color include_entities skip_status/ ], |
|
466
|
|
|
|
|
|
|
required => [ qw// ], |
|
467
|
|
|
|
|
|
|
add_source => 0, |
|
468
|
|
|
|
|
|
|
deprecated => 0, |
|
469
|
|
|
|
|
|
|
authenticate => 1, |
|
470
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
471
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
472
|
|
|
|
|
|
|
} ], |
|
473
|
|
|
|
|
|
|
[ 'update_profile_image', { |
|
474
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
475
|
|
|
|
|
|
|
path => 'account/update_profile_image', |
|
476
|
|
|
|
|
|
|
method => 'POST', |
|
477
|
|
|
|
|
|
|
params => [ qw/image include_entities skip_status/ ], |
|
478
|
|
|
|
|
|
|
required => [ qw/image/ ], |
|
479
|
|
|
|
|
|
|
add_source => 0, |
|
480
|
|
|
|
|
|
|
deprecated => 0, |
|
481
|
|
|
|
|
|
|
authenticate => 1, |
|
482
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
483
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
484
|
|
|
|
|
|
|
} ], |
|
485
|
|
|
|
|
|
|
[ 'blocking', { |
|
486
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
487
|
|
|
|
|
|
|
path => 'blocks/list', |
|
488
|
|
|
|
|
|
|
method => 'GET', |
|
489
|
|
|
|
|
|
|
params => [ qw/include_entities skip_status cursor/ ], |
|
490
|
|
|
|
|
|
|
required => [ qw// ], |
|
491
|
|
|
|
|
|
|
add_source => 0, |
|
492
|
|
|
|
|
|
|
deprecated => 0, |
|
493
|
|
|
|
|
|
|
authenticate => 1, |
|
494
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
495
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
496
|
|
|
|
|
|
|
} ], |
|
497
|
|
|
|
|
|
|
[ 'blocking_ids', { |
|
498
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
499
|
|
|
|
|
|
|
path => 'blocks/ids', |
|
500
|
|
|
|
|
|
|
method => 'GET', |
|
501
|
|
|
|
|
|
|
params => [ qw/stringify_ids cursor/ ], |
|
502
|
|
|
|
|
|
|
required => [ qw// ], |
|
503
|
|
|
|
|
|
|
add_source => 0, |
|
504
|
|
|
|
|
|
|
deprecated => 0, |
|
505
|
|
|
|
|
|
|
authenticate => 1, |
|
506
|
|
|
|
|
|
|
booleans => [ qw/stringify_ids/ ], |
|
507
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
508
|
|
|
|
|
|
|
} ], |
|
509
|
|
|
|
|
|
|
[ 'create_block', { |
|
510
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
511
|
|
|
|
|
|
|
path => 'blocks/create', |
|
512
|
|
|
|
|
|
|
method => 'POST', |
|
513
|
|
|
|
|
|
|
params => [ qw/screen_name user_id include_entities skip_status/ ], |
|
514
|
|
|
|
|
|
|
required => [ qw// ], |
|
515
|
|
|
|
|
|
|
add_source => 0, |
|
516
|
|
|
|
|
|
|
deprecated => 0, |
|
517
|
|
|
|
|
|
|
authenticate => 1, |
|
518
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
519
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
520
|
|
|
|
|
|
|
} ], |
|
521
|
|
|
|
|
|
|
[ 'destroy_block', { |
|
522
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
523
|
|
|
|
|
|
|
path => 'blocks/destroy', |
|
524
|
|
|
|
|
|
|
method => 'POST', |
|
525
|
|
|
|
|
|
|
params => [ qw/screen_name user_id include_entities skip_status/ ], |
|
526
|
|
|
|
|
|
|
required => [ qw// ], |
|
527
|
|
|
|
|
|
|
add_source => 0, |
|
528
|
|
|
|
|
|
|
deprecated => 0, |
|
529
|
|
|
|
|
|
|
authenticate => 1, |
|
530
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
531
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
532
|
|
|
|
|
|
|
} ], |
|
533
|
|
|
|
|
|
|
[ 'lookup_users', { |
|
534
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
535
|
|
|
|
|
|
|
path => 'users/lookup', |
|
536
|
|
|
|
|
|
|
method => 'GET', |
|
537
|
|
|
|
|
|
|
params => [ qw/screen_name user_id include_entities/ ], |
|
538
|
|
|
|
|
|
|
required => [ qw// ], |
|
539
|
|
|
|
|
|
|
add_source => 0, |
|
540
|
|
|
|
|
|
|
deprecated => 0, |
|
541
|
|
|
|
|
|
|
authenticate => 1, |
|
542
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
543
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
544
|
|
|
|
|
|
|
} ], |
|
545
|
|
|
|
|
|
|
[ 'show_user', { |
|
546
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
547
|
|
|
|
|
|
|
path => 'users/show', |
|
548
|
|
|
|
|
|
|
method => 'GET', |
|
549
|
|
|
|
|
|
|
params => [ qw/user_id screen_name include_entities/ ], |
|
550
|
|
|
|
|
|
|
required => [ qw/user_id screen_name/ ], |
|
551
|
|
|
|
|
|
|
add_source => 0, |
|
552
|
|
|
|
|
|
|
deprecated => 0, |
|
553
|
|
|
|
|
|
|
authenticate => 1, |
|
554
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
555
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
556
|
|
|
|
|
|
|
} ], |
|
557
|
|
|
|
|
|
|
[ 'users_search', { |
|
558
|
|
|
|
|
|
|
aliases => [ qw/find_people search_users/ ], |
|
559
|
|
|
|
|
|
|
path => 'users/search', |
|
560
|
|
|
|
|
|
|
method => 'GET', |
|
561
|
|
|
|
|
|
|
params => [ qw/q page count include_entities/ ], |
|
562
|
|
|
|
|
|
|
required => [ qw/q/ ], |
|
563
|
|
|
|
|
|
|
add_source => 0, |
|
564
|
|
|
|
|
|
|
deprecated => 0, |
|
565
|
|
|
|
|
|
|
authenticate => 1, |
|
566
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
567
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
568
|
|
|
|
|
|
|
} ], |
|
569
|
|
|
|
|
|
|
[ 'contributees', { |
|
570
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
571
|
|
|
|
|
|
|
path => 'users/contributees', |
|
572
|
|
|
|
|
|
|
method => 'GET', |
|
573
|
|
|
|
|
|
|
params => [ qw/user_id screen_name include_entities skip_status/ ], |
|
574
|
|
|
|
|
|
|
required => [ qw// ], |
|
575
|
|
|
|
|
|
|
add_source => 0, |
|
576
|
|
|
|
|
|
|
deprecated => 0, |
|
577
|
|
|
|
|
|
|
authenticate => 1, |
|
578
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
579
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
580
|
|
|
|
|
|
|
} ], |
|
581
|
|
|
|
|
|
|
[ 'contributors', { |
|
582
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
583
|
|
|
|
|
|
|
path => 'users/contributors', |
|
584
|
|
|
|
|
|
|
method => 'GET', |
|
585
|
|
|
|
|
|
|
params => [ qw/user_id screen_name include_entities skip_status/ ], |
|
586
|
|
|
|
|
|
|
required => [ qw// ], |
|
587
|
|
|
|
|
|
|
add_source => 0, |
|
588
|
|
|
|
|
|
|
deprecated => 0, |
|
589
|
|
|
|
|
|
|
authenticate => 1, |
|
590
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
591
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
592
|
|
|
|
|
|
|
} ], |
|
593
|
|
|
|
|
|
|
[ 'remove_profile_banner', { |
|
594
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
595
|
|
|
|
|
|
|
path => 'account/remove_profile_banner', |
|
596
|
|
|
|
|
|
|
method => 'POST', |
|
597
|
|
|
|
|
|
|
params => [ qw// ], |
|
598
|
|
|
|
|
|
|
required => [ qw// ], |
|
599
|
|
|
|
|
|
|
add_source => 0, |
|
600
|
|
|
|
|
|
|
deprecated => 0, |
|
601
|
|
|
|
|
|
|
authenticate => 1, |
|
602
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
603
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
604
|
|
|
|
|
|
|
} ], |
|
605
|
|
|
|
|
|
|
[ 'update_profile_banner', { |
|
606
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
607
|
|
|
|
|
|
|
path => 'account/update_profile_banner', |
|
608
|
|
|
|
|
|
|
method => 'POST', |
|
609
|
|
|
|
|
|
|
params => [ qw/banner width height offset_left offset_top/ ], |
|
610
|
|
|
|
|
|
|
required => [ qw/banner/ ], |
|
611
|
|
|
|
|
|
|
add_source => 0, |
|
612
|
|
|
|
|
|
|
deprecated => 0, |
|
613
|
|
|
|
|
|
|
authenticate => 1, |
|
614
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
615
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
616
|
|
|
|
|
|
|
} ], |
|
617
|
|
|
|
|
|
|
[ 'users_profile_banner', { |
|
618
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
619
|
|
|
|
|
|
|
path => 'users/profile_banner', |
|
620
|
|
|
|
|
|
|
method => 'GET', |
|
621
|
|
|
|
|
|
|
params => [ qw/user_id screen_name/ ], |
|
622
|
|
|
|
|
|
|
required => [ qw// ], |
|
623
|
|
|
|
|
|
|
add_source => 0, |
|
624
|
|
|
|
|
|
|
deprecated => 0, |
|
625
|
|
|
|
|
|
|
authenticate => 1, |
|
626
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
627
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
628
|
|
|
|
|
|
|
} ], |
|
629
|
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
# Suggested Users |
|
631
|
|
|
|
|
|
|
[ 'user_suggestions', { |
|
632
|
|
|
|
|
|
|
aliases => [ qw/follow_suggestions/ ], |
|
633
|
|
|
|
|
|
|
path => 'users/suggestions/:slug', |
|
634
|
|
|
|
|
|
|
method => 'GET', |
|
635
|
|
|
|
|
|
|
params => [ qw/slug lang/ ], |
|
636
|
|
|
|
|
|
|
required => [ qw/slug/ ], |
|
637
|
|
|
|
|
|
|
add_source => 0, |
|
638
|
|
|
|
|
|
|
deprecated => 0, |
|
639
|
|
|
|
|
|
|
authenticate => 1, |
|
640
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
641
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
642
|
|
|
|
|
|
|
} ], |
|
643
|
|
|
|
|
|
|
[ 'suggestion_categories', { |
|
644
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
645
|
|
|
|
|
|
|
path => 'users/suggestions', |
|
646
|
|
|
|
|
|
|
method => 'GET', |
|
647
|
|
|
|
|
|
|
params => [ qw/lang/ ], |
|
648
|
|
|
|
|
|
|
required => [ qw// ], |
|
649
|
|
|
|
|
|
|
add_source => 0, |
|
650
|
|
|
|
|
|
|
deprecated => 0, |
|
651
|
|
|
|
|
|
|
authenticate => 1, |
|
652
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
653
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
654
|
|
|
|
|
|
|
} ], |
|
655
|
|
|
|
|
|
|
[ 'user_suggestions_statuses', { |
|
656
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
657
|
|
|
|
|
|
|
path => 'users/suggestions/:slug/members', |
|
658
|
|
|
|
|
|
|
method => 'GET', |
|
659
|
|
|
|
|
|
|
params => [ qw/slug/ ], |
|
660
|
|
|
|
|
|
|
required => [ qw/slug/ ], |
|
661
|
|
|
|
|
|
|
add_source => 0, |
|
662
|
|
|
|
|
|
|
deprecated => 0, |
|
663
|
|
|
|
|
|
|
authenticate => 1, |
|
664
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
665
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
666
|
|
|
|
|
|
|
} ], |
|
667
|
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
# Favorites |
|
669
|
|
|
|
|
|
|
[ 'favorites', { |
|
670
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
671
|
|
|
|
|
|
|
path => 'favorites/list', |
|
672
|
|
|
|
|
|
|
method => 'GET', |
|
673
|
|
|
|
|
|
|
params => [ qw/user_id screen_name count since_id max_id include_entities/ ], |
|
674
|
|
|
|
|
|
|
required => [ qw// ], |
|
675
|
|
|
|
|
|
|
add_source => 0, |
|
676
|
|
|
|
|
|
|
deprecated => 0, |
|
677
|
|
|
|
|
|
|
authenticate => 1, |
|
678
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
679
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
680
|
|
|
|
|
|
|
} ], |
|
681
|
|
|
|
|
|
|
[ 'destroy_favorite', { |
|
682
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
683
|
|
|
|
|
|
|
path => 'favorites/destroy', |
|
684
|
|
|
|
|
|
|
method => 'POST', |
|
685
|
|
|
|
|
|
|
params => [ qw/id include_entities/ ], |
|
686
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
687
|
|
|
|
|
|
|
add_source => 0, |
|
688
|
|
|
|
|
|
|
deprecated => 0, |
|
689
|
|
|
|
|
|
|
authenticate => 1, |
|
690
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
691
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
692
|
|
|
|
|
|
|
} ], |
|
693
|
|
|
|
|
|
|
[ 'create_favorite', { |
|
694
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
695
|
|
|
|
|
|
|
path => 'favorites/create', |
|
696
|
|
|
|
|
|
|
method => 'POST', |
|
697
|
|
|
|
|
|
|
params => [ qw/id include_entities/ ], |
|
698
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
699
|
|
|
|
|
|
|
add_source => 0, |
|
700
|
|
|
|
|
|
|
deprecated => 0, |
|
701
|
|
|
|
|
|
|
authenticate => 1, |
|
702
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
703
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
704
|
|
|
|
|
|
|
} ], |
|
705
|
|
|
|
|
|
|
|
|
706
|
|
|
|
|
|
|
# Lists |
|
707
|
|
|
|
|
|
|
[ 'get_lists', { |
|
708
|
|
|
|
|
|
|
aliases => [ qw/list_lists all_subscriptions/ ], |
|
709
|
|
|
|
|
|
|
path => 'lists/list', |
|
710
|
|
|
|
|
|
|
method => 'GET', |
|
711
|
|
|
|
|
|
|
params => [ qw/user_id screen_name reverse/ ], |
|
712
|
|
|
|
|
|
|
required => [ qw// ], |
|
713
|
|
|
|
|
|
|
add_source => 0, |
|
714
|
|
|
|
|
|
|
deprecated => 0, |
|
715
|
|
|
|
|
|
|
authenticate => 1, |
|
716
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
717
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
718
|
|
|
|
|
|
|
} ], |
|
719
|
|
|
|
|
|
|
[ 'list_statuses', { |
|
720
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
721
|
|
|
|
|
|
|
path => 'lists/statuses', |
|
722
|
|
|
|
|
|
|
method => 'GET', |
|
723
|
|
|
|
|
|
|
params => [ qw/list_id slug owner_screen_name owner_id since_id max_id count include_entities include_rts/ ], |
|
724
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
725
|
|
|
|
|
|
|
add_source => 0, |
|
726
|
|
|
|
|
|
|
deprecated => 0, |
|
727
|
|
|
|
|
|
|
authenticate => 1, |
|
728
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
729
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
730
|
|
|
|
|
|
|
} ], |
|
731
|
|
|
|
|
|
|
[ 'delete_list_member', { |
|
732
|
|
|
|
|
|
|
aliases => [ qw/remove_list_member/ ], |
|
733
|
|
|
|
|
|
|
path => 'lists/members/destroy', |
|
734
|
|
|
|
|
|
|
method => 'POST', |
|
735
|
|
|
|
|
|
|
params => [ qw/list_id slug user_id screen_name owner_screen_name owner_id/ ], |
|
736
|
|
|
|
|
|
|
required => [ qw// ], |
|
737
|
|
|
|
|
|
|
add_source => 0, |
|
738
|
|
|
|
|
|
|
deprecated => 0, |
|
739
|
|
|
|
|
|
|
authenticate => 1, |
|
740
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
741
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
742
|
|
|
|
|
|
|
} ], |
|
743
|
|
|
|
|
|
|
[ 'list_memberships', { |
|
744
|
|
|
|
|
|
|
aliases => [ qw/listed_ids/ ], |
|
745
|
|
|
|
|
|
|
path => 'lists/memberships', |
|
746
|
|
|
|
|
|
|
method => 'GET', |
|
747
|
|
|
|
|
|
|
params => [ qw/user_id screen_name cursor filter_to_owned_lists/ ], |
|
748
|
|
|
|
|
|
|
required => [ qw// ], |
|
749
|
|
|
|
|
|
|
add_source => 0, |
|
750
|
|
|
|
|
|
|
deprecated => 0, |
|
751
|
|
|
|
|
|
|
authenticate => 1, |
|
752
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
753
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
754
|
|
|
|
|
|
|
} ], |
|
755
|
|
|
|
|
|
|
[ 'list_subscribers', { |
|
756
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
757
|
|
|
|
|
|
|
path => 'lists/subscribers', |
|
758
|
|
|
|
|
|
|
method => 'GET', |
|
759
|
|
|
|
|
|
|
params => [ qw/list_id slug owner_screen_name owner_id cursor include_entities skip_status/ ], |
|
760
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
761
|
|
|
|
|
|
|
add_source => 0, |
|
762
|
|
|
|
|
|
|
deprecated => 0, |
|
763
|
|
|
|
|
|
|
authenticate => 1, |
|
764
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
765
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
766
|
|
|
|
|
|
|
} ], |
|
767
|
|
|
|
|
|
|
[ 'subscribe_list', { |
|
768
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
769
|
|
|
|
|
|
|
path => 'lists/subscribers/create', |
|
770
|
|
|
|
|
|
|
method => 'POST', |
|
771
|
|
|
|
|
|
|
params => [ qw/owner_screen_name owner_id list_id slug/ ], |
|
772
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
773
|
|
|
|
|
|
|
add_source => 0, |
|
774
|
|
|
|
|
|
|
deprecated => 0, |
|
775
|
|
|
|
|
|
|
authenticate => 1, |
|
776
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
777
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
778
|
|
|
|
|
|
|
} ], |
|
779
|
|
|
|
|
|
|
[ 'is_list_subscriber', { |
|
780
|
|
|
|
|
|
|
aliases => [ qw/is_subscribed_list/ ], |
|
781
|
|
|
|
|
|
|
path => 'lists/subscribers/show', |
|
782
|
|
|
|
|
|
|
method => 'GET', |
|
783
|
|
|
|
|
|
|
params => [ qw/owner_screen_name owner_id list_id slug user_id screen_name include_entities skip_status/ ], |
|
784
|
|
|
|
|
|
|
required => [ qw/list_id slug user_id screen_name/ ], |
|
785
|
|
|
|
|
|
|
add_source => 0, |
|
786
|
|
|
|
|
|
|
deprecated => 0, |
|
787
|
|
|
|
|
|
|
authenticate => 1, |
|
788
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
789
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
790
|
|
|
|
|
|
|
} ], |
|
791
|
|
|
|
|
|
|
[ 'unsubscribe_list', { |
|
792
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
793
|
|
|
|
|
|
|
path => 'lists/subscribers/destroy', |
|
794
|
|
|
|
|
|
|
method => 'POST', |
|
795
|
|
|
|
|
|
|
params => [ qw/list_id slug owner_screen_name owner_id/ ], |
|
796
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
797
|
|
|
|
|
|
|
add_source => 0, |
|
798
|
|
|
|
|
|
|
deprecated => 0, |
|
799
|
|
|
|
|
|
|
authenticate => 1, |
|
800
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
801
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
802
|
|
|
|
|
|
|
} ], |
|
803
|
|
|
|
|
|
|
[ 'members_create_all', { |
|
804
|
|
|
|
|
|
|
aliases => [ qw/add_list_members/ ], |
|
805
|
|
|
|
|
|
|
path => 'lists/members/create_all', |
|
806
|
|
|
|
|
|
|
method => 'POST', |
|
807
|
|
|
|
|
|
|
params => [ qw/list_id slug user_id screen_name owner_screen_name owner_id/ ], |
|
808
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
809
|
|
|
|
|
|
|
add_source => 0, |
|
810
|
|
|
|
|
|
|
deprecated => 0, |
|
811
|
|
|
|
|
|
|
authenticate => 1, |
|
812
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
813
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
814
|
|
|
|
|
|
|
} ], |
|
815
|
|
|
|
|
|
|
[ 'is_list_member', { |
|
816
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
817
|
|
|
|
|
|
|
path => 'lists/members/show', |
|
818
|
|
|
|
|
|
|
method => 'GET', |
|
819
|
|
|
|
|
|
|
params => [ qw/list_id slug user_id screen_name owner_screen_name owner_id include_entities skip_status/ ], |
|
820
|
|
|
|
|
|
|
required => [ qw/list_id slug user_id screen_name/ ], |
|
821
|
|
|
|
|
|
|
add_source => 0, |
|
822
|
|
|
|
|
|
|
deprecated => 0, |
|
823
|
|
|
|
|
|
|
authenticate => 1, |
|
824
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
825
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
826
|
|
|
|
|
|
|
} ], |
|
827
|
|
|
|
|
|
|
[ 'list_members', { |
|
828
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
829
|
|
|
|
|
|
|
path => 'lists/members', |
|
830
|
|
|
|
|
|
|
method => 'GET', |
|
831
|
|
|
|
|
|
|
params => [ qw/list_id slug owner_screen_name owner_id cursor include_entities skip_status/ ], |
|
832
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
833
|
|
|
|
|
|
|
add_source => 0, |
|
834
|
|
|
|
|
|
|
deprecated => 0, |
|
835
|
|
|
|
|
|
|
authenticate => 1, |
|
836
|
|
|
|
|
|
|
booleans => [ qw/include_entities/ ], |
|
837
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
838
|
|
|
|
|
|
|
} ], |
|
839
|
|
|
|
|
|
|
[ 'add_list_member', { |
|
840
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
841
|
|
|
|
|
|
|
path => 'lists/members/create', |
|
842
|
|
|
|
|
|
|
method => 'POST', |
|
843
|
|
|
|
|
|
|
params => [ qw/list_id slug user_id screen_name owner_screen_name owner_id/ ], |
|
844
|
|
|
|
|
|
|
required => [ qw/list_id slug user_id screen_name/ ], |
|
845
|
|
|
|
|
|
|
add_source => 0, |
|
846
|
|
|
|
|
|
|
deprecated => 0, |
|
847
|
|
|
|
|
|
|
authenticate => 1, |
|
848
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
849
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
850
|
|
|
|
|
|
|
} ], |
|
851
|
|
|
|
|
|
|
[ 'delete_list', { |
|
852
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
853
|
|
|
|
|
|
|
path => 'lists/destroy', |
|
854
|
|
|
|
|
|
|
method => 'POST', |
|
855
|
|
|
|
|
|
|
params => [ qw/owner_screen_name owner_id list_id slug/ ], |
|
856
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
857
|
|
|
|
|
|
|
add_source => 0, |
|
858
|
|
|
|
|
|
|
deprecated => 0, |
|
859
|
|
|
|
|
|
|
authenticate => 1, |
|
860
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
861
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
862
|
|
|
|
|
|
|
} ], |
|
863
|
|
|
|
|
|
|
[ 'update_list', { |
|
864
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
865
|
|
|
|
|
|
|
path => 'lists/update', |
|
866
|
|
|
|
|
|
|
method => 'POST', |
|
867
|
|
|
|
|
|
|
params => [ qw/list_id slug name mode description owner_screen_name owner_id/ ], |
|
868
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
869
|
|
|
|
|
|
|
add_source => 0, |
|
870
|
|
|
|
|
|
|
deprecated => 0, |
|
871
|
|
|
|
|
|
|
authenticate => 1, |
|
872
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
873
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
874
|
|
|
|
|
|
|
} ], |
|
875
|
|
|
|
|
|
|
[ 'create_list', { |
|
876
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
877
|
|
|
|
|
|
|
path => 'lists/create', |
|
878
|
|
|
|
|
|
|
method => 'POST', |
|
879
|
|
|
|
|
|
|
params => [ qw/name mode description/ ], |
|
880
|
|
|
|
|
|
|
required => [ qw/name/ ], |
|
881
|
|
|
|
|
|
|
add_source => 0, |
|
882
|
|
|
|
|
|
|
deprecated => 0, |
|
883
|
|
|
|
|
|
|
authenticate => 1, |
|
884
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
885
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
886
|
|
|
|
|
|
|
} ], |
|
887
|
|
|
|
|
|
|
[ 'get_list', { |
|
888
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
889
|
|
|
|
|
|
|
path => 'lists/show', |
|
890
|
|
|
|
|
|
|
method => 'GET', |
|
891
|
|
|
|
|
|
|
params => [ qw/list_id slug owner_screen_name owner_id/ ], |
|
892
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
893
|
|
|
|
|
|
|
add_source => 0, |
|
894
|
|
|
|
|
|
|
deprecated => 0, |
|
895
|
|
|
|
|
|
|
authenticate => 1, |
|
896
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
897
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
898
|
|
|
|
|
|
|
} ], |
|
899
|
|
|
|
|
|
|
[ 'list_subscriptions', { |
|
900
|
|
|
|
|
|
|
aliases => [ qw/subscriptions/ ], |
|
901
|
|
|
|
|
|
|
path => 'lists/subscriptions', |
|
902
|
|
|
|
|
|
|
method => 'GET', |
|
903
|
|
|
|
|
|
|
params => [ qw/user_id screen_name count cursor/ ], |
|
904
|
|
|
|
|
|
|
required => [ qw// ], |
|
905
|
|
|
|
|
|
|
add_source => 0, |
|
906
|
|
|
|
|
|
|
deprecated => 0, |
|
907
|
|
|
|
|
|
|
authenticate => 1, |
|
908
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
909
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
910
|
|
|
|
|
|
|
} ], |
|
911
|
|
|
|
|
|
|
[ 'members_destroy_all', { |
|
912
|
|
|
|
|
|
|
aliases => [ qw/remove_list_members/ ], |
|
913
|
|
|
|
|
|
|
path => 'lists/members/destroy_all', |
|
914
|
|
|
|
|
|
|
method => 'POST', |
|
915
|
|
|
|
|
|
|
params => [ qw/list_id slug user_id screen_name owner_screen_name owner_id/ ], |
|
916
|
|
|
|
|
|
|
required => [ qw/list_id slug/ ], |
|
917
|
|
|
|
|
|
|
add_source => 0, |
|
918
|
|
|
|
|
|
|
deprecated => 0, |
|
919
|
|
|
|
|
|
|
authenticate => 1, |
|
920
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
921
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
922
|
|
|
|
|
|
|
} ], |
|
923
|
|
|
|
|
|
|
[ 'list_ownerships', { |
|
924
|
|
|
|
|
|
|
aliases => [], |
|
925
|
|
|
|
|
|
|
path => 'lists/ownerships', |
|
926
|
|
|
|
|
|
|
method => 'GET', |
|
927
|
|
|
|
|
|
|
params => [ qw/user_id screen_name count cursor/ ], |
|
928
|
|
|
|
|
|
|
required => [ qw// ], |
|
929
|
|
|
|
|
|
|
add_source => 0, |
|
930
|
|
|
|
|
|
|
deprecated => 0, |
|
931
|
|
|
|
|
|
|
authenticate => 1, |
|
932
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
933
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
934
|
|
|
|
|
|
|
} ], |
|
935
|
|
|
|
|
|
|
|
|
936
|
|
|
|
|
|
|
# Saved Searches |
|
937
|
|
|
|
|
|
|
[ 'saved_searches', { |
|
938
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
939
|
|
|
|
|
|
|
path => 'saved_searches/list', |
|
940
|
|
|
|
|
|
|
method => 'GET', |
|
941
|
|
|
|
|
|
|
params => [ qw// ], |
|
942
|
|
|
|
|
|
|
required => [ qw// ], |
|
943
|
|
|
|
|
|
|
add_source => 0, |
|
944
|
|
|
|
|
|
|
deprecated => 0, |
|
945
|
|
|
|
|
|
|
authenticate => 1, |
|
946
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
947
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
948
|
|
|
|
|
|
|
} ], |
|
949
|
|
|
|
|
|
|
[ 'show_saved_search', { |
|
950
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
951
|
|
|
|
|
|
|
path => 'saved_searches/show/:id', |
|
952
|
|
|
|
|
|
|
method => 'GET', |
|
953
|
|
|
|
|
|
|
params => [ qw/id/ ], |
|
954
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
955
|
|
|
|
|
|
|
add_source => 0, |
|
956
|
|
|
|
|
|
|
deprecated => 0, |
|
957
|
|
|
|
|
|
|
authenticate => 1, |
|
958
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
959
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
960
|
|
|
|
|
|
|
} ], |
|
961
|
|
|
|
|
|
|
[ 'create_saved_search', { |
|
962
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
963
|
|
|
|
|
|
|
path => 'saved_searches/create', |
|
964
|
|
|
|
|
|
|
method => 'POST', |
|
965
|
|
|
|
|
|
|
params => [ qw/query/ ], |
|
966
|
|
|
|
|
|
|
required => [ qw/query/ ], |
|
967
|
|
|
|
|
|
|
add_source => 0, |
|
968
|
|
|
|
|
|
|
deprecated => 0, |
|
969
|
|
|
|
|
|
|
authenticate => 1, |
|
970
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
971
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
972
|
|
|
|
|
|
|
} ], |
|
973
|
|
|
|
|
|
|
[ 'destroy_saved_search', { |
|
974
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
975
|
|
|
|
|
|
|
path => 'saved_searches/destroy/:id', |
|
976
|
|
|
|
|
|
|
method => 'POST', |
|
977
|
|
|
|
|
|
|
params => [ qw/id/ ], |
|
978
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
979
|
|
|
|
|
|
|
add_source => 0, |
|
980
|
|
|
|
|
|
|
deprecated => 0, |
|
981
|
|
|
|
|
|
|
authenticate => 1, |
|
982
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
983
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
984
|
|
|
|
|
|
|
} ], |
|
985
|
|
|
|
|
|
|
|
|
986
|
|
|
|
|
|
|
# Places & Geo |
|
987
|
|
|
|
|
|
|
[ 'geo_id', { |
|
988
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
989
|
|
|
|
|
|
|
path => 'geo/id/:place_id', |
|
990
|
|
|
|
|
|
|
method => 'GET', |
|
991
|
|
|
|
|
|
|
params => [ qw/place_id/ ], |
|
992
|
|
|
|
|
|
|
required => [ qw/place_id/ ], |
|
993
|
|
|
|
|
|
|
add_source => 0, |
|
994
|
|
|
|
|
|
|
deprecated => 0, |
|
995
|
|
|
|
|
|
|
authenticate => 1, |
|
996
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
997
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
998
|
|
|
|
|
|
|
} ], |
|
999
|
|
|
|
|
|
|
[ 'reverse_geocode', { |
|
1000
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1001
|
|
|
|
|
|
|
path => 'geo/reverse_geocode', |
|
1002
|
|
|
|
|
|
|
method => 'GET', |
|
1003
|
|
|
|
|
|
|
params => [ qw/lat long accuracy granularity max_results callback/ ], |
|
1004
|
|
|
|
|
|
|
required => [ qw/lat long/ ], |
|
1005
|
|
|
|
|
|
|
add_source => 0, |
|
1006
|
|
|
|
|
|
|
deprecated => 0, |
|
1007
|
|
|
|
|
|
|
authenticate => 1, |
|
1008
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1009
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1010
|
|
|
|
|
|
|
} ], |
|
1011
|
|
|
|
|
|
|
[ 'geo_search', { |
|
1012
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1013
|
|
|
|
|
|
|
path => 'geo/search', |
|
1014
|
|
|
|
|
|
|
method => 'GET', |
|
1015
|
|
|
|
|
|
|
params => [ qw/lat long query ip granularity accuracy max_results contained_within attribute:street_address callback/ ], |
|
1016
|
|
|
|
|
|
|
required => [ qw// ], |
|
1017
|
|
|
|
|
|
|
add_source => 0, |
|
1018
|
|
|
|
|
|
|
deprecated => 0, |
|
1019
|
|
|
|
|
|
|
authenticate => 1, |
|
1020
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1021
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1022
|
|
|
|
|
|
|
} ], |
|
1023
|
|
|
|
|
|
|
[ 'similar_places', { |
|
1024
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1025
|
|
|
|
|
|
|
path => 'geo/similar_places', |
|
1026
|
|
|
|
|
|
|
method => 'GET', |
|
1027
|
|
|
|
|
|
|
params => [ qw/lat long name contained_within attribute:street_address callback/ ], |
|
1028
|
|
|
|
|
|
|
required => [ qw/lat long name/ ], |
|
1029
|
|
|
|
|
|
|
add_source => 0, |
|
1030
|
|
|
|
|
|
|
deprecated => 0, |
|
1031
|
|
|
|
|
|
|
authenticate => 1, |
|
1032
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1033
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1034
|
|
|
|
|
|
|
} ], |
|
1035
|
|
|
|
|
|
|
[ 'add_place', { |
|
1036
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1037
|
|
|
|
|
|
|
path => 'geo/place', |
|
1038
|
|
|
|
|
|
|
method => 'POST', |
|
1039
|
|
|
|
|
|
|
params => [ qw/name contained_within token lat long attribute:street_address callback/ ], |
|
1040
|
|
|
|
|
|
|
required => [ qw/name contained_within token lat long/ ], |
|
1041
|
|
|
|
|
|
|
add_source => 0, |
|
1042
|
|
|
|
|
|
|
deprecated => 0, |
|
1043
|
|
|
|
|
|
|
authenticate => 1, |
|
1044
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1045
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1046
|
|
|
|
|
|
|
} ], |
|
1047
|
|
|
|
|
|
|
|
|
1048
|
|
|
|
|
|
|
# Trends |
|
1049
|
|
|
|
|
|
|
[ 'trends', { |
|
1050
|
|
|
|
|
|
|
path => 'trends/place', |
|
1051
|
|
|
|
|
|
|
method => 'GET', |
|
1052
|
|
|
|
|
|
|
params => [ qw/id exclude/ ], |
|
1053
|
|
|
|
|
|
|
required => [ qw/id/ ], |
|
1054
|
|
|
|
|
|
|
add_source => 0, |
|
1055
|
|
|
|
|
|
|
deprecated => 0, |
|
1056
|
|
|
|
|
|
|
authenticate => 1, |
|
1057
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1058
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1059
|
|
|
|
|
|
|
} ], |
|
1060
|
|
|
|
|
|
|
[ 'trends_available', { |
|
1061
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1062
|
|
|
|
|
|
|
path => 'trends/available', |
|
1063
|
|
|
|
|
|
|
method => 'GET', |
|
1064
|
|
|
|
|
|
|
params => [ qw// ], |
|
1065
|
|
|
|
|
|
|
required => [ qw// ], |
|
1066
|
|
|
|
|
|
|
add_source => 0, |
|
1067
|
|
|
|
|
|
|
deprecated => 0, |
|
1068
|
|
|
|
|
|
|
authenticate => 1, |
|
1069
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1070
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1071
|
|
|
|
|
|
|
} ], |
|
1072
|
|
|
|
|
|
|
[ 'trends_closest', { |
|
1073
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1074
|
|
|
|
|
|
|
path => 'trends/closest', |
|
1075
|
|
|
|
|
|
|
method => 'GET', |
|
1076
|
|
|
|
|
|
|
params => [ qw/lat long/ ], |
|
1077
|
|
|
|
|
|
|
required => [ qw/lat long/ ], |
|
1078
|
|
|
|
|
|
|
add_source => 0, |
|
1079
|
|
|
|
|
|
|
deprecated => 0, |
|
1080
|
|
|
|
|
|
|
authenticate => 1, |
|
1081
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1082
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1083
|
|
|
|
|
|
|
} ], |
|
1084
|
|
|
|
|
|
|
|
|
1085
|
|
|
|
|
|
|
# Spam Reporting |
|
1086
|
|
|
|
|
|
|
[ 'report_spam', { |
|
1087
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1088
|
|
|
|
|
|
|
path => 'users/report_spam', |
|
1089
|
|
|
|
|
|
|
method => 'POST', |
|
1090
|
|
|
|
|
|
|
params => [ qw/screen_name user_id/ ], |
|
1091
|
|
|
|
|
|
|
required => [ qw// ], |
|
1092
|
|
|
|
|
|
|
add_source => 0, |
|
1093
|
|
|
|
|
|
|
deprecated => 0, |
|
1094
|
|
|
|
|
|
|
authenticate => 1, |
|
1095
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1096
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1097
|
|
|
|
|
|
|
} ], |
|
1098
|
|
|
|
|
|
|
|
|
1099
|
|
|
|
|
|
|
# Help |
|
1100
|
|
|
|
|
|
|
[ 'get_configuration', { |
|
1101
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1102
|
|
|
|
|
|
|
path => 'help/configuration', |
|
1103
|
|
|
|
|
|
|
method => 'GET', |
|
1104
|
|
|
|
|
|
|
params => [ qw// ], |
|
1105
|
|
|
|
|
|
|
required => [ qw// ], |
|
1106
|
|
|
|
|
|
|
add_source => 0, |
|
1107
|
|
|
|
|
|
|
deprecated => 0, |
|
1108
|
|
|
|
|
|
|
authenticate => 1, |
|
1109
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1110
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1111
|
|
|
|
|
|
|
} ], |
|
1112
|
|
|
|
|
|
|
[ 'get_languages', { |
|
1113
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1114
|
|
|
|
|
|
|
path => 'help/languages', |
|
1115
|
|
|
|
|
|
|
method => 'GET', |
|
1116
|
|
|
|
|
|
|
params => [ qw// ], |
|
1117
|
|
|
|
|
|
|
required => [ qw// ], |
|
1118
|
|
|
|
|
|
|
add_source => 0, |
|
1119
|
|
|
|
|
|
|
deprecated => 0, |
|
1120
|
|
|
|
|
|
|
authenticate => 1, |
|
1121
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1122
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1123
|
|
|
|
|
|
|
} ], |
|
1124
|
|
|
|
|
|
|
[ 'get_privacy', { |
|
1125
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1126
|
|
|
|
|
|
|
path => 'help/privacy', |
|
1127
|
|
|
|
|
|
|
method => 'GET', |
|
1128
|
|
|
|
|
|
|
params => [ qw// ], |
|
1129
|
|
|
|
|
|
|
required => [ qw// ], |
|
1130
|
|
|
|
|
|
|
add_source => 0, |
|
1131
|
|
|
|
|
|
|
deprecated => 0, |
|
1132
|
|
|
|
|
|
|
authenticate => 1, |
|
1133
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1134
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1135
|
|
|
|
|
|
|
} ], |
|
1136
|
|
|
|
|
|
|
[ 'get_tos', { |
|
1137
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1138
|
|
|
|
|
|
|
path => 'help/tos', |
|
1139
|
|
|
|
|
|
|
method => 'GET', |
|
1140
|
|
|
|
|
|
|
params => [ qw// ], |
|
1141
|
|
|
|
|
|
|
required => [ qw// ], |
|
1142
|
|
|
|
|
|
|
add_source => 0, |
|
1143
|
|
|
|
|
|
|
deprecated => 0, |
|
1144
|
|
|
|
|
|
|
authenticate => 1, |
|
1145
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1146
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1147
|
|
|
|
|
|
|
} ], |
|
1148
|
|
|
|
|
|
|
[ 'rate_limit_status', { |
|
1149
|
|
|
|
|
|
|
aliases => [ qw// ], |
|
1150
|
|
|
|
|
|
|
path => 'application/rate_limit_status', |
|
1151
|
|
|
|
|
|
|
method => 'GET', |
|
1152
|
|
|
|
|
|
|
params => [ qw/resources/ ], |
|
1153
|
|
|
|
|
|
|
required => [ qw// ], |
|
1154
|
|
|
|
|
|
|
add_source => 0, |
|
1155
|
|
|
|
|
|
|
deprecated => 0, |
|
1156
|
|
|
|
|
|
|
authenticate => 1, |
|
1157
|
|
|
|
|
|
|
booleans => [ qw// ], |
|
1158
|
|
|
|
|
|
|
base_url_method => 'apiurl', |
|
1159
|
|
|
|
|
|
|
} ], |
|
1160
|
|
|
|
|
|
|
] ], |
|
1161
|
|
|
|
|
|
|
]} |
|
1162
|
|
|
|
|
|
|
|
|
1163
|
|
|
|
|
|
|
1; |
|
1164
|
|
|
|
|
|
|
|
|
1165
|
|
|
|
|
|
|
__END__ |