Skip to content

🔵⚫️⚪️ An unofficial Bath Rugby Alexa Skill that provides info on fixtures, results and league table standings.


Notifications You must be signed in to change notification settings


Folders and files

Last commit message
Last commit date

Latest commit



53 Commits

Repository files navigation

Alex Skill - Premiership Rugby Results, Fixtures and Table Standings.

This Alexa Skill will fetch results, fixture, and table information for Premiership Rugby teams.

It uses Drop22 API to fetch results, fixtures and table information.

Defaults to Bath Rugby 🔵⚫️⚪️.

Other Teams

In theory, this chat bot can be re-purposed to work with other teams by instantiating with one of the following team names:

  • northampton saints
  • exeter chiefs
  • saracens
  • bath rugby
  • leicester tigers
  • wasps
  • sale sharks
  • harlequins
  • gloucester rugby
  • newcastle falcons
  • bristol rugby
  • worcester warriors


This bot is running in production on Amazon Lambda

The first request may be slow as Drop22 is on a Heroku free dyno so will take a second to boot up.


We recommend developing on Node v8.1.0 as that is the version used by Amazon Lambda.

You can do this with nvm if you don't already have it.

brew install nvm
nvm install node
nvm install 8.1.0

While we don't have tests at the moment, you can run the function locally with:

./node_modules/lambda-local/bin/lambda-local -l index.js -e data/events/fixture.js

This is currently set up with an example event that we would get from alexa with an Fixture event.

There are some configuration values that I haven't pulled out into environment variables yet.

In index.js you will need to set:

  • APP_ID

Deploy code to Lambda

We have a smalls script that uses the aws-cli tool to deploy code changes to Lambda.

Assuming you have aws-cli already installed and configured, run:


Skill Configuration

This repository is just for the lambda function.

You will also need to create a Alexa Skill that triggers the function. This skill will need intents and sample utterances defined. I've included them in the skills-assets folder so that we can keep a track of them and copy them in to when we want to re-configure.


Mocha, Sinon and Chai are used to provide test coverage.

npm tests


🔵⚫️⚪️ An unofficial Bath Rugby Alexa Skill that provides info on fixtures, results and league table standings.







No releases published