linenotipy
linenotipy is a python client library for line notify api on Python 3.6 and above.
Installation
$ pip install linenotipy
Usage
basic
from linenotipy import Line
line = Line(token='XXXXXXXXXX')
line.post(message="Hello, world.")
image
from linenotipy import Line
line = Line(token='XXXXXXXXXX')
line.post(message="Hello, image.", imageFile="test.png")
stamp
from linenotipy import Line
line = Line(token='XXXXXXXXXX')
line.post(message="Hello, stamp.", stickerPackageId=3, stickerId=180)
sticker documentation
Getting started
For help getting started with LINE Notify API, view our online documentation.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request