Python SDK for AI Commerce OS — WhatsApp, invoicing, inventory, loyalty, support
Project description
idliappam
Python SDK for AI Commerce OS. One SDK for WhatsApp, invoicing, inventory, loyalty, and support — built for Indian commerce.
Install
pip install idliappam
Quick Start
from idliappam import Chutney
client = Chutney(api_key='chutney_sk_xxx', brand_id='brand_xxx')
# Send WhatsApp message
client.whatsapp.send(to='+919876543210', message='Your order has been shipped!')
# Create GST invoice
invoice = client.invoices.create(
customer_name='Priya Sharma',
customer_email='priya@example.com',
items=[
{'description': 'Scented Candle', 'quantity': 2, 'price': 499},
{'description': 'Gift Box', 'quantity': 1, 'price': 199},
]
)
# Check low stock
products = client.inventory.list(low_stock_only=True)
# Enroll in loyalty program
client.loyalty.enroll(
customer_name='Priya Sharma',
customer_phone='+919876543210'
)
# Award loyalty points
client.loyalty.award_points(phone='+919876543210', points=100, reason='Purchase')
# Create support ticket
client.support.create_ticket(
subject='Wrong item received',
description='Ordered red candle but received blue',
customer_email='priya@example.com'
)
# Ask AI Copilot
answer = client.ai.ask('What are my top selling products this month?')
Available APIs
| Module | Methods | Description |
|---|---|---|
client.whatsapp |
send(), get_conversations(), get_templates() |
WhatsApp messaging |
client.invoices |
create(), list(), mark_paid(), send() |
GST invoicing |
client.inventory |
list(), create(), update_stock(), dashboard() |
Stock management |
client.loyalty |
enroll(), award_points(), lookup(), get_program() |
Loyalty program |
client.support |
create_ticket(), list_tickets(), get_ai_suggestion() |
AI support |
client.leads |
create(), list() |
Lead management |
client.orders |
create(), list() |
Order management |
client.ai |
ask() |
AI Copilot |
JavaScript SDK
Also available for JavaScript/TypeScript:
npm install @idliapam/chutney-js
See: github.com/Ankitajainkuniya/chutney-js
License
MIT
Built by Idliapam — the unified AI platform for Indian commerce.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idliappam-1.0.0.tar.gz.
File metadata
- Download URL: idliappam-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84b2a31b84aef0190c82c49cbabf606e3db6450aa3edfe4e2f04bd2a08af6643
|
|
| MD5 |
66793a1714df7d423d3781c540b25921
|
|
| BLAKE2b-256 |
d3dc09abfad931b2f30ba62eeac8de89ceed449acbe8b64d4e3164744d265fe6
|
File details
Details for the file idliappam-1.0.0-py3-none-any.whl.
File metadata
- Download URL: idliappam-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af5cfbd0186249f8a858598a57a32af6a6f6c9feb4e7f987bcfe116353d0dda0
|
|
| MD5 |
a5f12726f0f19483d1ef7cd7cf262822
|
|
| BLAKE2b-256 |
b83aaf07ec308af67d1ebe0c1112e4b74b6535d3e9db1925ff3ec8fe4a914bd2
|