Unofficial Mirai Translate API for Python
Project description
mirai-translate
mirai-translate is an unofficial Mirai Translate API for Python.
pip install mirai-translate
>>> from mirai_translate import Client
>>> cli = Client()
>>> cli.translate('テスト', 'ja', 'en')
'Test'
Disclaimer
mirai-translate simply accesses Translation Demo and requests to the behind API server. I believe there is no illegality in using this library. However, you might want to read the Terms of Use for Mirai Translate.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mirai-translate-0.1.3.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for mirai_translate-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcf2efcee044c3c5b00a6fa6e21c073db1c773160652b963698196724955422c |
|
MD5 | 4fa6c881240c5375736a96df9ad40ba4 |
|
BLAKE2b-256 | 618178321f802c57ca07a723761901c6ea6ce703d744c94ad6fb8e30fdf51dae |