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

https://github.com/s12v/weather-bot

Example AWS Lex bot
https://github.com/s12v/weather-bot

aws-lambda aws-lex facebook-messenger-bot serverless

Last synced: 9 months ago
JSON representation

Example AWS Lex bot

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/s12v/weather-bot.svg?branch=master)](https://travis-ci.org/s12v/weather-bot)

# Weather Bot

This bot is integrated with Facebook and can:
- tell you about current weather conditions in specified place
- send a recent photo from a nearby webcam
- provide historical data about weather, for example you can ask "Weather in Barcelona on 10th of October"
- provide forecasts, e.g. "weather in Berlin tomorrow morning", "Sunday evening" and so on.

![Architecture](https://user-images.githubusercontent.com/1462574/27773400-18ac110e-5f79-11e7-9530-46af85fc304a.png)

It uses Google Geocode and Timezone, [DarkSky](https://darksky.net/dev/) weather, and [Webcams.travel](https://www.webcams.travel/api/) APIs.

## How to run it

### Install modules

```
pip install -r requirements.txt --target=.
```

### Run tests
```
python3 -m unittest discover -v
```

### Deploy

```
serverless deploy
```