Skip to main content

Python for WhatsApp Business Cloud API

Project description

Whatsappy

This is an open sourse package to interact with WhatsApp Business Cloud API using Python.

We are looking for colaborators.

How to Install

pip install whatsappy

or in virtual env

python -m pip install whatsappy

Usage

Text message

    from whatsappy.client import Client

    client = Client(whatsapp_token, phone_number_id)
    response = client.text_message(
        phone_number="56999999999",
        body="my first message"
    )

Interactive button message

    from whatsappy.client import Client

    client = Client(whatsapp_token, phone_number_id)
    response = client.interactive_button_message(
        phone_number="56999999999",
        titles=["button-1", "button-2"]
        body_text="my first button message"
    )

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

whatsappy-1.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

whatsappy-1.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file whatsappy-1.1.0.tar.gz.

File metadata

  • Download URL: whatsappy-1.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for whatsappy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7734402b77197578f55e4d50f069e850a9c1999ffef64b2e4c63b4a81c4ef26f
MD5 93ba64ddea7ec84b4314d7ca00021e0d
BLAKE2b-256 3b815f5af7ebfb398621e64812633f2c7556cf2ae06cd524ace9cebb964c9d4a

See more details on using hashes here.

File details

Details for the file whatsappy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: whatsappy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for whatsappy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c52f1030fe1840ff3eeccb0638297c94fa7cd670a8d87fb8cfaeb2b751aba056
MD5 0ca1a9fb46111c869dc6f0d739592829
BLAKE2b-256 f919246be119c30817c05118bbf656a8a0082f3f7bc0f747a9f58dca3bf27d0e

See more details on using hashes here.

Supported by

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