summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/rpc/SMDLibrary/twitter.smd
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/rpc/SMDLibrary/twitter.smd')
-rw-r--r--js/dojo/dojox/rpc/SMDLibrary/twitter.smd35
1 files changed, 35 insertions, 0 deletions
diff --git a/js/dojo/dojox/rpc/SMDLibrary/twitter.smd b/js/dojo/dojox/rpc/SMDLibrary/twitter.smd
new file mode 100644
index 0000000..6c19b3a
--- /dev/null
+++ b/js/dojo/dojox/rpc/SMDLibrary/twitter.smd
@@ -0,0 +1,35 @@
+{
+
+ "SMDVersion": "2.0",
+ "id": "http://apiwiki.twitter.com/w/page/22554756/Twitter-Search-API-Method:-search",
+ "description": "Twitter Search API",
+
+ "transport": "JSONP",
+ "envelope": "URL",
+ "additionalParameters": true,
+
+ "parameters": [
+ // the most important param, the search query:
+ { "name": "q", optional: false, "default":"" },
+
+
+ // result size: large | small (8 or 4 per page)
+ { "name": "rpp", optional:true, "default": 10 },
+
+ // language selection:
+ { "name": "lang", optional:true, "default": "en" },
+
+ // starting page
+ { "name": "page", optional:true, "default": 0 }
+
+ ],
+
+ "services": {
+
+ "search": {
+ "target": "http://search.twitter.com/search.json",
+ "parameters": [
+ ]
+ }
+ }
+}