Shows

Generates statistics based on shows.

Endpoints

  • /lwtv/v1/stats/shows/
  • /lwtv/v1/stats/shows/complex/{#}
  • /lwtv/v1/stats/id/#/
  • /lwtv/v1/stats/shows/genres/
  • /lwtv/v1/stats/shows/loved/
  • /lwtv/v1/stats/stars/
  • /lwtv/v1/stats/triggers/
  • /lwtv/v1/stats/tropes/

Example Requests

Overall Statistics

This provides an overview of the number of shows.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/

Example Output
{  
   "total":"1244",
   "stations":"230",
   "nations":"30",
   "formats":"4",
   "genres":"36"
}

Complex Statistics

Output is limited to 100 shows per page. Pagination can be used to move through the datasets.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/complex/{#}

Example Output
{  
   "Barbelle":{  
      "id":13099,
      "nations":"Canada",
      "stations":"YouTube",
      "worth_it":"Yes",
      "trigger":"",
      "star":"Gold Stars",
      "loved":"no",
      "chars_total":"8",
      "chars_dead":"0",
      "chars_sexuality":{  
         "asexual":0,
         "bisexual":1,
         "fluid":0,
         "heterosexual":0,
         "homosexual":6,
         "pansexual":0,
         "queer":0,
         "undefined":1,
         "unlabeled":0
      },
      "chars_gender":{  
         "agender":0,
         "cisgender":7,
         "demigender":0,
         "gender-fluid":0,
         "gender-queer":0,
         "hijra":0,
         "intersex":0,
         "non-binary":0,
         "trans-man":1,
         "trans-woman":0
      },
      "url":"https:\/\/lezwatchtv.com\/show\/barbelle\/"
   }
}

ID Stats

Data from one show

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/id/81/

Example Output
{  
   "title":"All My Children",
   "id":81,
   "nations":"USA",
   "stations":"ABC",
   "worth_it":"Yes",
   "trigger":"",
   "star":"",
   "loved":"no",
   "chars_total":"11",
   "chars_dead":"2",
   "chars_sexuality":{  
      "asexual":0,
      "bisexual":3,
      "fluid":0,
      "heterosexual":1,
      "homosexual":7,
      "pansexual":0,
      "queer":0,
      "undefined":0,
      "unlabeled":0
   },
   "chars_gender":{  
      "agender":0,
      "cisgender":10,
      "demigender":0,
      "gender-fluid":0,
      "gender-queer":0,
      "hijra":0,
      "intersex":0,
      "non-binary":0,
      "trans-man":0,
      "trans-woman":1
   },
   "url":"https:\/\/lezwatchtv.com\/show\/all-my-children\/"
}

Genres Statistics

The breakdown of shows by genre.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/genres/

Example Output
{  
   "action":{  
      "count":111,
      "name":"Action",
      "url":"https:\/\/lezwatchtv.com\/genre\/action\/"
   },
   [...]
   "western":{  
      "count":7,
      "name":"Western",
      "url":"https:\/\/lezwatchtv.com\/genre\/western\/"
   }
}

Shows We Love Statistics

The breakdown of shows by if they are loved by LezWatch.TV staff or not.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/loved/

Example Output
{  
   "no":{  
      "count":1224,
      "name":"No",
      "url":""
   },
   "yes":{  
      "count":20,
      "name":"Yes",
      "url":"https:\/\/lezwatchtv.com\/shows\/?fwp_show_loved=on"
   }
}

Show Stars Statistics

The breakdown of shows by their stars.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/stars/

Example Output
{  
   "bronze":{  
      "count":14,
      "name":"Bronze Stars",
      "url":"https:\/\/lezwatchtv.com\/star\/bronze\/"
   },
   "gold":{  
      "count":110,
      "name":"Gold Stars",
      "url":"https:\/\/lezwatchtv.com\/star\/gold\/"
   },
   "silver":{  
      "count":14,
      "name":"Silver Stars",
      "url":"https:\/\/lezwatchtv.com\/star\/silver\/"
   },
   "none":{  
      "count":1106,
      "name":"None",
      "url":""
   }
}

Show Triggers Statistics

The breakdown of shows by their triggers.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/triggers/

Example Output
{  
   "high":{  
      "count":29,
      "name":"High",
      "url":"https:\/\/lezwatchtv.com\/trigger\/high\/"
   },
   "low":{  
      "count":33,
      "name":"Low",
      "url":"https:\/\/lezwatchtv.com\/trigger\/low\/"
   },
   "medium":{  
      "count":16,
      "name":"Medium",
      "url":"https:\/\/lezwatchtv.com\/trigger\/medium\/"
   },
   "none":{  
      "count":1166,
      "name":"None",
      "url":""
   }
}

Trope Statistics

The breakdown of shows by their tropes.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/shows/tropes/

Example Output
{  
   "background":{  
      "count":63,
      "name":"Background Queers",
      "url":"https:\/\/lezwatchtv.com\/trope\/background\/"
   },
   [...]
   "unrequited":{  
      "count":78,
      "name":"Unrequited",
      "url":"https:\/\/lezwatchtv.com\/trope\/unrequited\/"
   }
}