Pythonic access to Zoho APIs in the Finance Plus suite.
Project description
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.
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 |
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-1.0.0.tar.gz
(15.8 kB
view details)
Built Distribution
pyzohoapi-1.0.0-py3-none-any.whl
(19.6 kB
view details)
File details
Details for the file pyzohoapi-1.0.0.tar.gz
.
File metadata
- Download URL: pyzohoapi-1.0.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35122fc3a80778852e60f4aca85e17816130fdcd77952b2226349c4ff396e59 |
|
MD5 | 5e8fe37b63fa21d6f5ccb83cc8d49f1a |
|
BLAKE2b-256 | f91319869bec91867d32b59df079f5fea0c0952faf22fb6cb5a54b2f7e7f2d7e |
File details
Details for the file pyzohoapi-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyzohoapi-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f32057d8c169b90824e86b87f641ecf389175cf4d73da1b38fa6016de8f437f |
|
MD5 | 4b12b1d25e0ad6834d21c6596c0f5dc2 |
|
BLAKE2b-256 | aabe088614d47e4b200925422d2f833eac19a0ea2381e98e4d3ce05c2f0f9dbb |