Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

wikitranslate-api

Wikipedia translation as a service

api, wiki, wikipedia, translate, translation

readme

WikiTranslate

Circle CI

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 !

Wiki 1

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"
    ]
}