{"id":15093560,"url":"https://github.com/natanel-shitrit/wacpy","last_synced_at":"2025-10-06T13:30:23.405Z","repository":{"id":60616890,"uuid":"497305522","full_name":"Natanel-Shitrit/wacpy","owner":"Natanel-Shitrit","description":"WhatsApp Cloud API Wrapper","archived":true,"fork":false,"pushed_at":"2022-11-06T06:35:17.000Z","size":148,"stargazers_count":15,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T06:56:44.795Z","etag":null,"topics":["python","python3","whatsapp","whatsapp-api","whatsapp-api-python","whatsapp-bot","whatsapp-cloud","whatsapp-cloud-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Natanel-Shitrit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://paypal.me/natanelsht"]}},"created_at":"2022-05-28T12:02:04.000Z","updated_at":"2024-06-21T12:37:50.000Z","dependencies_parsed_at":"2023-01-21T22:49:59.703Z","dependency_job_id":null,"html_url":"https://github.com/Natanel-Shitrit/wacpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natanel-Shitrit%2Fwacpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natanel-Shitrit%2Fwacpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natanel-Shitrit%2Fwacpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natanel-Shitrit%2Fwacpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Natanel-Shitrit","download_url":"https://codeload.github.com/Natanel-Shitrit/wacpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235527720,"owners_count":19004370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python3","whatsapp","whatsapp-api","whatsapp-api-python","whatsapp-bot","whatsapp-cloud","whatsapp-cloud-api"],"created_at":"2024-09-25T11:24:02.375Z","updated_at":"2025-10-06T13:30:18.020Z","avatar_url":"https://github.com/Natanel-Shitrit.png","language":"Python","funding_links":["https://paypal.me/natanelsht"],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003e`wacpy`\u003cbr/\u003e\u003cbr/\u003eUnofficial WhatsApp Cloud API Wrapper\u003cbr/\u003e(WIP)\u003c/p\u003e\n\n[![Downloads](https://static.pepy.tech/personalized-badge/wacpy?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=green\u0026left_text=Downloads)](https://pepy.tech/project/wacpy)\n[![Supported Versions](https://img.shields.io/pypi/pyversions/wacpy.svg?color=green\u0026label=Python%20Version)](https://pypi.org/project/wacpy)\n[![License](https://img.shields.io/pypi/l/wacpy?color=green\u0026label=License)](https://github.com/Natanel-Shitrit/wacpy/blob/master/LICENSE)\n[![Version](https://img.shields.io/pypi/v/wacpy?color=green\u0026label=Version)](https://pypi.org/project/wacpy/)\n\n## 📚 About\n`wacpy` aims to be a complete python wrapper for the WhatsApp Cloud API.\n\n## ⚙ Usage\nCurrently, wacpy is only providing WhatsApp Cloud API objects.\n\n### \u003cins\u003eThe 2 main objects are:\u003c/ins\u003e\n### 📃 Message: (`wacpy.types.message.Message`)\n  \nThe Message object is used to craft messages.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/65548905/172053107-f8ac2dd7-2584-48ae-853a-79c6bb569e56.png\" width=\"500\" height=\"350\"\u003e\n\n### 🔔 Notification: (`wacpy.types.notification.Notification`)\n\nThe Notification object is the object that gets sent to your webhook.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/65548905/172053061-3c970f8f-dcea-4f09-a953-c1860008f05d.png\" width=\"400\" height=\"450\"\u003e\n\n###### Images taken from [Official WhatsApp Cloud API Refrence](https://developers.facebook.com/docs/whatsapp/cloud-api/reference)\n\nAll other sub-objects exist under this 2 types.\n\n## 🖥 Examples\n* A simple message:\n```python\nfrom wacpy.types.message import Message, message # You can also import `message` from `wacpy.types`\n\nMessage(\n    to='{{WHATSAPP_PHONE_NUMBER}}',\n    text=message.Text(\n        body=\"This is a simple message!\"\n    )\n)\n```\n![image](https://user-images.githubusercontent.com/65548905/172054613-8de8b9df-efac-4b08-83e6-80d5d6e48c15.png)\n\n* An Image:\n```python\nfrom wacpy.types import Message, message # You can also import `message` from `wacpy.types`\n\nMessage(\n    to='{{WHATSAPP_PHONE_NUMBER}}',\n    type='image',\n    image=message.Media(\n        link='https://i.imgur.com/Zf5eagv.png',\n        caption='Some cute cats'\n    )\n)\n```\n![image](https://user-images.githubusercontent.com/65548905/172058834-6c90ddd5-1b12-43bf-89bf-3880bbdec3b2.png)\n\n\n* Interactive Button List\n```python\nfrom wacpy.types import Message, message # You can also import `message` from `wacpy.types`\n\nMessage(\n    to='{{WHATSAPP_PHONE_NUMBER}}',\n    type='interactive',\n    interactive=message.Interactive(\n        type='list',\n        action=message.interactive.Action(\n            button='List',\n            sections=[\n                message.interactive.action.Section(\n                    title='First Section',\n                    rows=[\n                        message.interactive.action.section.Row(\n                            id='first_row',\n                            title='First Row',\n                            description='This is the first row description',\n                        ),\n                        message.interactive.action.section.Row(\n                            id='second_row',\n                            title='Second Row',\n                            description='This is the second row description',\n                        )\n                    ]\n                ),\n                message.interactive.action.Section(\n                    title='Second Section',\n                    rows=[\n                        message.interactive.action.section.Row(\n                            id='first_row',\n                            title='First Row',\n                            description='This is the first row description',\n                        ),\n                        message.interactive.action.section.Row(\n                            id='second_row',\n                            title='Second Row',\n                            description='This is the second row description',\n                        )\n                    ]\n                )\n            ]\n        ),\n        body=message.interactive.Body('This is the body text')\n    )\n)\n```\n![image](https://user-images.githubusercontent.com/65548905/172060815-c2ca075d-a048-45f9-aceb-d6c4bc95c79f.png)\n\u003cimg src=\"https://user-images.githubusercontent.com/65548905/172060725-fcca5615-ac24-4b9e-8487-36d977523198.png\" width=\"300\" height=\"450\"\u003e\n###### [Click here to see more examples]() (Soon!)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatanel-shitrit%2Fwacpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatanel-shitrit%2Fwacpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatanel-shitrit%2Fwacpy/lists"}