aahnik / wappdriver

Wondering how to send WhatsApp messages using Python using only 3 lines of code? You have come to the right place!

Home Page:https://aahnik.github.io/wappdriver/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wappdriver

UPDATE: I WILL BE LEAVING WHATSAPP AFTER AUGUST 2021. THIS PACKAGE WILL NO LONGER BE MAINTAINED. SWITCH TO TELEGRAM FOR A EASIER LIFE AND A FREE OFFICIAL API.

API for WhatsApp Web Automation

Wondering how to send WhatsApp messages using Python using only three lines of code? You have come to the right place!

Tests Maintenance GitHub Release CodeFactor MIT LICENSE made-with-python

Usage 😎

wappdriver is a python package that helps you automate sending messages through WhatsApp Web.

It enables you to send WhatsApp messages programmatically, using only three lines of code.

It is very simple to use

from wappdriver import WhatsApp
with WhatsApp() as bot:
    bot.send('aahnik',  # name of recipient
             'hi send by a bot')  # message
# The name of the recipient should be in your contacts

Read full documentation πŸ“– to learn how to send emojis, media and files.

Installation ⏬

You can easily install wappdriver from the PyPI.

pip install wappdriver

For Mac and Linux, you may need to use pip3.

Requirements πŸ§‘β€πŸ’»

You must have the following installed in your system for wappdriver to work.

Make sure to have matching versions of the Chrome Browser and Chrome Driver. I recommend using the latest stable release for both to get the best performance.

WappDriver does not support other Browsers. Please use Chrome for a smooth experience.

Setup βš™οΈ

After you have installed wappdriver and the requirements stated above, you can start using wappdriver straight away.

When you will run your code for the first time, you will be asked for Chrome Driver Path. When the WhatsApp web screen loads for the first time, you have to scan the QR code from you smartphone's WhatsApp application, to log into your WhatsApp account. Learn more.

Getting Help πŸ’πŸ»

First of all, read the Help Page. You may try to search your question in the search bar on the page.

For further assistance you may ask a question in the discussions section.

Contributing 🀩

Please look at Code of Conduct and Contributing Guidelines.

Please read the explanation of the detailed working of wappdriver from the Developer's Guide.

Legal βš–οΈ

This project is distributed under MIT License.

This code is in no way affiliated with, authorized, maintained, sponsored, or endorsed by WhatsApp or any of its affiliates or subsidiaries. This is an independent and unofficial software.

About

Wondering how to send WhatsApp messages using Python using only 3 lines of code? You have come to the right place!

https://aahnik.github.io/wappdriver/

License:MIT License


Languages

Language:Python 96.6%Language:Makefile 3.4%