pyline-notify
A python library for manipulating line notify api
Install
pip install pyline-notify
QuickStart
First, get line notify token from https://notify-bot.line.me
import line_notify
client = line_notify.LineNotify(token=YOUR_ACCESS_TOKEN)
client.notify('hello') # send message
client.notify(imgs='./docs/image/london.jpg') # path of image
You can send PIL.Image.Image
from PIL import Image
pil_img = Image.open('./docs/image/london.jpg')
client.notify(imgs=pil_img)
If the argument of LineNotify's token is None, get access token from environment variable LINENOTIFY_TOKEN.
Metadata
Release files for pyline-notify 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyline-notify-0.0.6.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyline_notify-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / pyline-notify-0.0.6.tar.gz
| Download URL | pyline-notify-0.0.6.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d1edd7e586521bac6b612bb2eb010ea9710d3f1415016199f353e840512ad9c
|
|
BLAKE2b-256 checksum How to use checksums |
8bc3fe7d42e4a6efcb1d0e35396bed4036a9fc41a8b1992547504cbf517f3e9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / pyline_notify-0.0.6-py3-none-any.whl
| Download URL | pyline_notify-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f96b6b020922412726a0e97f16742eb5fbf5974e7c7e91cbd41b67d7f06ce9e
|
|
BLAKE2b-256 checksum How to use checksums |
ed14723ebb24c379cca36a9fe520981822e374552f7e4f097f5cef4fa90bb733
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|