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.3.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for azure_translator-0.1.3-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f7078fa9f54bdc77ef08b768c7a6fd9dbc665ae5d080bc87c70a3b41719f102 |
|
MD5 | 6e10cbdcfd9d03ac6af6d852e0fa16b7 |
|
BLAKE2b-256 | 40a0e134034a9314dc44bab7f260544cb33f8b8bb3f3ad9a5dfde74be0de28b3 |