← 返回首页
examples/aws-python-line-echo-bot at master · serverless/examples · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Latest commit

 

History

History
 
 
 master
Top

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
View all files

README.md

AWS-python-line-echo-bot

This is a simple echo bot on LINE bot. (python)

Before you start

  1. LINE developer account
  2. LINE Messaging API

Get Started

  1. Install serverless via npm
$ npm install -g serverless
  1. Setup your AWS ceritficate
$ export AWS_ACCESS_KEY_ID=<your-key-here> $ export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
  1. Setup you line bot secret & key
line_bot_api = LineBotApi('YOUR_CHANNEL_ACCESS_TOKEN') handler = WebhookHandler('YOUR_CHANNEL_SECRET')
  1. Deploy the webhook function
$ npm install $ serverless deploy

Footer

© 2026 GitHub, Inc.