On This Day

A summary of character deaths that occurred on this day (or any specific day) in any year. Defaults to today’s date.

Endpoints

  • /lwtv/v1/on-this-day/
  • /lwtv/v1/on-this-day/DD-MM/

Example Requests

Today

GET https://lezwatchtv.com/wp-json/lwtv/v1/on-this-day/

Example Output
{  
   "none":{  
      "id":0,
      "name":"No One",
      "url":"https:\/\/lezwatchtv.com\/cliche\/dead\/",
      "died":"05-09"
   }
}

A Specific Day

GET https://lezwatchtv.com/wp-json/lwtv/v1/on-this-day/03-03/

Example Output
{  
   "alisa-davies":{  
      "id":3738,
      "name":"Alisa Davies",
      "url":"https:\/\/lezwatchtv.com\/character\/alisa-davies\/",
      "died":"2010"
   },
   "lexa":{  
      "id":764,
      "name":"Lexa",
      "url":"https:\/\/lezwatchtv.com\/character\/lexa\/",
      "died":"2016"
   }
}

Used By