Skip to content
loken edited this page Jan 6, 2016 · 2 revisions

GET: /search/{type}&query={value}

Summary

Search for content that is supported by Plex Requests. Currently that is Movies and TV Shows.

Parameters

Two URL parameters are required:

  1. type: valid options are movie and tv
  2. value: any string longer than 2 characters

Returned JSON

// movie
{
    "statusCode": 200
    "data": [
        {
            "poster_path": "/1hRoyzDtpgMU7Dz4JF22RANzQO7.jpg",
            "adult": false,
            "overview": "Batman raises the stakes in his war on crime. With the help of Lt. Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as the Joker.",
            "release_date": "2008-07-18",
            "genre_ids": [
                18,
                28,
                80,
                53
            ],
            "id": 155,
            "original_title": "The Dark Knight",
            "original_language": "en",
            "title": "The Dark Knight",
            "backdrop_path": "/nnMC0BM6XbjIIrT4miYmMtPGcQV.jpg",
            "popularity": 9.700776,
            "vote_count": 6361,
            "video": false,
            "vote_average": 7.95
        },
        {
            "poster_path": "/6125p54Jnog3kFsY33oMQF3d1dJ.jpg",
            "adult": false,
            "overview": "Vampire Barnabas Collins is inadvertently freed from his tomb and emerges into the very changed world of 1972. He returns to Collinwood Manor to find that his once-grand estate and family have fallen into ruin.",
            "release_date": "2012-05-11",
            "genre_ids": [
                35,
                14
            ],
            "id": 62213,
            "original_title": "Dark Shadows",
            "original_language": "en",
            "title": "Dark Shadows",
            "backdrop_path": "/thzGA2cOW37jCxJ7sJeBNGVGZKj.jpg",
            "popularity": 4.314472,
            "vote_count": 1028,
            "video": false,
            "vote_average": 5.6
        }
    ],
    "meta": {}
}

// tv
{
    "statusCode": 200,
    "data": [
        {
            "aliases": [
                "Dark Matter, Dark Energy  The Dark Side of the Universe"
            ],
            "banner": "graphical/85325-g.jpg",
            "firstAired": "2007-01-01",
            "id": 85325,
            "network": "TTC",
            "overview": "First proposed in the 1930s, the idea that there is missing mass influencing the behavior of galaxies began to look more and more likely from the 1970s on. We know that it is matter because we can detect its gravitational influence on visible matter, but we cannot see it. An inventory of the distribution of dark matter throughout space shows that it constitutes 25% of the energy density of the universe.",
            "seriesName": "Dark Matter, Dark Energy - The Dark Side of the Universe",
            "status": "Ended"
        },
        {
            "aliases": [],
            "banner": "",
            "firstAired": "1962-07-01",
            "id": 75017,
            "network": "BBC One",
            "overview": "Welcome to The Dark Island guide at TV Tome. There is no editor for this show. If you would like to be the editor look here for details.\r\nProduced by BBC Scotland and filmed on location in Benbecula and South Uist, The dark Island is a thriller in six parts.  Russian trawlers are patrolling off the Outer Hebrides as part of a spy-net in Britain.",
            "seriesName": "The Dark Island",
            "status": "Ended"
        },
    ],
    "meta": {}
}

Clone this wiki locally