Violet-Sloth / Project-Violet-Sloth

Simple Amazon Alexa skill showcasing language learning features.
3 stars 1 forks source link

Created Dail-e Lambda Function #30

Open mcmcgonagle opened 7 years ago

mcmcgonagle commented 7 years ago

This function will currently do the following:

  1. Scrap WOTD XML Feed for Today's word
  2. Locate today's WOTD in database- must run query to find ID. Set result to variable wordID.
  3. Set today's Word of the Day to active.
  4. Find any other active WOTD items that are not today's word.
  5. Loop through active WOTD items that are not supposed to be active and set to inactive.

To Do:

mcmcgonagle commented 7 years ago

For lastActive timestamp, would it be best is I stripped out the time and just included a date in YYYY-MM-DD format? I think the date should suffice for our purposes and the time adds complexity. I think DynamoDB can support this. Any thoughts?

mcmcgonagle commented 7 years ago

Oh weird. Could of sworn those indents are in my file on my laptop. I'll fix.