This is the code for the "Canterbury Bin Day" Alexa skill.

https://www.amazon.co.uk/The-Media-Dudes-Canterbury-Bin/dp/B083YTYNNX

The main logic is contained in the bins.js file.

  • Load the canterbury.gov.uk page to find which "round" the device's address is in. e.g. "WedB".
  • Load the page that displays the next collection for that "round".
  • Product a nicely formatted string for Alexa to speak.