singyichen / line-notify-python

line-notify is a python client library for line notify api on Python 3.6 and above.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linenotipy

PyPI License: MIT codecov Build Status PyPI - Python Version Downloads

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

line-notify is a python client library for line notify api on Python 3.6 and above.

License:MIT License


Languages

Language:Python 100.0%