Skip to content

shreyansh26/WeatherBot_CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Bot

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.


Running the bot locally

Dependecies

  • node (v6.9 or above)

Environment Setup

  1. Install NodeJS. See this for details.
  2. cd to the root of the project and run npm install

Run the bot

  1. Go to terminal
  2. Run node app.js and enjoy!

Examples/Usage

  • What is the weather like in Mumbai
  • How will the weather be in Cairo tomorrow
  • Will it rain in Arizona day after tomorrow

Releases

No releases published

Packages

No packages published