Export

Outputs basic data on shows, actors, and characters.

Endpoint

  • /lwtv/v1/export/{actor|character|show}/{name|id}/
  • /lwtv/v1/export/full/{characters}/{gender|sexuality}/{term}/
  • /lwtv/v1/export/list/{actors|characters|shows}/
  • /lwtv/v1/export/raw/{actors|characters|shows}/

Example Request – Actor

Export basic information on a single actor.

GET https://lezwatchtv.com/wp-json/lwtv/v1/export/actor/lucy-lawless/

Example Output

{
    "uid":15903,
    "id":"lucy-lawless",
    "name":"Lucy Lawless",
    "description":"Heterosexual Cisgender Woman actor b. March 
     29, 1968. https:\/\/en.wikipedia.org\/wiki\/Lucy_Lawless"
}

Example Request – Character

Export basic information on a single character.

GET https://lezwatchtv.com/wp-json/lwtv/v1/export/character/sara-lance/

Example Output

{
    "uid":458,
    "id":"sara-lance",
    "name":"Sara Lance",
    "description":"A Bisexual Cisgender Female character on 
    \"Legends of Tomorrow\", \"Arrow\", \"The Flash\", and 
    \"Supergirl\". Played by Caity Lotz, and Jacqueline MacInnes
    Wood."
}

Example Request – Show

Export basic information on a single show.

GET https://lezwatchtv.com/wp-json/lwtv/v1/export/show/the-l-word/

Example Output

{
    "uid":211,
    "id":"the-l-word",
    "name":"The L Word",
    "description":"TV Show airing in USA from 2004-2009."
}

Example Request – Full

Export medium details on a subset of data (currently only supports characters).

GET https://lezwatchtv.com/wp-json/lwtv/v1/export/full/characters/gender/non-binary/

Example Output

{
  "billie-2": {
    "id": 66304,
    "name": "Billie",
    "sexuality": [
      "Undeclared"
    ],
    "gender": [
      "Non-Binary"
    ],
    "cliches": [
      "Queer IRL",
      "Student"
    ],
    "shows": [
      {
        "name": "Station 19",
        "chartype": "guest",
        "years": [
          "2020"
        ]
      }
    ],
    "url": "https://lwtv.local/character/billie-2"
  },
[...]
}

Example Request – List

Export a list of all shows.

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

Example Output

{
    "uid":27002,
    "id":"hack-sign",
    "name":".hack\/\/SIGN",
    "description":"TV Show airing in Japan in 2002."
},
{
    "uid":6458,
    "id":"hashtag-the-series",
    "name":"#Hashtag The Series",
    "description":"Web Series airing in USA from 2014-2015."
},
....

Example Request – Raw

Export a list basic data for an entire set of data (i.e. actors).

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

Example Output

{
    "uid":20656,
    "id":"a-leslie-kies",
    "name":"A Leslie Kies","sexuality":
    "Heterosexual",
    "gender":"Cisgender Woman",
    "born":"",
    "died":"",
    "website":"",
    "imdb":"https:\/\/imdb.com\/nm2731946",
    "wikipedia":"",
    "twitter":"",
    "instagram":"https:\/\/instagram.com\/alesliekies"
},
{
    "uid":34356,
    "id":"a-reed-stillwell",
    "name":"A. Reed Stillwell",
    "sexuality":"Homosexual",
    "gender":"Cisgender Woman",
    "born":"October 19, 1976",
    "died":"",
    "website":"",
    "imdb":"https:\/\/imdb.com\/nm2817400",
    "wikipedia":"",
    "twitter":"https:\/\/twitter.com\/busterreed",
    "instagram":""
},
....