summaryrefslogtreecommitdiff
path: root/js/dojo-1.7.2/dojox/rpc/SMDLibrary/twitter.smd
blob: 6c19b3a077ed55384b685bb9170ef10054e6f31d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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": [
			]
		}		
	}
}