A python library for manipulating line notify api
Project description
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
.
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
pyline-notify-0.0.6.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for pyline_notify-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f96b6b020922412726a0e97f16742eb5fbf5974e7c7e91cbd41b67d7f06ce9e |
|
MD5 | b2b3178484b5861f967502e3c15f581a |
|
BLAKE2b-256 | ed14723ebb24c379cca36a9fe520981822e374552f7e4f097f5cef4fa90bb733 |