File Coverage

blib/lib/Net/Twitter/Lite/API/V1_1.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 10 11 90.9


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