Permalink
Browse files

add Google Translate

  • Loading branch information...
1 parent 7afbd64 commit 507c657b44349f0732e1479f520b00587dcc8687 @fperrad fperrad committed Jun 4, 2011
Showing with 39 additions and 0 deletions.
  1. +2 −0 services/Makefile
  2. +37 −0 services/googletranslate.json
  3. BIN services/googletranslate.png
View
2 services/Makefile
@@ -7,6 +7,7 @@ check: spore_validation.rx
@$(VALIDATOR) backtweet.json
@$(VALIDATOR) backtype.json
@$(VALIDATOR) github.json
+ @$(VALIDATOR) googletranslate.json
@$(VALIDATOR) ihackernews.json
@$(VALIDATOR) ohloh.json
@$(VALIDATOR) twitter.json
@@ -21,6 +22,7 @@ png: \
backtweet.png \
backtype.png \
github.png \
+ googletranslate.png \
ihackernews.png \
ohloh.png \
twitter.png
View
37 services/googletranslate.json
@@ -0,0 +1,37 @@
+{
+ "name" : "GoogleTranslate",
+ "version" : "0.1",
+ "base_url" : "https://www.googleapis.com/language/translate/v2",
+ "methods" : {
+ "translate" : {
+ "path" : "",
+ "method" : "GET",
+ "required_params" : [
+ "key",
+ "source",
+ "target",
+ "q"
+ ]
+ },
+ "languages" : {
+ "path" : "/languages",
+ "method" : "GET",
+ "required_params" : [
+ "key",
+ "target"
+ ]
+ },
+ "detect" : {
+ "path" : "/detect",
+ "method" : "GET",
+ "required_params" : [
+ "key",
+ "q"
+ ]
+ }
+ },
+ "authority" : "http://github.com/SPORE",
+ "meta" : {
+ "documentation" : "https://code.google.com/apis/language/translate/v2/getting_started.html"
+ }
+}
View
BIN services/googletranslate.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 507c657

Please sign in to comment.