about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-13 14:03:25 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-13 14:03:25 +0200
commit1717685792c11c662d02192918c175e55e3b5050 (patch)
treeb2f4f69ba6c8f1e901fe11d2704b72375b81bab2
parentadd doc to couchdb (diff)
downloadapi-description-1717685792c11c662d02192918c175e55e3b5050.tar.gz
update twitter api
-rw-r--r--services/twitter.json106
1 files changed, 100 insertions, 6 deletions
diff --git a/services/twitter.json b/services/twitter.json
index 4396072..a9acff2 100644
--- a/services/twitter.json
+++ b/services/twitter.json
@@ -2,27 +2,121 @@
    "api_base_url" : "http://api.twitter.com/1",
    "version" : "0.1",
    "methods" : {
+      "retweets_of_me" : {
+         "params" : [
+            "since_id",
+            "max_id",
+            "count",
+            "page",
+            "trim_user",
+            "include_entities"
+         ],
+         "path" : "/statuses/retweets_of_me.:format",
+         "method" : "GET",
+         "authentication" : "1"
+      },
+      "friends_timeline" : {
+         "params" : [
+            "since_id",
+            "max_id",
+            "count",
+            "page",
+            "trim_user",
+            "include_rts",
+            "include_entities"
+         ],
+         "path" : "/statuses/friends_timeline.:format",
+         "method" : "GET",
+         "authentication" : "1"
+      },
+      "user_timeline" : {
+         "params" : [
+            "user_id",
+            "screen_name",
+            "since_id",
+            "max_id",
+            "count",
+            "page",
+            "trim_user",
+            "include_rts",
+            "include_entities"
+         ],
+         "path" : "/statuses/user_timeline.:format",
+         "method" : "GET"
+      },
       "public_timeline" : {
          "params" : [
-            "skip_user"
+            "trim_user",
+            "include_entities"
+         ],
+         "required" : [
+            "format"
          ],
-         "path" : "/statuses/public_timeline",
+         "path" : "/statuses/public_timeline.:format",
          "method" : "GET"
       },
+      "mentions" : {
+         "params" : [
+            "since_id",
+            "max_id",
+            "count",
+            "page",
+            "trim_user",
+            "include_rts",
+            "include_entities"
+         ],
+         "path" : "/statuses/mentions.:format",
+         "method" : "GET",
+         "authentication" : "1"
+      },
       "home_timeline" : {
          "params" : [
             "since_id",
             "max_id",
             "count",
             "page",
-            "skip_user"
+            "trim_user",
+            "include_entities"
          ],
-         "path" : "/statuses/home_timeline",
-         "method" : "GET"
+         "required" : [
+            "format"
+         ],
+         "path" : "/statuses/home_timeline.:format",
+         "method" : "GET",
+         "authentication" : "1"
+      },
+      "retweeted_by_me" : {
+         "params" : [
+            "since_id",
+            "max_id",
+            "count",
+            "page",
+            "trim_user",
+            "include_entities"
+         ],
+         "path" : "/statuses/retweeted_by_me.:format",
+         "method" : "GET",
+         "authentication" : "1"
+      },
+      "retweeted_to_me" : {
+         "params" : [
+            "since_id",
+            "max_id",
+            "count",
+            "page",
+            "trim_user",
+            "include_entities"
+         ],
+         "path" : "/statuses/retweeted_to_me.:format",
+         "method" : "GET",
+         "authentication" : "1"
       }
    },
    "api_format" : [
-      "json"
+      "json",
+      "rss",
+      "xml",
+      "atom"
    ],
    "name" : "Twitter",
    "author" : [