Actors

Generates statistics based on actors.

Endpoints

  • /lwtv/v1/stats/actors/
  • /lwtv/v1/stats/actors/complex/
  • /lwtv/v1/stats/actors/gender/
  • /lwtv/v1/stats/actors/sexuality/

Example Requests

Overall Statistics

This provides an overview of the number of actors as well as how many genders and sexualities they encompass.

Example Request

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

Example Output
{  
   "total":"3240",
   "gender":"15",
   "sexuality":"9"
}

Complex Statistics

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

Example Request

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

Example Output
{  
   "A Leslie Kies":{  
      "id":20656,
      "characters":"1",
      "dead_chars":"0",
      "gender":"Cisgender Woman",
      "sexuality":"Heterosexual",
      "queer":"no",
      "url":"https:\/\/lezwatchtv.com\/actor\/a-leslie-kies\/"
   },
   "A. Reed Stillwell":{  
      "id":34356,
      "characters":"1",
      "dead_chars":"0",
      "gender":"Cisgender Woman",
      "sexuality":"Homosexual",
      "queer":"yes",
      "url":"https:\/\/lezwatchtv.com\/actor\/a-reed-stillwell\/"
   },
   "Abbi Jacobson":{  
      "id":39855,
      "characters":"1",
      "dead_chars":"0",
      "gender":"Cisgender Woman",
      "sexuality":"Bisexual",
      "queer":"yes",
      "url":"https:\/\/lezwatchtv.com\/actor\/abbi-jacobson\/"
   },
   [...]
}

ID Stats

Data from one actor.

Example Request

GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/actors/id/20541/

Example Output
{  
   "name":"Alba Flores",
   "id":20541,
   "characters":"1",
   "dead_chars":"0",
   "gender":"Cisgender Woman",
   "sexuality":"Homosexual",
   "queer":"yes",
   "url":"https:\/\/lezwatchtv.com\/actor\/alba-flores\/"
}

Gender Statistics

The breakdown of actors by their self-defined gender.

Example Request

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

Example Output
{  
   "agender":{  
      "count":2,
      "name":"Agender",
      "url":"https:\/\/lezwatchtv.com\/actor_gender\/agender\/"
   },
   "cisgender":{  
      "count":8,
      "name":"Cisgender",
      "url":"https:\/\/lezwatchtv.com\/actor_gender\/cisgender\/"
   },
   "cis-man":{  
      "count":97,
      "name":"Cisgender Man",
      "url":"https:\/\/lezwatchtv.com\/actor_gender\/cis-man\/"
   },
   "cis-woman":{  
      "count":3041,
      "name":"Cisgender Woman",
      "url":"https:\/\/lezwatchtv.com\/actor_gender\/cis-woman\/"
   },
   [...]
}

Sexuality Statistics

The breakdown of actors by their self-defined sexuality.

Example Request

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

Example Output
{  
   "asexual":{  
      "count":1,
      "name":"Asexual",
      "url":"https:\/\/lezwatchtv.com\/actor_sexuality\/asexual\/"
   },
   "bisexual":{  
      "count":49,
      "name":"Bisexual",
      "url":"https:\/\/lezwatchtv.com\/actor_sexuality\/bisexual\/"
   },
   "demisexual":{  
      "count":1,
      "name":"Demisexual",
      "url":"https:\/\/lezwatchtv.com\/actor_sexuality\/demisexual\/"
   },
   [...]
}