whatsapp-api-connect


Namewhatsapp-api-connect JSON
Version 0.0.4 PyPI version JSON
download
home_pageNone
SummaryPython wrapper for the Meta WhatsApp API
upload_time2025-08-24 15:29:18
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords whatsapp api connect
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # WhatsApp API

A Python wrapper for the Meta WhatsApp Business API. This package allows developers to interact with the WhatsApp Business API for sending messages, buttons, and list messages.


## Documentation

For detailed usage instructions, examples, and validation rules, check out the full documentation:

- [View Documentation](https://github.com/mahiuddin-dev/whatsapp-api-wrapper/blob/main/docs/index.md)


## Installation

### Clone the Repository

1. Clone the repository:
   ```bash
   git clone https://github.com/mahiuddin-dev/whatsapp-api-wrapper
   cd whatsapp-api-wrapper
   ```

### Create and Activate a Virtual Environment

2. Create and activate a virtual environment:
   ```bash
   python -m venv venv
   source venv/bin/activate   # On Windows: venv\Scripts\activate
   ```

### Install Dependencies

3. Install dependencies:
   ```bash
   pip install -r requirements.txt
   ```

## Configuration

### Create a `.env` File

1. Create a `.env` file in the root directory:
   ```bash
   touch .env
   ```

2. Add the following environment variables to the `.env` file:
   ```env
   WHATSAPP_ACCESS_TOKEN=your_access_token_here
   WHATSAPP_PHONE_NUMBER_ID=your_phone_number_id_here
   TEST_RECIPIENT_PHONE_NUMBER=recipient_whatsapp_number_here
   ```

   Replace the placeholders with your actual values.

## Example: Sending a Text Message

   ```python
   from whatsapp_api.message.messaging import MessagingClient
   client = MessagingClient(access_token, phone_number_id)
   response = client.send_text_message(recipient_phone_number, "Hello from WhatsApp API!")
   print("Response:", response)
   ```

## Contributing

Contributions are welcome! If you have ideas or improvements, feel free to open a pull request or an issue.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "whatsapp-api-connect",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "whatsapp, api, connect",
    "author": null,
    "author_email": "Md Mahiuddin <dev.mahiuddin@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/05/a9/9557b7d9c8bd4bd06987f6e926f4aa2930fc2d36c6f474d9684cfa5add95/whatsapp_api_connect-0.0.4.tar.gz",
    "platform": null,
    "description": "# WhatsApp API\n\nA Python wrapper for the Meta WhatsApp Business API. This package allows developers to interact with the WhatsApp Business API for sending messages, buttons, and list messages.\n\n\n## Documentation\n\nFor detailed usage instructions, examples, and validation rules, check out the full documentation:\n\n- [View Documentation](https://github.com/mahiuddin-dev/whatsapp-api-wrapper/blob/main/docs/index.md)\n\n\n## Installation\n\n### Clone the Repository\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/mahiuddin-dev/whatsapp-api-wrapper\n   cd whatsapp-api-wrapper\n   ```\n\n### Create and Activate a Virtual Environment\n\n2. Create and activate a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate   # On Windows: venv\\Scripts\\activate\n   ```\n\n### Install Dependencies\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Configuration\n\n### Create a `.env` File\n\n1. Create a `.env` file in the root directory:\n   ```bash\n   touch .env\n   ```\n\n2. Add the following environment variables to the `.env` file:\n   ```env\n   WHATSAPP_ACCESS_TOKEN=your_access_token_here\n   WHATSAPP_PHONE_NUMBER_ID=your_phone_number_id_here\n   TEST_RECIPIENT_PHONE_NUMBER=recipient_whatsapp_number_here\n   ```\n\n   Replace the placeholders with your actual values.\n\n## Example: Sending a Text Message\n\n   ```python\n   from whatsapp_api.message.messaging import MessagingClient\n   client = MessagingClient(access_token, phone_number_id)\n   response = client.send_text_message(recipient_phone_number, \"Hello from WhatsApp API!\")\n   print(\"Response:\", response)\n   ```\n\n## Contributing\n\nContributions are welcome! If you have ideas or improvements, feel free to open a pull request or an issue.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python wrapper for the Meta WhatsApp API",
    "version": "0.0.4",
    "project_urls": null,
    "split_keywords": [
        "whatsapp",
        " api",
        " connect"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5208ec62d2b3c21080e116705746593a0ae6c9b0c5ca74960348ed6ba21e4c59",
                "md5": "cd22d92fcae8dfd26b1998e1a121b429",
                "sha256": "7fed557807ca8c705d899dd63e94c1b0ca3ac43b8aa1361a6699c987fa2fbf3a"
            },
            "downloads": -1,
            "filename": "whatsapp_api_connect-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cd22d92fcae8dfd26b1998e1a121b429",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9682,
            "upload_time": "2025-08-24T15:29:17",
            "upload_time_iso_8601": "2025-08-24T15:29:17.494123Z",
            "url": "https://files.pythonhosted.org/packages/52/08/ec62d2b3c21080e116705746593a0ae6c9b0c5ca74960348ed6ba21e4c59/whatsapp_api_connect-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "05a99557b7d9c8bd4bd06987f6e926f4aa2930fc2d36c6f474d9684cfa5add95",
                "md5": "10afa5c84e20a6f3e5452f8ab16e9404",
                "sha256": "5f8d17e114780758d798222d2d1823656c603e3fc99c637711c0382183aac509"
            },
            "downloads": -1,
            "filename": "whatsapp_api_connect-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "10afa5c84e20a6f3e5452f8ab16e9404",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11194,
            "upload_time": "2025-08-24T15:29:18",
            "upload_time_iso_8601": "2025-08-24T15:29:18.522508Z",
            "url": "https://files.pythonhosted.org/packages/05/a9/9557b7d9c8bd4bd06987f6e926f4aa2930fc2d36c6f474d9684cfa5add95/whatsapp_api_connect-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-24 15:29:18",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "whatsapp-api-connect"
}
        
Elapsed time: 2.07299s