wikitranslate-api
v0.0.1
Published
Wikipedia translation as a service
Downloads
3
Maintainers
Readme
WikiTranslate
Ask experts from around the globe to find the exact translation for technical terms. Not only is Wikipedia a great source of knowledge, it's also a great translation tool !
This package is an api to answer translation requests.
Usage
The API is available on heroku : https://wiki-translate.herokuapp.com/api
Usage is fairly simple:
GET /:fromLang/:toLang/:search
returns the associated translation.
Example:
GET /fr/en/Permittivité
Will return
HTTP/1.1 200 OK [...] { "wikipedia": [ "Permittivity" ], "wiktionary": [ "permittivity" ] }