Skip to main content

send line message notification, support aws lambda

Project description


read and write product information in real time


pip install linesdk

view Documentation

How to use

Uploading a large amount of data using s3

generate dummy data for testing

#Dummy Data
sampleInput = {
  "message": "helloWorld",
  "roomId": 'C9ba1d024ed36979222a2a2a8f67cfc9a' ,
  "accessKey": accessKey

Create main class object

from linesdk.linesdk import Line

line = Line(accessKey = sampleInput['accessKey'] )

send message

line.send(roomId = sampleInput['roomId'] ,message = sampleInput['message'])
CPU times: user 17.3 ms, sys: 5.13 ms, total: 22.4 ms
Wall time: 352 ms



line.lambdaSend(sampleInput, _)
CPU times: user 12.8 ms, sys: 1.92 ms, total: 14.7 ms
Wall time: 409 ms

Call a deployed lambda function

lineLambda = LineLambda(USER, PW)
lineLambda.send(message='hello', roomId = sampleInput['roomId'])

Invoke slack

Project details

Download files

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

Files for linesdk, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size linesdk-0.0.11-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size linesdk-0.0.11.tar.gz (10.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page