https://github.com/cameronhunter/kanye-alexa-skill
An Alexa skill for the Amazon Echo. It reads Kanye's tweets.
https://github.com/cameronhunter/kanye-alexa-skill
Last synced: 8 months ago
JSON representation
An Alexa skill for the Amazon Echo. It reads Kanye's tweets.
- Host: GitHub
- URL: https://github.com/cameronhunter/kanye-alexa-skill
- Owner: cameronhunter
- License: mit
- Created: 2016-04-08T06:46:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-02T17:46:00.000Z (over 9 years ago)
- Last Synced: 2025-04-08T02:34:53.000Z (about 1 year ago)
- Language: JavaScript
- Size: 438 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Kanye Alexa Skill
An Alexa skill for the Amazon Echo. It reads Kanye's tweets using the [Twitter API](https://dev.twitter.com). Generated using [generator-alexa-skill](https://github.com/cameronhunter/generator-alexa-skill).
## Example phrases
```
Alexa, ask Kanye what's up
Alexa, ask Kanye for wisdom
Alexa, ask Kanye who's the greatest
```
See [`model/UTTERANCES`](https://github.com/cameronhunter/kanye-alexa-skill/blob/master/model/UTTERANCES) for more example phrases.
## Development
### Setup
You must add a file `config/twitter.config.js` which exports an object containing your API keys for the Twitter API.
```javascript
export default {
consumerKey: '',
consumerSecret: '',
accessToken: '',
accessTokenSecret: ''
}
```
### Test
```bash
npm test
```
### Package
```bash
npm run package
```
This creates `build/package.zip` containing the compiled skill - this can be uploaded directly to AWS Lambda. It exposes a single function `index.hander`. Skill utterances defined in the `model` directory are expanded and output to `build/UTTERANCES`.
### Deploy
```bash
npm run deploy
```
If you configure the project with AWS credentials then you can build, test, package and deploy the project with a single command. You can check it out in the [AWS console](https://console.aws.amazon.com/lambda/home?region=us-east-1#/functions/kanye).