Metadata-Version: 2.1
Name: pyzohoapi
Version: 0.4.0
Summary: Pythonic access to Zoho APIs in the Finance Plus suite.
Home-page: https://github.com/tdesposito/pyZohoAPI
License: MIT
Keywords: api,zoho api,zoho books,zoho inventory,zoho
Author: Todd Esposito
Author-email: todd@toddesposito.com
Requires-Python: >=3.6,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: requests (>=2.25.1,<3.0.0)
Project-URL: Documentation, https://pyzohoapi.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/tdesposito/pyZohoAPI
Description-Content-Type: text/markdown

# pyZohoAPI (v0.4.0)
 **pyZohoAPI** provides Pythonic access to Zoho APIs in the Finance Plus suite:
 * **Books**
 * *Checkout*<sup>*</sup>
 * *Expense*<sup>*</sup>
 * **Inventory**
 * *Invoice*<sup>*</sup>
 * *Subscriptions*<sup>*</sup>

<sup>*</sup> Support is planned, but not yet available.

[![PyPI](https://img.shields.io/pypi/v/pyzohoapi)](https://pypi.org/project/pyzohoapi/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyzohoapi)](https://pypi.org/project/pyzohoapi/)
![License](https://img.shields.io/github/license/tdesposito/pyZohoAPI)
[![Documentation Status](https://readthedocs.org/projects/pyzohoapi/badge/?version=latest)](https://pyzohoapi.readthedocs.io/en/latest/?badge=latest)

## Installing pyZohoAPI
<!-- start installation -->

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

### Via PyPI
```console
$ python -m pip install pyzohoapi
```

### From Source
We use [Poetry](https://python-poetry.org/) for virtual environment and
dependency management.
```console
$ git clone https://github.com/tdesposito/pyZohoAPI.git
$ cd pyZohoAPI
$ poetry install
$ poetry build
$ pip install dist/*.whl
```
<!-- end installation -->

## Basic Usage

<!-- start basic-usage -->
```python
>>> 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()
```
<!-- end basic-usage -->

See the [full documetation on ReadTheDocs](https://pyzohoapi.readthedocs.io/en/latest/)

## Contributing
Pull Requests gladly considered!

