summaryrefslogtreecommitdiff
path: root/eg/github.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'eg/github.yaml')
-rw-r--r--eg/github.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/eg/github.yaml b/eg/github.yaml
new file mode 100644
index 0000000..c28e370
--- /dev/null
+++ b/eg/github.yaml
@@ -0,0 +1,19 @@
+declare:
+ api_base_url: http://github.com/api/v2/
+ api_format: JSON
+ api_format_mode: content-type
+methods:
+ user_information:
+ method: GET
+ path: /user/show/:username
+ params:
+ - username
+ required:
+ - username
+ user_following:
+ method: GET
+ path: /user/show/:user/followers
+ params:
+ - user
+ required:
+ - user