Metadata-Version: 2.1
Name: nutshell
Version: 0.2.1
Summary: Python wrapper on Nutshell CRM JSON RPC API
License: "MIT"
Author: Mark Nyberg
Author-email: bigusdeveloper@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: aiohttp (>=3.9.3,<4.0.0)
Requires-Dist: pydantic (>=2.6.4,<3.0.0)
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
Description-Content-Type: text/markdown

# Nushell API

This is a work in progress pythonic API for Nutshell.

## Installation

```bash 
pip install nutshell
```

Nutshell access credentials should be stored in a .env file in the root directory.

## Usage

Pydantic dataclasses are available in the nutshell.methods module.

```python
from nutshell.methods impoort

GetUser

user = GetUser(user_id=1)
```

Once instantiated, these methods can be collected into an interable and passed to the
NutshellCalls class in the api_call module.

```python
from nutshell.api_call import NutshellCalls

calls = NutshellCalls([user])
results = calls.call_api()
```
