Skip to main content

A Simple Wrapper for LINE Messenger Notify

Project description

# LINE Notify

A Simple Wrapper for LINE Messenger Notify

## Prerequisites

You have to generate access token on below site.

## Installation

pip install line_notify

## Usage

from line_notify import LineNotify

ACCESS_TOKEN = "L52Z9PAH4kZ82JHSkfjTQ234c1cY2iAKdafaWYv77Ad"

notify = LineNotify(ACCESS_TOKEN)

notify.send("Text test")
notify.send("Image test", image_path='./test.jpg')
notify.send("Sticker test", sticker_id=283, package_id=4)
notify.send("Image & Sticker test", image_path='./test.jpg', sticker_id=283, package_id=4)

If you set the name, it send a message with the name; `[NAME] blah blah..`

notify = LineNotify(ACCESS_TOKEN, name="CLAIR")

notify.send("Text test") # [CLAIR] Test test

If you set LineNotify off, then it won't send a message. (Default is `on`)

notify.send("It won't be sent.")

notify.send("It will be sent.")

Also if you set `ACCESS_TOKEN=None`, it won't send a message.


notify = LineNotify(ACCESS_TOKEN)

notify.send("It won't be sent.")

## Reference

[LINE Notify API Document](

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
line_notify-0.1.4.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Dec 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page