Skip to content

bebound/Python-Microsoft-Translate-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python-Microsoft-Translate-API

Microsoft(Bing) translate API for python3


###Requirement

Requests

Python3


###Installation

pip install mstranslate

###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.

About

Microsoft(Bing) translate API for python3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages