Permalink
Browse files

added get_languages and get_settings API methods

  • Loading branch information...
1 parent 871f12e commit f5bbfde526faccef35bc0f3c4570b04216883f9b @semifor committed Sep 21, 2011
Showing with 30 additions and 11 deletions.
  1. +1 −0 Changes
  2. +29 −11 lib/Net/Twitter/Role/API/REST.pm
View
@@ -1,3 +1,4 @@
+ - added get_languages and get_settings API methods
- added contributors and contributees API methods
- added geo_search, geo_search, similar_places, and add_place API methods
- friends/followers API methods deprecated
@@ -831,6 +831,35 @@ maintenance window is scheduled.
returns => 'Str',
);
+twitter_api_method get_configuration => (
+ path => 'help/configuration',
+ method => 'GET',
+ params => [],
+ required => [],
+ returns => 'HashRef',
+ description => <<'EOT',
+Returns the current configuration used by Twitter including twitter.com slugs
+which are not usernames, maximum photo resolutions, and t.co URL lengths.
+
+It is recommended applications request this endpoint when they are loaded, but
+no more than once a day.
+EOT
+
+);
+
+twitter_api_method get_languages => (
+ path => 'help/languages',
+ method => 'GET',
+ params => [],
+ required => [],
+ returns => 'ArrayRef[Lanugage]',
+ description => <<'',
+Returns the list of languages supported by Twitter along with their ISO 639-1
+code. The ISO 639-1 code is the two letter value to use if you include lang
+with any of your requests.
+
+);
+
twitter_api_method saved_searches => (
description => <<'',
Returns the authenticated user's saved search queries.
@@ -853,17 +882,6 @@ Retrieve the data for a saved search, by C<id>, owned by the authenticating user
returns => 'SavedSearch',
);
-twitter_api_method show_saved_search => (
- description => <<'',
-Retrieve the data for a saved search, by ID, owned by the authenticating user.
-
- path => 'saved_searches/show/:id',
- method => 'GET',
- params => [qw/id/],
- required => [qw/id/],
- returns => 'SavedSearch',
-);
-
twitter_api_method create_saved_search => (
description => <<'',
Creates a saved search for the authenticated user.

0 comments on commit f5bbfde

Please sign in to comment.