wikitranslate-api

Wikipedia translation as a service

Usage no npm install needed!

<script type="module">
  import wikitranslateApi from 'https://cdn.skypack.dev/wikitranslate-api';
</script>

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