# WhatsApp Message Sender Library

Easily send WhatsApp messages from your Python code using the official Meta WhatsApp Cloud API.

## What Problem Does This Solve?
- No more struggling with raw HTTP requests or complex setup.
- Just plug in your Meta API credentials and send messages with a single function call.
- Perfect for notifications, alerts, or any automation that needs WhatsApp messaging.

## Features
- Simple, plug-and-play API
- Input validation and clear error messages
- Custom exception handling

## Quick Start

1. **Install dependencies:**
   ```bash
   pip install my-wp-tools
   ```

2. **Example usage:**
   ```python
   from my_wp_tools.client import WhatsAppClient

   client = WhatsAppClient(
       access_token="YOUR_META_TOKEN",
       phone_number_id="YOUR_PHONE_NUMBER_ID",
       business_account_id="YOUR_BUSINESS_ACCOUNT_ID"
   )

   try:
       client.send_message(
           to="+1234567890",
           message="Hello from my library!"
       )
   except Exception as e:
       print("Error sending message:", e)
   ```

## Dependencies
- Python 3.7+
- requests

## Note
- You need a valid Meta (Facebook) WhatsApp Cloud API token, phone number ID, and business account ID.
- This library is for sending messages only (no incoming message/webhook support in v1). 