Translate API for Python3 used Google.The default Google server for China, you can switch to use.
Project description
1. Feactures:
Google. - translate_api is a python3 library that uses the translation functionality of the Google interface.
Switch the server. - The default server is Google-China server, the user can switch to (google.com) server.
All languages can be translated.
2. Usage:
>>>from translate_api.translate_api import api
>>>api(‘Hello,World!’)
‘你好,世界!’
>>>api(‘こんにちは!’,’ja’,’ko’)
‘안녕하세요!’
3. Tips:
api(**text**=r’’,**from_language**=’en’,**to_language**=’zh-CN’,**host**=’https://translate.google.cn’)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
translate_api-1.1.2.tar.gz
(6.1 kB
view hashes)
Built Distribution
translate_api-1.1.2-py3.6.egg
(9.4 kB
view hashes)