Skip to content

anson0221/Line-Chat-Bot

Repository files navigation

Line Chat Bot

開發說明:請點此觀看



Topic

取得網路上和NBA有關的資訊


How to implement

  1. Built by LINE messaging API, and a little Flask as web application framework to host it on Heroku.
  2. Use beautifulsoup to implement web crawling.
  3. Use GraphMachine to control the chat bot.

FSM Image

How to use ?

  1. Scan the QR code of this chat bot

  2. 輸入任何字串 -> 開啟主選單

  3. 點選主選單 -> 出現三個選項

    • BOX

    • Live

    • 爆文

  4. 點選你要的任一個選項

    • pttbox

      • 回覆今日即昨日所有的ptt NBA板比賽數據文
    • pttlive

      • 回覆今日即昨日所有的ptt NBA板比賽直播文
    • ptthot

      • 回覆最近一個星期所有的ptt NBA板爆文
  5. 輸入任意字串以回到主選單

About

The final project of "Theory of Computation"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages