python-zohodocs is a simple Python library for interacting with Zoho Docs (Writer, Sheet, and Show).
Installation
pip install zohodocs
Getting Started
from zohodocs import ZohoDocs
Creating a new Document
z = ZohoDocs(API_KEY)
print z.new_file('document1.doc')
Opening a Document
All methods return a URL which links to the editor. Optional arguments match with Zoho's documented API: https://apihelp.wiki.zoho.com/Open-Document.html
z = ZohoDocs(API_KEY)
# Local document
print z.open('/var/www/document.doc')
# File pointer
fp = open('/var/www/document.doc', 'r')
print z.open(fp)
# URL
print z.open_url('http://example.com/document.doc')
# Optional arguments
print z.open('/var/www/document.doc', id='myid', saveurl='http://example.com/save.php')
Product's homepage
Requirements:
· Python