GitHub repository for Alexa Skill alexa-trends
This is an Alexa skill which can be used to get you the latest given a city name in the United States.
This skill uses the Twitter API to get the latest trends for a place. It also relies on the PY-WOEID API to retrieve the Where on Earth IDentifier for the query city name.
This project is made possible by using the following:
GET trends/place
and return the top 5 trends given woeid
.Reference: http://docs.aws.amazon.com/lambda/latest/dg/serverless-deploy-wt.html#serverless-deploy
$ S3_BUCKET=bucket-name # You can give ${awsAccountId}-code-bucket
$ aws s3 mb s3://$S3_BUCKET --region us-east-1
$ npm i && aws cloudformation package --template template.yml --s3-bucket $S3_BUCKET --output-template template-export.yml
These parameters will be the environment variables specified in template.yml
aws cloudformation deploy --template-file ./template-export.yml --stack-name new-alexa-trends --capabilities CAPABILITY_IAM --parameter-overrides param1=value1 param2=value2 ...