Drag Race Facts can answer questions about any of the queens and seasons from RuPaul's Drag Race.
This Alexa skill is open source and so if you have a question that isn't currently supported, you can put an issue on our GitHub page or even add the functionality yourself!
The GitHub page is found at https://github.com/calum/alexa-drag-race-skill.
This skill is built using the No Key No Shade drag race API.
- What season was Katya in?
- Who were the top three in all stars two?
- When is the next episode of Drag Race?
The configuration for translating the users questions into intents
is defined in config/intents.json
along with other configuration files for Alexa. These files in the config
directory are merged together into build/models.json
when running npm run build
.
main.js
is the entry point for the application and users questions are passed to the handles in src/handlers.js
.
The api requests are all defined in src/drag_race/
directory. For API calls to The TVDB, you must set the environment variable TVDB_API_KEY
. You can register an API key here.
The resources/
directory will hold some useful files for other parts of the application. For instance, the list of available drag queen names is taken from a file in resources/
and used to generate the intent slots for Alexa.
The build/
directory will hold files which must be manually uploaded onto the Alexa application page on amazon's website.
- What season was
{queen}
in? - Play a random quote!
- Who won season
{number}
? - What challenges did
{queen}
win? - Who were the top three in season
{number}
? - Who was Miss Congeniality in season
{number}
? - When is the next episode of Drag Race?
- How's your head?
Any commits to the master branch with a git
tag, will trigger travis
to deploy a new version to AWS Lambda. Pull requests will be automatically tested by travis but won't be deployed.
ESLint
is the chosen linter and mocha
the chosen testing framework. Istanbul
is used to generate the code coverage reports.
npm test
will run the linter and then the tests together.
npm run lint
will run just the linter - for when you want to quickly check a file for typos.
See the testing README file in test/
for a more detailed explanation on the testing.
The GitHub extension, Rollbar is used to monitor any errors or logs from the alexa skill. The monitoring dashboard can be found here.
When an error is logged, a issue is raised automatically by Rollbar.
Check out the issues page to see what needs to be done. Pull requests are welcome.
A Fan Made Drag Race Skill for Alexa