Python SDK for Azure Translator API.
Project description
# azure-translator-python-sdk
[![CircleCI](https://circleci.com/gh/Work4Labs/azure-translator-python-sdk/tree/master.svg?style=shield&circle-token=d06ed7a66ca3c1565f4defd3ca8f4fe6137008a6)](https://circleci.com/gh/Work4Labs/azure-translator-python-sdk/tree/master)
[![PyPI version](https://badge.fury.io/py/azure-translator.svg)](https://badge.fury.io/py/azure-translator)
![License](https://img.shields.io/pypi/l/azure-translator.svg)
For more information on Azure translator API, follow
[their documentation](http://docs.microsofttranslator.com/text-translate.html#!/default/get_Translate).
Usage:
```python
>>> from azure_translator import Translator
>>> t = Translator('your_api_key')
>>> t.translate('Je suis fatigué')
'I am tired'
>>> t.translate("Hello", to='fr')
'Bonjour'
>>> t.translate("Aujourd'hui", source_language='fr')
'Today'
```
[![CircleCI](https://circleci.com/gh/Work4Labs/azure-translator-python-sdk/tree/master.svg?style=shield&circle-token=d06ed7a66ca3c1565f4defd3ca8f4fe6137008a6)](https://circleci.com/gh/Work4Labs/azure-translator-python-sdk/tree/master)
[![PyPI version](https://badge.fury.io/py/azure-translator.svg)](https://badge.fury.io/py/azure-translator)
![License](https://img.shields.io/pypi/l/azure-translator.svg)
For more information on Azure translator API, follow
[their documentation](http://docs.microsofttranslator.com/text-translate.html#!/default/get_Translate).
Usage:
```python
>>> from azure_translator import Translator
>>> t = Translator('your_api_key')
>>> t.translate('Je suis fatigué')
'I am tired'
>>> t.translate("Hello", to='fr')
'Bonjour'
>>> t.translate("Aujourd'hui", source_language='fr')
'Today'
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
azure-translator-0.1.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for azure_translator-0.1.2-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e086760109dbcf4e42d017106d2fe69cf403760bebc0835e1f674f86cbbd0d8 |
|
MD5 | 0ba4a84974eed3842d75f2e2f932e433 |
|
BLAKE2b-256 | 90e2d05b631e5628fb46f64473653a9593db4bda991b86e4dc35d3b27c06767a |