Skip to main content

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')

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

gtt-python-client-0.2a1.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file gtt-python-client-0.2a1.tar.gz.

File metadata

File hashes

Hashes for gtt-python-client-0.2a1.tar.gz
Algorithm Hash digest
SHA256 889d38c672207201676b6b7e44bfc4770b666115bfe1efb52dc4c51db26f2828
MD5 5ef7eb37b1a3902ab87f8a4c27feff4b
BLAKE2b-256 5e2ec8773424c7ad58f510ea7cccf5f0ea0383faf4ed16102bf8b2cc1de64b38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page