[](http://whapy.readthedocs.io/en/latest/?badge=latest)
Checkout the [documentation][doc].
[doc]: http://whapy.readthedocs.io/
## Quick Example
```py
import whapy
wap = whapy.WhaPy(whapy.Browser.firefox, True)
@wap.event
async def on_message(chat, messages):
print("New messages arrived: ")
for i in range(0,len(messages)):
if not messages[i].is_media():
print(messages[i].get_content())
if messages[i].get_content() == "@who":
chat.send_message("are you?")
@wap.event
async def on_ready():
print("Logged in as " + wap.get_me())
wap.run()
```
## Dependencies
- Python 3.4.2+
- `selenium` library
- `a webdriver` (http://selenium-python.readthedocs.io/installation.html#drivers)
Checkout the [documentation][doc].
[doc]: http://whapy.readthedocs.io/
## Quick Example
```py
import whapy
wap = whapy.WhaPy(whapy.Browser.firefox, True)
@wap.event
async def on_message(chat, messages):
print("New messages arrived: ")
for i in range(0,len(messages)):
if not messages[i].is_media():
print(messages[i].get_content())
if messages[i].get_content() == "@who":
chat.send_message("are you?")
@wap.event
async def on_ready():
print("Logged in as " + wap.get_me())
wap.run()
```
## Dependencies
- Python 3.4.2+
- `selenium` library
- `a webdriver` (http://selenium-python.readthedocs.io/installation.html#drivers)
Release files for whapy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| whapy-0.2.0.tar.gz | 6.1 kB | Details |
Release files / whapy-0.2.0.tar.gz
| Download URL | whapy-0.2.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e4471370610372fced2ea43ab7ccfd3f2fef1accd9ef341eb9265f15daf189e
|
|
BLAKE2b-256 checksum How to use checksums |
4e40ba6f7ea00e101c961c6d9c4ef0e3df8d72a4d75d1d208813ce2d85c43d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |