Skip to main content

WhatsApp Web Automation Library using selenium

Project description

whatsapp

WhatsApp Web Automation Library using selenium.

whatsapp

It is a Simple WhatsApp Web Automation Library using selenium.

Installation

pip install whatsapp-auto

whatsapp-auto officially supports Python 3.7+.

Usage

Default

import whatsapp_auto

whatsapp = whatsapp_auto.Login()  # Scan the qr code

whatsapp.send_message(phone_no,message) # whatsapp.send_message('+919372091360','hii')

Send File

whatsapp.send_file(phone_no,file_path,caption)  # whatsapp.send_file('+919372091360','/Users/anish/Desktop/whatsapp/Image.png','image')

Send Multiple File

whatsapp.send_multiple_files(phone_no,folder_path,caption)  # whatsapp.send_multiple_files('+919372091360','/Users/anish/Desktop/whatsapp/','image')

Send Message to Group

whatsapp.send_message_to_group(group_link,message)   # whatsapp.send_message_to_group('J6iHb0tR0ky5lJITHLV03b','hi')

Send File to Group

whatsapp.send_file_to_group(group_link,file_path,caption)  # whatsapp.send_file_to_group('J6iHb0tR0ky5lJITHLV03b','/Users/anish/Desktop/image.png')

Send Multiple File to Group

whatsapp.send_multiple_files_to_group(group_link,folder_path,caption) # whatsapp.send_multiple_files_to_group('J6iHb0tR0ky5lJITHLV03b','/Users/anish/Desktop/whatsapp/')

To close browser

whatsapp.close()

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

whatsapp_auto-1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whatsapp_auto-1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file whatsapp_auto-1.1.tar.gz.

File metadata

  • Download URL: whatsapp_auto-1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for whatsapp_auto-1.1.tar.gz
Algorithm Hash digest
SHA256 ca57c6a4df4ca2a8aa5aa7383a5ccd93f80a29673128320e4ea71eda879077cd
MD5 2a51cbef7f831851ba7e709cdb57ff9b
BLAKE2b-256 aba0abdf1d9d252bf00956775bfe14e912e1315a6a3cff0e0fad1b369969354f

See more details on using hashes here.

File details

Details for the file whatsapp_auto-1.1-py3-none-any.whl.

File metadata

  • Download URL: whatsapp_auto-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for whatsapp_auto-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3fdec2e527789d183a69c2d44537dbaf131751d23246ce9ff64506142bb65e82
MD5 214d29b64e1a6d89f51b6e0b8df7eee6
BLAKE2b-256 22fec447d77ee23dbe7dbe5f0c335b9005ff67622fd3d1ccd383c85d4b7aa114

See more details on using hashes here.

Supported by

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