summary refs log tree commit diff
path: root/eg/github.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'eg/github.yaml')
-rw-r--r--eg/github.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/eg/github.yaml b/eg/github.yaml
new file mode 100644
index 0000000..f844a41
--- /dev/null
+++ b/eg/github.yaml
@@ -0,0 +1,17 @@
+declare:
+  api_base_url: http://github.com/api/v2/
+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