{"id":15093348,"url":"https://github.com/raj1v/waapi-wrapper","last_synced_at":"2026-02-07T12:31:17.825Z","repository":{"id":248503042,"uuid":"828872922","full_name":"Raj1v/WAAPI-Wrapper","owner":"Raj1v","description":"A lightweight wrapper around the WAAPI Whatsapp API","archived":false,"fork":false,"pushed_at":"2024-08-13T11:52:58.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T12:31:30.481Z","etag":null,"topics":["waapi","whatsapp","whatsapp-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raj1v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-15T09:48:31.000Z","updated_at":"2025-02-16T10:12:34.000Z","dependencies_parsed_at":"2024-07-15T11:45:03.927Z","dependency_job_id":"defa59ff-9f0c-4b14-b231-e2bec0873bda","html_url":"https://github.com/Raj1v/WAAPI-Wrapper","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"cbc3b05ad430ca1cb16450d0020343a03b9e2f60"},"previous_names":["raj1v/waapi-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Raj1v/WAAPI-Wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raj1v%2FWAAPI-Wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raj1v%2FWAAPI-Wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raj1v%2FWAAPI-Wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raj1v%2FWAAPI-Wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raj1v","download_url":"https://codeload.github.com/Raj1v/WAAPI-Wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raj1v%2FWAAPI-Wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267619504,"owners_count":24116571,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["waapi","whatsapp","whatsapp-api"],"created_at":"2024-09-25T11:21:38.858Z","updated_at":"2026-02-07T12:31:17.769Z","avatar_url":"https://github.com/Raj1v.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WAAPI Wrapper\n\nThe WAAPI Wrapper is a Python library designed to simplify the integration with the [WAAPI WhatsApp API](https://waapi.app/), making it easier to send messages, manage contacts, and automate responses on WhatsApp.\n\n## Installation\n\n\n```bash\npip install git+https://github.com/Raj1v/WAAPI-Wrapper\n```\n\n## Usage\n\nHere are a couple of examples of how you can use the WAAPI Package to interact with WhatsApp:\n\n### Sending a Message\n\n```python\nfrom waapi_wrapper.webhook import send_message\n\nsend_message(\"Hello, world!\", recipient_id=\"1234567890\")\n```\n\n### Webhook Event Handling\n\nThis section provides a simple example of how to set up a webhook to receive messages via WhatsApp. We'll use the Flask framework to create a small web server that listens for incoming WhatsApp messages.\n\n```python\nfrom flask import Flask, request, jsonify\nfrom waapi_wrapper.webhook import handle_waapi_event\n\napp = Flask(__name__)\n\n@app.route('/webhook', methods=['POST'])\ndef webhook():\n    # Parse the incoming JSON data\n    request_data = request.get_json()\n    \n    # Handle the WhatsApp API event\n    event = handle_waapi_event(request_data)\n\n    # Access some data from the event\n    message_body = event.message_body\n    sender = event.sender\n\n    # Do something with the data\n    print(f\"Received message from {sender}: {message_body}\")\n\n    # Respond to the webhook\n    return jsonify({\n        'status': 'success',\n        'message_body': message_body,\n        'sender': sender\n    })\n\nif __name__ == '__main__':\n    app.run(debug=True, port=5000)\n\n```\n\n## Contributing\nContributions are welcome! Please feel free to fork the repository, make your changes, and submit a pull request. We appreciate your input and will review each PR carefully and discuss potential changes.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraj1v%2Fwaapi-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraj1v%2Fwaapi-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraj1v%2Fwaapi-wrapper/lists"}