-
Clone this project
-
Create a virtual environment
$ pipenv --three
-
Install requirements
$ pipenv install
You can learn more about pipenv on official github page
In [1]: from api import LinguaLeoApi
In [2]: api = LinguaLeoApi(email='your@mail.com', password='yourpassword')
In [3]: api.auth()
In [4]: api.translate(word='word')
Out[4]: ['слово', 'сообщение', 'речь', 'разговор', 'обещание']
In [5]: api.send_word(word='word', translate='слово')