Alexa Skill calls AWS Lambda node.js script that calls the holidayapi.com interface to determine whether a given date is a holiday. You can ask it:
- if $date is a holiday
- what the next holiday is
- what the last holiday was
Alexa passes in the current date (or the one given by the user) to the node.js script, which then calls out to the API to determine whether that exact date is a holiday, or what the first holiday before or after the current date is.
Comments