This Year

Generates an overview of statistics by year. This is useful for a quick summary of a year.

Endpoints

  • /lwtv/v1/this-year/
  • /lwtv/v1/this-year/year/{year}/
  • /lwtv/v1/this-year/ten-years/{end year}

Example Requests

This Year

GET https://lezwatchtv.com/wp-json/lwtv/v1/this-year/year/2019/

Example Output

{
	"year":2019,
	"characters":514,
	"dead":23,
	"shows":312,
	"started":45,
	"canceled":70
}

Ten Years

GET https://lezwatchtv.com/wp-json/lwtv/v1/this-year/ten-years/2010/

Example Output

{
	"2000":{
		"characters":127,
		"dead":1,
		"shows":106,
		"started":22,
		"canceled":15
	},
	[...]
	"2010":{
		"characters":272,
		"dead":12,
		"shows":198,
		"started":46,
		"canceled":29
	}
}