Socket
Socket
Sign inDemoInstall

whatsappy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatsappy

Python for WhatsApp Business Cloud API


Maintainers
1

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"
    )

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc