EatMe is an Alexa Food Skill that allow you to find good random place to eat near you, quickly. It's powered by Yelp.
You: Alexa, Enable the Eat Me skill
You: Alexa, ask Eat Me where to eat?
Alexa: Try Glee Donuts and Burgers with 5 stars, 719 reviews, about 3 miles. Again, it's Glee Donuts and Burgers. Open Alexa app for address.
# install virtualenv
virtualenv --python=python3 env
# activate virtualenv
source env/bin/activate
# install packages
./scripts/install
# generate your Yelp Access Token, that token should be good for 180 days
curl -X POST -d \
--form "grant_type=client_credentials" \
--form "client_id=$CLIENT_ID" \
--form "client_secret=$CLIENT_SECRET" \
"https://api.yelp.com/oauth2/token"
# start Lambda function locally
./scripts/start
This service uses AWS SAM which uses CloudFormation to create resources.
# deploy
./scripts/deploy
# tail the log to debug
./scripts/tail
# encrypt secret environment variable
./scripts/encrypt "SECRET_VALUE"