Generates statistics based on characters.
Endpoints
/lwtv/v1/stats/characters/
/lwtv/v1/stats/characters/complex/
/lwtv/v1/stats/characters/cliches/
/lwtv/v1/stats/characters/gender/
/lwtv/v1/stats/characters/romantic/
/lwtv/v1/stats/characters/sexuality/
Example Requests
Overall Statistics
This provides an overview of the number of characters as well as how many genders and sexualities they encompass.
Example Request
GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/characters/
Example Output
{
"total":"3671",
"dead":375,
"genders":"11",
"sexualities":"11",
"romantic_orientation":"9",
"cliches":"40"
}
Complex Statistics
Output is limited to 100 characters per page. Pagination can be used to move through the datasets.
Example Request
GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/characters/complex/{page=#}
Example Output
{
"Aachal":{
"id":22767,
"died":[""],
"actors":1,
"shows":1,
"gender":"Cisgender",
"sexuality":"Homosexual",
"url":"https:\/\/lezwatchtv.com\/character\/aachal\/"
},
"Aadya":{
"id":22764,
"died":[""],
"actors":1,
"shows":1,
"gender":"Cisgender",
"sexuality":"Homosexual",
"url":"https:\/\/lezwatchtv.com\/character\/aadya\/"
},
[...]
}
Cliché Statistics
The breakdown of characters by cliché.
Example Request
GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/characters/cliches/
Example Output
{
"abusive":{
"count":7,
"name":"Abusive",
"url":"https:\/\/lezwatchtv.com\/cliche\/abusive\/"
},
[...]
"vegetarian":{
"count":7,
"name":"Vegetarianish",
"url":"https:\/\/lezwatchtv.com\/cliche\/vegetarian\/"
}
}
Gender Statistics
The breakdown of characters by their gender.
Example Request
GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/characters/gender/
Example Output
{
"agender":{
"count":4,
"name":"Agender",
"url":"https:\/\/lezwatchtv.com\/gender\/agender\/"
},
"cisgender":{
"count":3305,
"name":"Cisgender",
"url":"https:\/\/lezwatchtv.com\/gender\/cisgender\/"
},
[...]
"trans-woman":{
"count":219,
"name":"Trans Woman",
"url":"https:\/\/lezwatchtv.com\/gender\/trans-woman\/"
}
}
Romantic Orientation Statistics
The breakdown of characters by their romantic orientation.
Example Request
GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/characters/romantic/
Example Output
{
"aromantic":{
"count":7,
"name":"Aromantic",
"url":"https:\/\/lezwatchtv.com\/romantic\/aromantic\/"
},
"biromantic":{
"count":4,
"name":"Biromantic",
"url":"https:\/\/lezwatchtv.com\/romantic\/biromantic\/"
},
[...]
"panromantic":{
"count":5,
"name":"Panromantic",
"url":"https:\/\/lezwatchtv.com\/romantic\/panromantic\/"
}
}
Sexuality Statistics
The breakdown of characters by their sexual orientation.
Example Request
GET https://lezwatchtv.com/wp-json/lwtv/v1/stats/characters/sexuality/
Example Output
{
"asexual":{
"count":25,
"name":"Asexual",
"url":"https:\/\/lezwatchtv.com\/sexuality\/asexual\/"
},
"bisexual":{
"count":836,
"name":"Bisexual",
"url":"https:\/\/lezwatchtv.com\/sexuality\/bisexual\/"
},
[...]
"unlabeled":{
"count":1,
"name":"Unlabeled",
"url":"https:\/\/lezwatchtv.com\/sexuality\/unlabeled\/"
}
}