Skip to main content

Official Python SDK for FlowSell Connect unified communication APIs.

Project description

FlowSell Connect Python SDK

Official Python SDK for FlowSell Connect unified communication APIs.

Install

pip install flowsell-connect

Configure

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

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowsell_connect-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowsell_connect-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file flowsell_connect-0.1.0.tar.gz.

File metadata

  • Download URL: flowsell_connect-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for flowsell_connect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ac8fb396827ab235c2d999bbd6c74c09102bb5f1dda78a72d725099e56251f9
MD5 37004486134da97a41b6a6b7b7618419
BLAKE2b-256 70fcfc7a37b552cf44dc2e14b70064d4dd69ac8f5e2c4c30d994ff9f6d6056f6

See more details on using hashes here.

File details

Details for the file flowsell_connect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flowsell_connect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3af054bc1155b4e3828e05e4b280613d02576c9660892f2e2e9f2cb26454a7
MD5 8a60f3194863d7b45ac4965baf679b65
BLAKE2b-256 ae3af43bd633ea41971560523a1e87f1424d7a0cbf2a0bc6ea7b581beb668038

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page