Skip to main content

Python Whatsapp API based on Selenium and ChromeDriver

Project description

WhatsPy

Python Whatsapp API based on Selenium and ChromeDriver

Working as of Mar 09 2020

limitations

  • All web.whatsapp.com limitations
  • Scan QRCode on first run
  • You must have a persons number saved to your phone
  • You must set the contact exact and complete saved name
  • Names must be unique in your contacts list

QRCode scan

A PNG file is saved at local root directory as qrcode.png for scaning with yout phone. WhatsPy will try to save a profile so you don't need to scan the qrcode everytime. Keep in mind that whatsapp logs you out if you try to login in multiple browsers.

Chrome Install

WhatsPy uses a Chrome class that is just a wraper for the Selenum default implementation that adds a few easy to use enhancements.

To use chrome with selenium you will need ChromeDriver.

Roadmap

  • Save QRCode image for scan
  • Read latest chats
  • Read latest messages from chat
  • Send message to contact by name (unique)
  • Send message to contact by number
  • Read latest archived chats
  • Read latest archived messages from chat
  • Archive chat
  • Unarchive chat

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

WhatsPy-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file WhatsPy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: WhatsPy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.3

File hashes

Hashes for WhatsPy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8155105a449f5eba15d20019b37eafa190039af079091bbb2c4a0b6236dbb23f
MD5 296790314d13b4953feb7f49bc63c4ea
BLAKE2b-256 8de62def13def09f01e22dbcd71a12b85be5158276fdd3cbeeb59c96ee28784e

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