gtt-python-client 0.2a2
Python bindings for Google Translator Toolkit API.
Python bindings for Google Tranlator Toolkit API http://code.google.com/apis/gtt/
Alpha version, have only basic support (models, ACL) yet.
Installation
pip install gtt-python-client
Usage
>>> import translator.client
>>> client = translator.client.TranslatorToolkitClient()
>>> client.client_login('some.google@account', 'P4ssW0rD', 'gtt-client')
>>> document = client.get_documents().entry[0]
>>> acl_link = document.find_acl_link()
>>> client.add_acl(acl_link, 'other.gooogle@account', 'writer')
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| gtt-python-client-0.2a2.tar.gz (md5) | Source | 2011-02-02 | 4KB | 301 | |
- Author: Yury Yurevich
- Home Page: https://github.com/jellycrystal/gtt-python-client
- License: BSD
- Categories
- Package Index Owner: YuryYurevich
- DOAP record: gtt-python-client-0.2a2.xml
