about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2011-06-06 15:56:46 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2011-06-06 15:56:46 +0200
commit9ab930fbbf2e4174214980ba683cf06c8c2a5c3f (patch)
treed2f1e36ce4056b2e9f653a859165b2e709eb42ef
parentput authorization OAuth in header (diff)
downloadapi-description-9ab930fbbf2e4174214980ba683cf06c8c2a5c3f.tar.gz
add Google Page Speed Online service
-rw-r--r--services/Makefile2
-rw-r--r--services/googlepagespeed.json27
-rw-r--r--services/googlepagespeed.pngbin0 -> 6351 bytes
3 files changed, 29 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile
index 2504406..a64ec10 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -8,6 +8,7 @@ check: spore_validation.rx
 	@$(VALIDATOR) backtype.json
 	@$(VALIDATOR) github.json
 	@$(VALIDATOR) googleoauth.json
+	@$(VALIDATOR) googlepagespeed.json
 	@$(VALIDATOR) googleshortener.json
 	@$(VALIDATOR) googletranslate.json
 	@$(VALIDATOR) ihackernews.json
@@ -25,6 +26,7 @@ png: \
     backtype.png \
     github.png \
     googleoauth.png \
+    googlepagespeed.png \
     googleshortener.png \
     googletranslate.png \
     ihackernews.png \
diff --git a/services/googlepagespeed.json b/services/googlepagespeed.json
new file mode 100644
index 0000000..e41ea8f
--- /dev/null
+++ b/services/googlepagespeed.json
@@ -0,0 +1,27 @@
+{
+   "name" : "Google Page Speed",
+   "version" : "0.1",
+   "base_url" : "https://www.googleapis.com/pagespeedonline/v1",
+   "methods" : {
+      "run" : {
+         "path" : "/runPagespeed",
+         "method" : "GET",
+         "required_params" : [
+            "key",
+            "url"
+         ],
+         "optional_params" : [
+            "callback",
+            "locale",
+            "prettyprint",
+            "rule",
+            "strategy",
+            "userIp"
+         ]
+      }
+   },
+   "authority" : "http://github.com/SPORE",
+   "meta" : {
+      "documentation" : "https://code.google.com/apis/pagespeedonline/v1/getting_started.html"
+   }
+}
diff --git a/services/googlepagespeed.png b/services/googlepagespeed.png
new file mode 100644
index 0000000..db7eff3
--- /dev/null
+++ b/services/googlepagespeed.png
Binary files differ