diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2011-06-04 10:58:17 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2011-06-04 10:58:17 +0200 |
commit | 507c657b44349f0732e1479f520b00587dcc8687 (patch) | |
tree | 9950f2194004915547df7f8055d83135c2023d8f | |
parent | fix json for geonames (diff) | |
download | api-description-507c657b44349f0732e1479f520b00587dcc8687.tar.gz |
add Google Translate
-rw-r--r-- | services/Makefile | 2 | ||||
-rw-r--r-- | services/googletranslate.json | 37 | ||||
-rw-r--r-- | services/googletranslate.png | bin | 0 -> 6347 bytes |
3 files changed, 39 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile index fb09daf..cf2be59 100644 --- a/services/Makefile +++ b/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 diff --git a/services/googletranslate.json b/services/googletranslate.json new file mode 100644 index 0000000..53682df --- /dev/null +++ b/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" + } +} diff --git a/services/googletranslate.png b/services/googletranslate.png new file mode 100644 index 0000000..dfb7d2b --- /dev/null +++ b/services/googletranslate.png Binary files differ |