Permalink
Browse files

added contributors and contributees API methods

  • Loading branch information...
1 parent e461a5e commit 871f12e395929a5983ad377d7252a135fddfcbaa @semifor committed Sep 21, 2011
Showing with 25 additions and 0 deletions.
  1. +1 −0 Changes
  2. +24 −0 lib/Net/Twitter/Role/API/REST.pm
View
@@ -1,3 +1,4 @@
+ - added contributors and contributees API methods
- added geo_search, geo_search, similar_places, and add_place API methods
- friends/followers API methods deprecated
- implemented the *new* Lists API in the API::REST trait
@@ -335,6 +335,30 @@ authenticated to request the page of a protected user.
returns => 'ExtendedUser',
);
+twitter_api_method contributees => (
+ path => 'users/contributees',
+ method => 'GET',
+ params => [qw/user_id screen_name include_entities skip_satus/],
+ required => [],
+ booleans => [qw/include_entities skip_satus/],
+ returns => 'ArrayRef[User]',
+ description => <<'',
+Returns an array of users that the specified user can contribute to.
+
+);
+
+twitter_api_method contributors => (
+ path => 'users/contributors',
+ method => 'GET',
+ params => [qw/user_id screen_name include_entities skip_satus/],
+ required => [],
+ booleans => [qw/include_entities skip_satus/],
+ returns => 'ArrayRef[User]',
+ description => <<'',
+Returns an array of users who can contribute to the specified account.
+
+);
+
twitter_api_method direct_messages => (
description => <<'',
Returns a list of the 20 most recent direct messages sent to the authenticating

0 comments on commit 871f12e

Please sign in to comment.