Skip to content

wengjiahuang0529/LineBot_Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LineBot_PredictStock

image

More Application can check branch : version2

linebot_echo.py

  • LineBot’s sample code for echo response

csmapi.py/DAN.py

  • Some useful APIs about IoTtalk connection
  • Don’t need to modify them

app.py

  • Mainly modify this file

Spec

• Design the scenario

  1. Reply:the status of machines, the information of something, the location of something, etc.
  2. Recommendation: Restaurants, Movies, Attractions, etc.
  3. Other:Game …

• IoTtalk

• Design your own Device Model (at least one)

• LineBot

• Your LineBot need to interact with IoTtalk(send/receive data to/from IoTtalk)
• You can modify ‘app.py’ to finish mini project 4

Preliminary

  • You need to sign up and follow the instruction on the download page to add authtoken.

How to operate

  1. Use Iottalk to add project : image

  2. When you run python app.py, you will see the device name. IoTtalk's device needs to connect to this name.

  3. You can run linebot_echo.py, but you need to change the token and secret to your own. You can apply for these at Line Developers.
    After executing, when you type in this Line channel, you'll see it echo back exactly what you typed.

  4. Ngrok,it provides a service that helps developers share sites and apps running on their local machines or servers.

    • Start a tunnel : ngrok http port
  5. Message API Settings image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages