Skip to main content

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.

Metadata

Release files for whats-api 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whats-api 1.0.1
File Size Uploaded
whats_api-1.0.1.tar.gz 5.2 kB Details

Release files / whats_api-1.0.1.tar.gz

Download URL whats_api-1.0.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
71b041fff002eddc60af60441d1eec4331c84ea214e18f4be29e0418bbf54a41
BLAKE2b-256 checksum
How to use checksums
96b297dccd972c5ed1ce931d40963ab183fde088446125a32893fbfbcde42114
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.11

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page