summaryrefslogtreecommitdiff
path: root/eg/twitter.yaml
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-08-31 15:40:13 +0200
committerfranck cuny <franck@lumberjaph.net>2010-08-31 15:40:13 +0200
commit945412cd8fad832f7bea42ac3191867287a9a3c0 (patch)
treef6b70e8fce7eefaa2ad01f8d1d3f3ed053d50af6 /eg/twitter.yaml
downloadnet-http-api-spec-945412cd8fad832f7bea42ac3191867287a9a3c0.tar.gz
initial import
Diffstat (limited to 'eg/twitter.yaml')
-rw-r--r--eg/twitter.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/eg/twitter.yaml b/eg/twitter.yaml
new file mode 100644
index 0000000..92054b7
--- /dev/null
+++ b/eg/twitter.yaml
@@ -0,0 +1,19 @@
+declare:
+ api_base_url: http://api.twitter.com/1
+ api_format: json
+ api_format_mode: append
+methods:
+ public_timeline:
+ method: GET
+ path: /statuses/public_timeline
+ params:
+ - skip_user
+ home_timeline:
+ method: GET
+ path: /statuses/home_timeline
+ params:
+ - since_id
+ - max_id
+ - count
+ - page
+ - skip_user