Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add Google Translate

  • Loading branch information...
commit 507c657b44349f0732e1479f520b00587dcc8687 1 parent 7afbd64
François Perrad fperrad authored
2  services/Makefile
View
@@ -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
37 services/googletranslate.json
View
@@ -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"
+ }
+}
BIN  services/googletranslate.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.