# WikiTranslate

[![Circle CI](https://circleci.com/gh/wikitranslate/wt-api/tree/master.svg?style=svg)](https://circleci.com/gh/wikitranslate/wt-api/tree/master)

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](./doc/wiki.png)

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