This is a rule base Command line Interface (CLI) bot which can converse with the user and tell the current weather for any location. It can also help to forecast weather for next two days.
The bot is rule based i.e it uses Regular Expressions (RegEx) to interpret the user's inputs.
For getting the weather the bot uses the Yahoo! Weather API.
- node (v6.9 or above)
- Install NodeJS. See this for details.
cd
to the root of the project and runnpm install
- Go to terminal
- Run
node app.js
and enjoy!
- What is the weather like in Mumbai
- How will the weather be in Cairo tomorrow
- Will it rain in Arizona day after tomorrow