Metadata-Version: 2.4
Name: flowsell-connect
Version: 0.1.0
Summary: Official Python SDK for FlowSell Connect unified communication APIs.
Project-URL: Homepage, https://connect.flowsell.app/sdk
Project-URL: Documentation, https://connect.flowsell.app/sdk
Project-URL: Repository, https://github.com/flowsell-connect/flowsell-connect-python-sdk
Project-URL: Issues, https://github.com/flowsell-connect/flowsell-connect-python-sdk/issues
Author: FlowSell
License-Expression: MIT
License-File: LICENSE
Keywords: api,connect,flowsell,messaging,sdk,whatsapp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# FlowSell Connect Python SDK

Official Python SDK for FlowSell Connect unified communication APIs.

## Install

```bash
pip install flowsell-connect
```

## Configure

```bash
export FLOWSELL_API_KEY=fsc_your_secret
export FLOWSELL_API_BASE_URL=https://cmwhd2hdarqpip3krnua6ep3le0qhstm.lambda-url.ap-south-1.on.aws
export FLOWSELL_PHONE_NUMBER_ID=1131858666672190
```

## Usage

```py
from flowsell_connect import FlowSell

client = FlowSell(api_key="fsc_your_secret")

client.messages.send({
    "channel": "whatsapp",
    "phoneNumberId": "1131858666672190",
    "to": "+919999999999",
    "message": "Hello from FlowSell Connect Python SDK",
})
```

## Templates

```py
client.templates.create({
    "channel": "whatsapp",
    "phoneNumberId": "1131858666672190",
    "name": "order_update",
    "category": "UTILITY",
    "content": "Hello {{customer_name}}\nYour order {{order_id}} has shipped.",
    "sampleVariables": {
        "customer_name": "John",
        "order_id": "#1234",
    },
})

client.messages.send_template({
    "channel": "whatsapp",
    "phoneNumberId": "1131858666672190",
    "to": "+919999999999",
    "template": "order_update",
    "variables": {
        "customer_name": "John",
        "order_id": "#1234",
    },
})
```

FlowSell Connect keeps provider-specific details internal. Do not pass Meta Graph URLs, access tokens, WABA IDs, or raw provider payloads.

