Skip to main content

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.

A .whatspy directory will be added to your home directory to save chrome profile.

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

Release files for WhatsPy 0.0.3

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

Built distribution (wheel)

Table of built distributions (wheels) for WhatsPy 0.0.3
File Interpreter ABI Platform
WhatsPy-0.0.3-py3-none-any.whl Python 3 none any Details

Release files / WhatsPy-0.0.3-py3-none-any.whl

Download URL WhatsPy-0.0.3-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f2a8bb1ca44b5253233c1b01b7419a36e000844b476daee0c5342231ce7f216
BLAKE2b-256 checksum
How to use checksums
90952ab75d9e6442e83b52b89cf34f8d9b7114a3ca36e80a9b20ed5006b2b111
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.1

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