◐ Shell
clean mode source ↗

GitHub - bebound/Python-Microsoft-Translate-API: Microsoft(Bing) translate API for python3

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Python-Microsoft-Translate-API

Microsoft(Bing) translate API for python3


###Requirement

Requests

Python3


###Installation


###Usage

from mstranslate import MSTranslate

kk = MSTranslate('client_id', 'client_secret')
print(kk.translate('你好', 'en'))
>>> How do you do

PS:You can specificy the from language as the third parameter in translate() function.