KhachKara / translators

0 stars 0 forks source link

bing_translator 0.1 #3

Open KhachKara opened 7 years ago

KhachKara commented 7 years ago

pip install bing_translator

from bing_translator import Bing #importing Bing class for translations.

client_id = "" client_secret = ""

translator = Bing(client_id, client_secret) phrase_translated = translator.translate("Hello World", "pt") #translating phrase print (phrase_translated)

KhachKara commented 7 years ago

https://pypi.python.org/pypi/bing_translator https://pypi.python.org/pypi/BingTranslator/0.1 https://blogs.msdn.microsoft.com/translation/gettingstarted1/