https://github.com/cameronhunter/superheroes-alexa-skill
An Alexa skill for the Amazon Echo – it reveals superheroes identities.
https://github.com/cameronhunter/superheroes-alexa-skill
Last synced: 8 days ago
JSON representation
An Alexa skill for the Amazon Echo – it reveals superheroes identities.
- Host: GitHub
- URL: https://github.com/cameronhunter/superheroes-alexa-skill
- Owner: cameronhunter
- License: mit
- Created: 2016-04-04T04:48:43.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-17T00:09:50.000Z (about 10 years ago)
- Last Synced: 2025-02-24T13:32:05.194Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://alexa.amazon.com/spa/index.html#skills/amzn1.echo-sdk-ams.app.59b2b446-e3ef-4b72-9827-32ccb6bc2836
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Superheroes Alexa Skill
An Alexa skill for the Amazon Echo. It reveals superheroes identities using the [Comic Vine API](http://comicvine.gamespot.com/api/). Generated using [generator-alexa-skill](https://github.com/cameronhunter/generator-alexa-skill).
Available to use in the [Alexa Skill store](http://alexa.amazon.com/spa/index.html#skills/amzn1.echo-sdk-ams.app.59b2b446-e3ef-4b72-9827-32ccb6bc2836)!
## Example phrases
```
Alexa, ask Superheroes who Batman is
Alexa, ask Superheroes do you know what Spider-man's real identity is?
Alexa, ask Superheroes what is Mystique's real name?
```
See `model/UTTERANCES` for more example phrases.
## Development
### Setup
You must add a file `config/comic-vine.config.js` which exports an object containing your API key for comic-vine.
```javascript
export default {
key: 'your-comic-vine-api-key'
}
```
### 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/superheroes-alexa-skill).