Skip to content

Commit

Permalink
add Google Translate
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Jun 4, 2011
1 parent 7afbd64 commit 507c657
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/Makefile
Expand Up @@ -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
Expand All @@ -21,6 +22,7 @@ png: \
backtweet.png \
backtype.png \
github.png \
googletranslate.png \
ihackernews.png \
ohloh.png \
twitter.png
Expand Down
37 changes: 37 additions & 0 deletions 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"
}
}
Binary file added 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.