Metadata-Version: 2.1
Name: pyline-notify
Version: 0.0.6
Summary: A python library for manipulating line notify api
Home-page: https://github.com/iory/pyline-notify
Author: iory
Author-email: ab.ioryz@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Description-Content-Type: text/markdown
License-File: LICENSE

# 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)
```

<p align="center">
    <img src="docs/image/line_notify.jpg" width="320" />
</p>

If the argument of `LineNotify`'s `token` is None, get access token from environment variable `LINENOTIFY_TOKEN`.


