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
File details
Details for the file gtt-python-client-0.2a2.tar.gz
.
File metadata
- Download URL: gtt-python-client-0.2a2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6a94f9e5cbcfd066b7a2f2749b41e37549f4e9cee8a2a9adcf081daf71c2e5 |
|
MD5 | 5996c583a0fdb6ac6b0c8e4768e93b9d |
|
BLAKE2b-256 | 533221487a4f05ca4a8a401793aa519fb23d42146331b62c4f8b93d018707682 |