Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.23 KB

readme.MD

File metadata and controls

60 lines (47 loc) · 1.23 KB

Europa

Build Status

Transtreaming Documentation

Please refer to main github reposity for a complete transtreaming documentation

Installation

Move to europa directory

$ cd europa

Create virtual env (optional)

Install the dependencies

$ pip install -r requirements.txt

run the flask app

$ python -m flask app.py

Endpoints

HTTP VERB DESCRIPTION ENDPOINT
GET Get languanges v1/languages
POST Take the audio, source & destination and translate v1/transcripe_and_translate
POST Take the text, source & destination and translate v1/translate
POST Take, uid, roomid and language and add the user v1/users

Socket.io

Server Listen on: translate

Receive

{
    "text": "",
    "roomid: "",
    "uid": "",
    "src": "en"
}

Client Listen on: {uid}

Receive

{
    "translated_text": "hello"
}

License

This software is licensed under the MIT License (MIT). View the license.