summaryrefslogtreecommitdiff
path: root/services/googletranslate.json
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2011-06-04 10:58:17 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2011-06-04 10:58:17 +0200
commit507c657b44349f0732e1479f520b00587dcc8687 (patch)
tree9950f2194004915547df7f8055d83135c2023d8f /services/googletranslate.json
parentfix json for geonames (diff)
downloadapi-description-507c657b44349f0732e1479f520b00587dcc8687.tar.gz
add Google Translate
Diffstat (limited to '')
-rw-r--r--services/googletranslate.json37
1 files changed, 37 insertions, 0 deletions
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"
+ }
+}