Interface PlexOptions

interface PlexOptions {
    baseurl?: string;
    data?: any;
    initpath?: string;
    server?: any;
    session?: string;
    timeout?: number;
    token?: string;
}

Properties

baseurl?: string

(str): HTTP URL to connect dirrectly to this client.

data?: any

(ElementTree): Response from PlexServer used to build this object (optional).

initpath?: string

(str): Path used to generate data.

server?: any

(:class:~plexapi.server.PlexServer): PlexServer this client is connected to (optional).

session?: string

(:class:~requests.Session): requests.Session object if you want more control (optional).

timeout?: number

(int): timeout in seconds on initial connect to client (default config.TIMEOUT).

token?: string

(str): X-Plex-Token used for authenication (optional).