An open API service indexing awesome lists of open source software.

https://github.com/shreyansh26/weatherbot_cli

A bot with CLI to tell about weather
https://github.com/shreyansh26/weatherbot_cli

bot commandline-tool commandline-utility weather

Last synced: 3 months ago
JSON representation

A bot with CLI to tell about weather

Awesome Lists containing this project

README

          

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](https://nodejs.org/en/download/ "Download Node") 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