Pythonic access to Zoho APIs in the Finance Plus suite.
Project description
pyZohoAPI (v0.3.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.
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 documetation on ReadTheDocs
Contributing
Pull Requests gladly considered!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyZohoAPI-0.3.0.tar.gz
(12.4 kB
view hashes)
Built Distribution
pyZohoAPI-0.3.0-py3-none-any.whl
(15.9 kB
view hashes)
Close
Hashes for pyZohoAPI-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7a9061f510b2e0bd5d53b5b2fc190fa09fedc61f71de025de3f0c2985851d7 |
|
MD5 | 5c1761fe54017698e0f1239c9bc63a79 |
|
BLAKE2b-256 | 7d27187f2ef814bf40509f8ba81c290b4f6ab3941c6ee1f878c213cf2ca421d4 |