whats-api

Open source module for sending messages to WhatsApp based on Selenium


Keywords
whatsapp, whatsapp-api, whatsapp-bot
Licenses
MIT/Sendmail
Install
pip install whats-api==1.0.1

Documentation

Whats API

Open source module for sending messages to WhatsApp based on Selenium
 
GitHub stars GitHub forks GitHub license GitHub issues

Installation

You can install the latest version with the command:

pip install whats-api

Or you can install from GitHub:

pip install -U https://github.com/neluckoff/whats_api/archive/master.zip

Sending a message

More detailed example here

from whats_api import Client, User

client = Client()
user = User(client)

name = user.get_name()
status = user.get_status()

message = f"Hello, this is {name}.\n" \
          f"Have you seen my status - ({status})?"

client.message_send("+79266569989", message)

Contributing

I have a positive attitude towards PR and pull requests. Glad to see that people like the package.

In the plans: add the ability to send messages with an image and video

License

  • Copyright © 2022 neluckoff.
  • This project is MIT licensed.