Skip to content

Provides Pythonic access to Zoho APIs in the Finance Plus suite: Books, Checkout, Expense, Inventory, Invoice, Subscriptions

License

Notifications You must be signed in to change notification settings

tdesposito/pyZohoAPI

Repository files navigation

pyZohoAPI (v1.0.0)

pyZohoAPI provides Pythonic access to Zoho APIs in the Finance Plus suite:

  • Books
  • Checkout*
  • Expense*
  • Inventory
  • Invoice*
  • Subscriptions*

* Support is planned, but not yet available.

PyPI PyPI - Python Version License Documentation Status

Installing pyZohoAPI

You'll need at least Python 3.6 to install pyZohoAPI.

Via PyPI

$ python -m pip install pyzohoapi

From Source

We use Poetry for virtual environment and dependency management.

$ git clone https://github.com/tdesposito/pyZohoAPI.git
$ cd pyZohoAPI
$ poetry install
$ poetry build
$ pip install dist/*.whl

Basic Usage

>>> from pyzohoapi import ZohoInventory
>>> api = ZohoInventory("{your-orginization-id}", "{your-region}",
...   client_id="{your-client-id}",
...   client_secret="{your-client-secret}",
...   refresh_token="{your-refresh-token}"
... )
>>> contact = api.Contact(email="test@example.com").First()
>>> contact.IsLoaded
True
>>> contact.first_name
'test'
>>> contact.first_name = "Changed"
>>> contact.Update()

See the full documentation on ReadTheDocs.

Contributing

Pull Requests gladly considered! Please use our pull request template when submitting your pull request.

Thanks Contributors!
Shubham Agawane
Shubham Agawane

About

Provides Pythonic access to Zoho APIs in the Finance Plus suite: Books, Checkout, Expense, Inventory, Invoice, Subscriptions

Resources

License

Code of conduct

Stars

Watchers

Forks