Chatbot that can answer the question: "What time is it and what is the weather like in Chicago (or any other city)"?
Chatbot that can answer the question: “What time is it and what is the weather like in Chicago (or any other city)”?
This bot is build with Bot Builder SDK (Microsoft Bot Framework) v4.
On branch botbuilder-v3 is the version using Bot Builder SDK (Microsoft Bot Framework) v3.
The first version of the bot could shown only hour in a selected city.
Thanks integration with http://history.openweathermap.org
is now able to provide you with weather information about selected city.
.env
file based on .env-example
. You should replace YOUR_KEY
with your google cloud api key and YOUR_WEATHER_KEY
with Open Weather Map api key.MOCK_BACKEND=false
GEOCODE_API_URL=https://maps.googleapis.com/maps/api/geocode/json?address=REPLACE_THIS&key=YOUR_KEY
TIMEZONE_API_URL=https://maps.googleapis.com/maps/api/timezone/json?location=REPLACE_THIS&key=YOUR_KEY
OPENWEATHERMAP_GEOMETRY_URL = https://api.openweathermap.org/data/2.5/weather?REPLACE_THIS&appid=YOUR_WEATHER_KEY&units=metric
## Build
npm install
## Run
npm run start
```
Run Microsoft Bot Framework Emulator, open city-information-bot.bot file from this repo in emulator and enjoy.