summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/Makefile21
-rw-r--r--services/bitly.json21
-rw-r--r--services/bitly.pngbin0 -> 7431 bytes
-rw-r--r--services/facebook_graph.json56
-rw-r--r--services/facebook_graph.pngbin0 -> 21726 bytes
-rw-r--r--services/gnip.json22
-rw-r--r--services/gnip.pngbin0 -> 7629 bytes
-rw-r--r--services/googlemaps.json15
-rw-r--r--services/googlemaps.pngbin0 -> 4641 bytes
-rw-r--r--services/klout.json13
-rw-r--r--services/klout.pngbin0 -> 3456 bytes
-rw-r--r--services/topsy.json21
-rw-r--r--services/topsy.pngbin0 -> 3719 bytes
-rw-r--r--services/twitter_search.json21
-rw-r--r--services/twitter_search.pngbin0 -> 5634 bytes
15 files changed, 187 insertions, 3 deletions
diff --git a/services/Makefile b/services/Makefile
index 6fc3b2b..972d2e0 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -8,16 +8,24 @@ check: spore_validation.rx
@$(VALIDATOR) amazons3.json
@$(VALIDATOR) backtweet.json
@$(VALIDATOR) backtype.json
+ @$(VALIDATOR) bitly.json
@$(VALIDATOR) datapublica.json
+ @$(VALIDATOR) facebook_graph.json
@$(VALIDATOR) github.json
+ @$(VALIDATOR) gnip.json
+ @$(VALIDATOR) googlemaps.json
@$(VALIDATOR) googleoauth.json
@$(VALIDATOR) googleoauth2.json
@$(VALIDATOR) googlepagespeed.json
@$(VALIDATOR) googleshortener.json
@$(VALIDATOR) googletranslate.json
@$(VALIDATOR) ihackernews.json
+ @$(VALIDATOR) intervals.json
+ @$(VALIDATOR) klout.json
@$(VALIDATOR) ohloh.json
+ @$(VALIDATOR) topsy.json
@$(VALIDATOR) twitter.json
+ @$(VALIDATOR) twitter_search.json
@$(VALIDATOR) intervals.json
test: check
@@ -29,18 +37,25 @@ png: \
amazons3.png \
backtweet.png \
backtype.png \
+ bitly.png \
datapublica.png \
+ facebook_graph.png \
github.png \
+ gnip.png \
+ googlemaps.png \
googleoauth.png \
googleoauth2.png \
googlepagespeed.png \
googleshortener.png \
googletranslate.png \
ihackernews.png \
- ohloh.png \
- intervals.png \
indextank.png \
- twitter.png
+ intervals.png \
+ klout.png \
+ ohloh.png \
+ topsy.png \
+ twitter.png \
+ twitter_search.png
@make -C github png
@make -C googlemaps png
@make -C linkedin png
diff --git a/services/bitly.json b/services/bitly.json
new file mode 100644
index 0000000..3629082
--- /dev/null
+++ b/services/bitly.json
@@ -0,0 +1,21 @@
+{
+"name": "bitly",
+"base_url": "http://api.bitly.com",
+"version":"0.1",
+"methods":{
+ "lookup":{
+ "required_params":["login","apiKey","url"],
+ "optional_params":["format"],
+ "expected_status":["200"],
+ "path":"/v3/lookup",
+ "method":"GET"
+ },
+ "clicks":{
+ "required_params":["login","apiKey"],
+ "optional_params":["shortUrl","hash","format"],
+ "expected_status":["200"],
+ "path":"/v3/clicks",
+ "method":"GET"
+ }
+}
+}
diff --git a/services/bitly.png b/services/bitly.png
new file mode 100644
index 0000000..5c0ecdf
--- /dev/null
+++ b/services/bitly.png
Binary files differ
diff --git a/services/facebook_graph.json b/services/facebook_graph.json
new file mode 100644
index 0000000..a873d6d
--- /dev/null
+++ b/services/facebook_graph.json
@@ -0,0 +1,56 @@
+{
+"name": "facebook graph",
+"base_url": "http://graph.facebook.com/",
+"version":"0.1",
+"methods":{
+ "shares":{
+ "required_params":["url"],
+ "expected_status":["200"],
+ "path":"/:url",
+ "method":"GET"
+ },
+ "object":{
+ "required_params":["access_token","id"],
+ "expected_status":["200"],
+ "path":"/:id",
+ "method":"GET"
+ },
+ "posts":{
+ "required_params":["access_token","id"],
+ "expected_status":["200"],
+ "path":"/:id/posts",
+ "method":"GET"
+ },
+ "statuses":{
+ "required_params":["access_token","id"],
+ "expected_status":["200"],
+ "path":"/:id/statuses",
+ "method":"GET"
+ },
+ "feed":{
+ "required_params":["access_token","id"],
+ "expected_status":["200"],
+ "path":"/:id/feed",
+ "method":"GET"
+ },
+ "likes":{
+ "required_params":["access_token","id"],
+ "expected_status":["200"],
+ "path":"/:id/likes",
+ "method":"GET"
+ },
+ "comments":{
+ "required_params":["access_token","id"],
+ "expected_status":["200"],
+ "path":"/:id/comments",
+ "method":"GET"
+ },
+ "search":{
+ "required_params":["q"],
+ "optional_params":["access_token","type","field","until","since","limit","offset","__after_id"],
+ "expected_status":["200"],
+ "path":"/search",
+ "method":"GET"
+ }
+}
+}
diff --git a/services/facebook_graph.png b/services/facebook_graph.png
new file mode 100644
index 0000000..c1190bc
--- /dev/null
+++ b/services/facebook_graph.png
Binary files differ
diff --git a/services/gnip.json b/services/gnip.json
new file mode 100644
index 0000000..4b2519b
--- /dev/null
+++ b/services/gnip.json
@@ -0,0 +1,22 @@
+{
+"name":"gnip",
+"version":"0.1",
+"authentication":true,
+"methods":{
+ "get_rules":{
+ "required_params":["account","publisher","format"],
+ "expected_status":["200"],
+ "authentication":true,
+ "path":"/accounts/:account/publishers/:publisher/streams/track/prod/rules.:format",
+ "method":"GET"
+ },
+ "set_rules":{
+ "required_params":["account","publisher","format"],
+ "optional_params":["_method"],
+ "expected_status":["201","202"],
+ "authentication":true,
+ "path":"/accounts/:account/publishers/:publisher/streams/track/prod/rules.:format",
+ "method":"POST"
+ }
+}
+}
diff --git a/services/gnip.png b/services/gnip.png
new file mode 100644
index 0000000..510a6b6
--- /dev/null
+++ b/services/gnip.png
Binary files differ
diff --git a/services/googlemaps.json b/services/googlemaps.json
new file mode 100644
index 0000000..2b21569
--- /dev/null
+++ b/services/googlemaps.json
@@ -0,0 +1,15 @@
+{
+ "name": "Google Maps",
+ "base_url" : "http://maps.googleapis.com/maps/api",
+ "methods" : {
+ "geocode" : {
+ "path" : "/geocode/:format",
+ "method" : "GET",
+ "required_params" : [
+ "format",
+ "address",
+ "sensor"
+ ]
+ }
+ }
+}
diff --git a/services/googlemaps.png b/services/googlemaps.png
new file mode 100644
index 0000000..1d2915d
--- /dev/null
+++ b/services/googlemaps.png
Binary files differ
diff --git a/services/klout.json b/services/klout.json
new file mode 100644
index 0000000..a18a40c
--- /dev/null
+++ b/services/klout.json
@@ -0,0 +1,13 @@
+{
+"name":"KLOUT",
+"base_url":"http://api.klout.com",
+"version":"0.1",
+"methods":{
+ "klout":{
+ "required_params":["key","users","format"],
+ "expected_status":["200"],
+ "path":"/1/klout.:format",
+ "method":"GET"
+ }
+}
+}
diff --git a/services/klout.png b/services/klout.png
new file mode 100644
index 0000000..7372d69
--- /dev/null
+++ b/services/klout.png
Binary files differ
diff --git a/services/topsy.json b/services/topsy.json
new file mode 100644
index 0000000..fa8024d
--- /dev/null
+++ b/services/topsy.json
@@ -0,0 +1,21 @@
+{
+ "name" : "Topsy",
+ "version" : "0.1",
+ "base_url" : "http://otter.topsy.com/",
+ "methods" : {
+ "stats": {
+ "optional_params" : [],
+ "required_params" : ["url","format"],
+ "expected_status" : ["200"],
+ "path" : "/stats.:format",
+ "method" : "GET"
+ },
+ "credit": {
+ "optional_params" : [],
+ "required_params" : [],
+ "expected_status" : ["200"],
+ "path" : "/credit.:format",
+ "method" : "GET"
+ }
+ }
+}
diff --git a/services/topsy.png b/services/topsy.png
new file mode 100644
index 0000000..3274e9f
--- /dev/null
+++ b/services/topsy.png
Binary files differ
diff --git a/services/twitter_search.json b/services/twitter_search.json
new file mode 100644
index 0000000..d09a8b4
--- /dev/null
+++ b/services/twitter_search.json
@@ -0,0 +1,21 @@
+{
+ "name" : "twitter search",
+ "base_url" : "http://search.twitter.com/",
+ "methods" : {
+ "search" : {
+ "path" : "/search.:format",
+ "method" : "GET",
+ "required_params" : [
+ "format",
+ "q"
+ ],
+ "optional_params" : [
+ "geocode",
+ "lang",
+ "locale",
+ "page",
+ "result_type"
+ ]
+ }
+ }
+}
diff --git a/services/twitter_search.png b/services/twitter_search.png
new file mode 100644
index 0000000..2e22a9f
--- /dev/null
+++ b/services/twitter_search.png
Binary files differ