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 details)

Uploaded Source

File details

Details for the file whats_api-1.0.1.tar.gz.

File metadata

  • Download URL: whats_api-1.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.11

File hashes

Hashes for whats_api-1.0.1.tar.gz
Algorithm Hash digest
SHA256 71b041fff002eddc60af60441d1eec4331c84ea214e18f4be29e0418bbf54a41
MD5 6f34a7ef0f9cd8775d04b6d7928f99c3
BLAKE2b-256 96b297dccd972c5ed1ce931d40963ab183fde088446125a32893fbfbcde42114

See more details on using hashes here.

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