🏀 The NBA LINE Bot with 9 features!
Watch NBA games, check the schedule, lookup the stats, search for players by using Daily-NBA. Button carousel templates are used for every states. Instead of typing bunch of word to the LINE bot, you can just simply press buttons on the carousel template.
This LINE bot is mostly built by LINE messaging API, and a little Flask as web application framework to host it on Heroku.
Finite State Machine model is implemeted in Daily-NBA. Each feature is represented by a state, and the button that user pressed on the carousel template will trigger the transitions between states. The FSM graph is shown below.
Finite state machine is a model in Theory of Computation. This model is implemented in Daily-NBA. Each feature is represented by a state, and the button that user pressed on the carousel template will trigger the transitions between states. The FSM graph is drawn by GraphMachine in transitions.extensions.
Checking out all the scores of the games on that day. (Today / Yesterday / Manually input date)
Searching for a specific player. (Manually input player name)
Searching for a specific team. (Manually input team name)
Showing the team standing from both Eastern and Western conference.
Showing the game schedule tomorrow.
Showing the stat leaders. (Most Points / Assist / Rebound / 3PM / Steal / Block)
Checking out the box score of a specific game. (Manually input date and team)
My favoritie feature! Brininging the best and newest NBA meme to you by pressing one button.
Bringing the hottest NBA news to you by pressing one button.
All data comes from basketball-reference.com.
NBA memes come from twitter@NBAMemes.
NBA news come from realgm.
MIT © chonyy