Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anze3db/surfbot

Your friendly neighborhood surfbot
https://github.com/anze3db/surfbot

Last synced: 7 days ago
JSON representation

Your friendly neighborhood surfbot

Awesome Lists containing this project

README

        

# Surf Bot [![CircleCI](https://circleci.com/gh/Smotko/surfbot.svg?style=svg)](https://circleci.com/gh/Smotko/surfbot) [![codecov](https://codecov.io/gh/Smotko/surfbot/branch/master/graph/badge.svg)](https://codecov.io/gh/Smotko/surfbot)

A simple surf bot for retrieving the surf forecast.

You will need to obtain a MSW API key ([more info](http://magicseaweed.com/developer/api)).

## Set up dev env

```
$ virtualenv -p python3 venv
$ . venv/bin/activate
$ pip install awscli flake8 pylint mypy pytest
```

## Run tests

```
$ python setup.py test
```

## Run lint

```
$ ./lint.sh
```

## Deploying

1. Create an aws lambda function called `getForecast`.
2. Set the `SF_MSW_API` env vairable to your MSW API key.

```
$ aws configure # Add an account
$ ./publish.sh
```