| 1 |
{ |
| 2 |
|
| 3 |
"SMDVersion": "2.0", |
| 4 |
"id": "http://apiwiki.twitter.com/w/page/22554756/Twitter-Search-API-Method:-search", |
| 5 |
"description": "Twitter Search API", |
| 6 |
|
| 7 |
"transport": "JSONP", |
| 8 |
"envelope": "URL", |
| 9 |
"additionalParameters": true, |
| 10 |
|
| 11 |
"parameters": [ |
| 12 |
// the most important param, the search query: |
| 13 |
{ "name": "q", optional: false, "default":"" }, |
| 14 |
|
| 15 |
|
| 16 |
// result size: large | small (8 or 4 per page) |
| 17 |
{ "name": "rpp", optional:true, "default": 10 }, |
| 18 |
|
| 19 |
// language selection: |
| 20 |
{ "name": "lang", optional:true, "default": "en" }, |
| 21 |
|
| 22 |
// starting page |
| 23 |
{ "name": "page", optional:true, "default": 0 } |
| 24 |
|
| 25 |
], |
| 26 |
|
| 27 |
"services": { |
| 28 |
|
| 29 |
"search": { |
| 30 |
"target": "http://search.twitter.com/search.json", |
| 31 |
"parameters": [ |
| 32 |
] |
| 33 |
} |
| 34 |
} |
| 35 |
} |