Skip to content

Ankitajainkuniya/chutney-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idliappam

Python SDK for AI Commerce OS. One SDK for WhatsApp, invoicing, inventory, loyalty, and support — built for Indian commerce.

License: MIT Python 3.7+


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.

Releases

No releases published

Packages

 
 
 

Contributors

Languages