Skip to main content

Open source module for sending messages to WhatsApp based on Selenium

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whats_api-1.0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page