Skip to main content

send line message notification, support aws lambda

Project description

villaProductSdk

read and write product information in real time

Install

pip install villaProductSdk

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

%%time
line.send(message = sampleInput['message'])

LambdaFunction

%%time
line.lambdaSend(sampleInput, _)

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

linesdk-0.0.1.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

linesdk-0.0.1-py3-none-any.whl (16.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page