Skip to content

Gerrrr/gtt-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python bindings for Google Translator Toolkit API — http://code.google.com/apis/gtt/

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages