{"id":15285629,"url":"https://github.com/pysashapy/whatsappselenium","last_synced_at":"2026-02-13T16:01:26.803Z","repository":{"id":57458418,"uuid":"452088159","full_name":"pysashapy/WhatsappSelenium","owner":"pysashapy","description":"Whatsapp api for web intefeca","archived":false,"fork":false,"pushed_at":"2023-09-22T21:17:16.000Z","size":1476,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T04:33:51.974Z","etag":null,"topics":["api","python3","selenium","whatsapp-api","whatsapp-web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pysashapy.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":"2022-01-26T00:25:06.000Z","updated_at":"2025-01-11T21:34:21.000Z","dependencies_parsed_at":"2024-10-14T16:04:27.571Z","dependency_job_id":"b8307e2f-4d42-46b9-8fc7-2a45530e46a5","html_url":"https://github.com/pysashapy/WhatsappSelenium","commit_stats":null,"previous_names":["pysashapy/pywapp"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysashapy%2FWhatsappSelenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysashapy%2FWhatsappSelenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysashapy%2FWhatsappSelenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysashapy%2FWhatsappSelenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pysashapy","download_url":"https://codeload.github.com/pysashapy/WhatsappSelenium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168894,"owners_count":20571804,"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":["api","python3","selenium","whatsapp-api","whatsapp-web"],"created_at":"2024-09-30T15:06:56.302Z","updated_at":"2026-02-13T16:01:26.710Z","avatar_url":"https://github.com/pysashapy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyWAppSel\n[![image](https://flat.badgen.net/badge/release/1.0.4/blue)](https://github.com/pysashapy/pyWAppSel)\n[![image](https://flat.badgen.net/badge/python/3.10/orange)](https://www.python.org/downloads/release/python-3102/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/pyWAppSel)](https://pypi.org/project/pyWAppSel/)\n\n[pyWAppSel](https://pypi.org/project/pyWAppSel/) is a Python library with various helpful features.\nIt's easy-to-use and does not require you to do any additional setup.\n\n# Whatsapp\nPackage [pysashapy/pyWAppSel](https://github.com/pysashapy/pyWAppSel) implements the WhatsApp Web API to provide a clean interface for developers. The official WhatsApp Business API was released in August 2018. You can check it out [here](https://www.whatsapp.com/business/api).\n\n## Installation and Supported Versions\n\npyWAppSel is available on PyPi:\n\n```bash\npip install pyWAppSel\n```\n\npyWAppSel officially supports Python 3.8+.\n\n## Cloning the Repository\n\n```bash\ngit clone https://github.com/pysashapy/pyWAppSel.git\npip install selenium webdriver_manager\n```\n\n## Features\n\n- Sending Message to a WhatsApp Group or Contact\n- Sending Image/Video/Document/Sticker/ to a WhatsApp Group or Contact\n- Downloading Videos/Photos/Sticker/Voice Message from Group and Contact\n- Listening to one or all Group or Contact\n- get a qr code link for authorization from the console\n- Install and Use\n\n## Usage\n\n### Quick Start\n```py\nfrom pyWAppSel.types import FileTypes\nfrom pyWAppSel.Client import WhatsApp, Messenger\n\n# start selenium and auth\nclient = WhatsApp(path_download='full path to downloaded files')\n\n# auth\nif not client.isLogin(wait_time=100):\n    client.login()\n\n# open chat, get names chats, get first chat\nmessenger = Messenger(client=client)\n\n\n# if the \"chat name\" is incomplete then the first chat in the search will be selected\nchat = messenger.openChat(name='CHAT NAME')\n\n# send text message\nchat.sendText(text='Hello, world!')\n# send photo\nchat.sendFile(path_file='data/test.jpg', type_attachment=FileTypes.PHOTO_VIDEO)\n# send video\nchat.sendFile(path_file='data/test.mp4', type_attachment=FileTypes.PHOTO_VIDEO)\n# send document\nchat.sendFile(path_file='data/test.jpg', type_attachment=FileTypes.DOCUMENT)\n# send sticker\nchat.sendFile(path_file='data/test.jpg', type_attachment=FileTypes.STICKER)\n\n# returns a sheet with the name of the chats that have been added to the number book\nnames_chats = messenger.getChatsFromBook()\nprint(names_chats)\n\n# returns a list with the names of all chats\nnames_all_chats = messenger.getAllChats()\nprint(names_all_chats)\n\n# close WebDriver\nclient.close()\n```\n\nFor more Examples and Functions, have a look at the [Example](https://github.com/pysashapy/pyWAppSel/tree/main/examples).\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Legal\nThis code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its\naffiliates or subsidiaries. This is an independent and unofficial software. Use at your own risk.\n\n## License\n\nApache Software License (Apache 2.0).\nFor more information see [this](https://github.com/pysashapy/pyWAppSel/blob/main/LICENSE)\n\nNOTICE [this](https://github.com/pysashapy/pyWAppSel/blob/main/NOTICE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysashapy%2Fwhatsappselenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpysashapy%2Fwhatsappselenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysashapy%2Fwhatsappselenium/lists"}