summaryrefslogtreecommitdiff
path: root/services/backtweet.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/backtweet.json')
-rw-r--r--services/backtweet.json58
1 files changed, 25 insertions, 33 deletions
diff --git a/services/backtweet.json b/services/backtweet.json
index 6c8b237..4605f0b 100644
--- a/services/backtweet.json
+++ b/services/backtweet.json
@@ -1,49 +1,43 @@
{
- "api_base_url" : "http://api.backtype.com",
+ "base_url" : "http://api.backtype.com",
"version" : "0.2",
"methods" : {
"tweets_by_url" : {
- "params" : {
- "optinal" : [
- "itemsperpage",
- "start",
- "end"
- ],
- "required" : [
- "q",
- "key"
- ]
- },
- "expected" : [
+ "optional_params" : [
+ "itemsperpage",
+ "start",
+ "end"
+ ],
+ "required_params" : [
+ "q",
+ "key"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/tweets/search/links",
"method" : "GET"
},
"stats_by_url" : {
- "params" : {
- "required" : [
- "q",
- "key"
- ],
- "optional" : [
- "batch"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "q",
+ "key"
+ ],
+ "optional_params" : [
+ "batch"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/tweetcount",
"method" : "GET"
},
"good_tweets_by_url" : {
- "params" : {
- "required" : [
- "q",
- "key"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "q",
+ "key"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/goodtweets",
@@ -51,9 +45,7 @@
}
},
"name" : "Backtweet",
- "author" : [
- "franck cuny <franck@lumberjaph.net>"
- ],
+ "authority" : "GITHUB:franckcuny",
"meta" : {
"documentation" : "http://www.backtype.com/developers"
}