linenotipy is a python client library for line notify api on Python 3.5 and above.
Project description
linenotipy
linenotipy is a python client library for line notify api on Python 3.5 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
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
linenotipy-1.0.0.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file linenotipy-1.0.0.tar.gz
.
File metadata
- Download URL: linenotipy-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924fdbb63b80b3051935343141acaf9092883bda561546895a84d166a75097e2 |
|
MD5 | 01b834de680c9d34185d6011cc28f776 |
|
BLAKE2b-256 | d2a5a942004372c3de95355f7043d71184849bdac25b4441642a85f124b415ff |
File details
Details for the file linenotipy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: linenotipy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb09eed53f28f36bddc971b4d973f9821791ad03d8b64667eb71382c7e64a83 |
|
MD5 | aadee472e1bb0cd18e8f12f00ff05381 |
|
BLAKE2b-256 | 0ebc94e5823fbad7dd0c2b58f3b768164386de6be72fbbf80e47c06a201b5fa7 |