diff options
Diffstat (limited to '')
| -rw-r--r-- | eg/github.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/eg/github.json b/eg/github.json new file mode 100644 index 0000000..52513d1 --- /dev/null +++ b/eg/github.json @@ -0,0 +1,31 @@ +{ + "declare" : { + "api_base_url" : "http://github.com/api/v2/", + "api_format_mode" : "content-type", + "api_format" : "json" + }, + "methods" : { + "user_information" : { + "params" : [ + "username", + "format" + ], + "required" : [ + "username", + "format" + ], + "path" : "/:format/user/show/:username", + "method" : "GET" + }, + "user_following" : { + "params" : [ + "user" + ], + "required" : [ + "user" + ], + "path" : "/user/show/:user/followers", + "method" : "GET" + } + } +} |
