Skip to content

A Whatsapp bot package using Selenium in Python

License

Notifications You must be signed in to change notification settings

micvianna/WhatsappBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Whatsapp Bot

A Whatsapp bot package using Selenium in Python. It allows sending and receiving messages from groups and users.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

The selenium package for python.
The chrome driver: http://chromedriver.chromium.org/

Examples

How to use the function provided by the package

Initialize the connection

  • Run the whatsappWebConnection as a threaded function
>> import seleniumbot
>> seleniumbot.whatsappWebConnection(PathToChromeDriver) 

Send a message

>> seleniumbot.sendMessage(targetName, msg)

Read the last message

>> seleniumbot.getLastMessage(targetName, textDirection):

Read all available messages

>> seleniumbot.readAllMessages(targetName, textDirection)

Built With

Authors

  • Shaked Nissanov

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A Whatsapp bot package using Selenium in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%