Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 840 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 840 Bytes

mirai-translate

PyPI - Python Version PyPI GitHub Workflow Status

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.