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.1.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file linenotipy-1.0.1.tar.gz
.
File metadata
- Download URL: linenotipy-1.0.1.tar.gz
- Upload date:
- Size: 2.4 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 | 3eee2df43f8a773fd93cfa0307cecc7c51f2cc1abeb822a637bc05f9b4976149 |
|
MD5 | 23b0d4643242fa6efe320a4d11b0f1f1 |
|
BLAKE2b-256 | 0dc1bde38f42d6307817533062cdf352edd6ff8023e4fe3f9ac2a4956cbb8253 |
File details
Details for the file linenotipy-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: linenotipy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 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 | 405fa6d82e925aff8a6f2a59da86ed0c9f130b12215dc1bcef8309d9fc0a5e86 |
|
MD5 | 44ebdd246cb346d410b4d480a19761bd |
|
BLAKE2b-256 | be94b940304eef664ba9243341dd6e0039d4ae2afb62c8a58996e98e03a60914 |