Skip to content

blacktrub/leoapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple LinguaLeo api wrapper

For start:

  1. Clone this project

  2. Create a virtual environment

    $ pipenv --three

  3. Install requirements

    $ pipenv install

You can learn more about pipenv on official github page

Simple usage:

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='слово')

Enjoy!

Releases

No releases published

Packages

No packages published

Languages