gtt-python-client
=======================
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')
=======================
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')
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gtt-python-client-0.1.2.tar.gz.
File metadata
- Download URL: gtt-python-client-0.1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90454a7cffd82d70e676d40e37a0ef764ddbb3b4c1321b3c0c1187f7d6e094b6
|
|
| MD5 |
5b5692fa2bc7c3423b020f2c55b60cbf
|
|
| BLAKE2b-256 |
ae00d6202ebb329931e4b91870c3db5817a12b65db3bfe5620efc26075658a47
|