Skip to main content

pyzohodocs

pyzohodocs is an unofficial client for the Zohodocs REST API.

https://www.zoho.com/docs/zoho-docs-api.html

pyzohodocs

It blends seamlessy with your web applications,scripts ,automation etc . Incase you are using Zoho Docs in your application, you can use this client.

Note

For user using version 1.1 use this method to obtain token

from pyzohodocs.auth import  ZohoAuth

auth_instance = ZohoAuth()
token = auth_instance.get_auth_token(email = '<YOUR EMAIL ID>',
password = '<YOUR APP SPECIFIC PASSWORD>',
display_name = '<YOUR DISPLAYNAME>')

Obtaining an Authtoken

from pyzohodocs.auth import  ZohoAuth
token = ZohoAuth.get_auth_token(email = '<YOUR EMAIL ID>',
password = '<YOUR APP SPECIFIC PASSWORD>',
display_name = '<YOUR DISPLAYNAME>')

Uploading a File

    from pyzohodocs.pyzohodoc import ZohoDocsClient
    client = ZohoDocsClient('<YOUR AUTH TOKEN>')
    client.upload_file(file_name.='example.docx',file_path = 'The path to your file')

You can pass extra arguments to this method as dict . See Documentation for the list of arguments you can pass

Downloading a File

# Pass the id of the document
# The File name you wish to name it
from pyzohodocs.pyzohodoc import ZohoDocsClient
client = ZohoDocsClient('<YOUR AUTH TOKEN>'
client.download_file(doc_id ='676554www',file_name = ' v.docx' )

Create a Empty File

from pyzohodocs.pyzohodoc import ZohoDocsClient
client = ZohoDocsClient('<YOUR AUTH TOKEN>')
client.create_file(filename = 'test.docx', service='document',type='doc')

List your Files

from pyzohodocs.pyzohodoc import ZohoDocsClient
client = ZohoDocsClient('<YOUR AUTH TOKEN>'
client.my_files(category = "documents")

There are methods for every operation that is available in the API . A documentation will be created soon.

In case of Issues please create a new Ticket here . https://github.com/VarthanV/pyzohodocs/issues

For addition of new features https://github.com/VarthanV/pyzohodocs/pulls

Metadata

Release files for pyzohodocs 1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyzohodocs 1.6
File Size Uploaded Provenance Actions
pyzohodocs-1.6.tar.gz 5.9 kB Without provenance Details for pyzohodocs-1.6.tar.gz

Release files / pyzohodocs-1.6.tar.gz

Download URL pyzohodocs-1.6.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5e3d1efb81c7fab1444cc974dfde89dba836076094819c74b8101f19a5ab4e65
BLAKE2b-256 checksum
How to use checksums
201d9ef1716d0be9ef29ff52b122c065d7f1787a3371430b4cf070166489fb25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

Security for pyzohodocs 1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.6 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page