From 5941c4a9cb8344028ceca1b19812e1a007d9366c Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 13 Sep 2010 13:37:54 +0200 Subject: update github and twitter --- services/github.json | 22 +++++++++------------- services/twitter.json | 17 ++++++++++++----- 2 files changed, 21 insertions(+), 18 deletions(-) (limited to 'services') diff --git a/services/github.json b/services/github.json index 44a295e..2e9b4eb 100644 --- a/services/github.json +++ b/services/github.json @@ -1,15 +1,8 @@ { - "declare" : { - "api_base_url" : "http://github.com/api/v2/", - "api_format_mode" : "content-type", - "api_format" : "json" - }, + "api_base_url" : "http://github.com/api/v2/", + "version" : "0.1", "methods" : { "user_information" : { - "params" : [ - "username", - "format" - ], "required" : [ "username", "format" @@ -18,10 +11,6 @@ "method" : "GET" }, "user_following" : { - "params" : [ - "user", - "format" - ], "required" : [ "user", "format" @@ -29,5 +18,12 @@ "path" : "/:format/user/show/:user/followers", "method" : "GET" } + }, + "name" : "GitHub", + "author" : [ + "franck cuny " + ], + "meta" : { + "documentation" : "http://develop.github.com/" } } diff --git a/services/twitter.json b/services/twitter.json index f07470e..4396072 100644 --- a/services/twitter.json +++ b/services/twitter.json @@ -1,9 +1,6 @@ { - "declare" : { - "api_base_url" : "http://api.twitter.com/1", - "api_format_mode" : "append", - "api_format" : "json" - }, + "api_base_url" : "http://api.twitter.com/1", + "version" : "0.1", "methods" : { "public_timeline" : { "params" : [ @@ -23,5 +20,15 @@ "path" : "/statuses/home_timeline", "method" : "GET" } + }, + "api_format" : [ + "json" + ], + "name" : "Twitter", + "author" : [ + "franck cuny " + ], + "meta" : { + "documentation" : "http://dev.twitter.com/" } } -- cgit v1.2.3