A simple notification helper to send messages to LINE Notify
Project description
# nonoLINE
notify, notify to LINE, short for nonoLINE.<br/>
A simple notification helper to send messages to [LINE Notify](https://notify-bot.line.me/en/).
## Getting Started
1. nonoLINE supports both Python2 and Python3. If you would like to install nonoLINE, just use pip like below.
```shell
$ pip install nono-line
```
2. Login to [the mypage of LINE Notify](https://notify-bot.line.me/my/). If you are not LINEr yet, register to it as a new user.
3. Generate an access token for a specific chat and memorize it.
## Usage
```python
# Create a new nonoLINE object.
nono_line = nonoLINE('YOUR_ACCESS_TOKEN', max_workers=4)
# Send a test message to LINE Notify.
nono_line.send('test message')
# Send a test message to LINE Notify asynchronously.
nono_line.send('test message', send_async=True)
# Send a test message with a sticker to LINE Notify.
# LINE Sticker list is here, https://devdocs.line.me/files/sticker_list.pdf.
nono_line.send('test message', sticker__id_pkgid=(11, 1))
```
## Reference
* [LINE Notify API Document](https://notify-bot.line.me/doc/en/)
* [LINE Sticker list](https://devdocs.line.me/files/sticker_list.pdf)
## Version History
* v0.0.2
* First version release
notify, notify to LINE, short for nonoLINE.<br/>
A simple notification helper to send messages to [LINE Notify](https://notify-bot.line.me/en/).
## Getting Started
1. nonoLINE supports both Python2 and Python3. If you would like to install nonoLINE, just use pip like below.
```shell
$ pip install nono-line
```
2. Login to [the mypage of LINE Notify](https://notify-bot.line.me/my/). If you are not LINEr yet, register to it as a new user.
3. Generate an access token for a specific chat and memorize it.
## Usage
```python
# Create a new nonoLINE object.
nono_line = nonoLINE('YOUR_ACCESS_TOKEN', max_workers=4)
# Send a test message to LINE Notify.
nono_line.send('test message')
# Send a test message to LINE Notify asynchronously.
nono_line.send('test message', send_async=True)
# Send a test message with a sticker to LINE Notify.
# LINE Sticker list is here, https://devdocs.line.me/files/sticker_list.pdf.
nono_line.send('test message', sticker__id_pkgid=(11, 1))
```
## Reference
* [LINE Notify API Document](https://notify-bot.line.me/doc/en/)
* [LINE Sticker list](https://devdocs.line.me/files/sticker_list.pdf)
## Version History
* v0.0.2
* First version release
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
nono-line-0.0.2.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file nono-line-0.0.2.tar.gz
.
File metadata
- Download URL: nono-line-0.0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac840b588f9e7caa0e60d20c07d5556a0dba9a0cbd57df312318986299927dc |
|
MD5 | 59c524fa025703a7e8b556315647b9c8 |
|
BLAKE2b-256 | 039c41dc54e30a5949988a73eb14a66c271442d3643be17d9ed7e91db8ec2361 |
File details
Details for the file nono_line-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: nono_line-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25fd1814e2d9bf321ae2b4627d98440dfbad245566d2fe7d0f35564d61b1bd08 |
|
MD5 | 4a2888a97d3759f806248f9e98bb6fcc |
|
BLAKE2b-256 | 339ac77b2235c502c6b1c7be27fe137b066472f8c43b2d1d7cc38993e0a753c0 |