Python bindings for Google Translator Toolkit API.
Project description
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gtt-python-client-0.1.tar.gz
(3.1 kB
view details)
File details
Details for the file gtt-python-client-0.1.tar.gz
.
File metadata
- Download URL: gtt-python-client-0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14eb93a1b6064a4a46f5a353ae9abbba6f6b6529c6bc8222f8c2a62161160984 |
|
MD5 | 106a641ceb61c539ff9f07d1e423f633 |
|
BLAKE2b-256 | bd372034c8913e49cc8a36e5b89ea7c7fcaa48e896799172040e24632f075c15 |