@gibme/tablo.tv
    Preparing search index...

    Class Lighthouse

    Index

    Constructors

    • Parameters

      • email: string
      • password: string
      • timeout: number = 2000
      • request_logging: boolean = false

      Returns Lighthouse

    Properties

    timeout: number = 2000

    Accessors

    • get authenticated(): boolean

      Returns boolean

    Methods

    • Retrieves the account information

      Parameters

      • timeout: number = ...

      Returns Promise<undefined | AccountInfo>

    • Retrieves the current airing information for the specified channel within the specified device context

      Parameters

      • channel_id: string
      • context_token: string = ...
      • timeout: number = ...

      Returns Promise<GuideAiring[]>

    • Retrieves the list of live airings for the specified device context

      Parameters

      • context_token: string = ...
      • timeout: number = ...

      Returns Promise<LiveAiring[]>

    • Retrieves a list of the devices associated with the account

      Parameters

      • timeout: number = ...

      Returns Promise<Lighthouse.Device[]>

    • Type Parameters

      • ResponseType = any

      Parameters

      • endpoint: string
      • params: Record<string, any> = {}
      • timeout: number = ...
      • Optionaltoken: string

      Returns Promise<ResponseType>

    • Retrieves the list of channels available within the specified device context

      Parameters

      • context_token: string = ...
      • timeout: number = ...

      Returns Promise<GuideChannel[]>

    Protectedpost

    • post<ResponseType = any>(
          endpoint: string,
          payload?: object,
          timeout?: number,
          token?: string,
      ): Promise<ResponseType>

      Type Parameters

      • ResponseType = any

      Parameters

      • endpoint: string
      • Optionalpayload: object
      • timeout: number = ...
      • Optionaltoken: string

      Returns Promise<ResponseType>

    • Attempts to retrieve information regarding a specific device associated with the account

      Parameters

      • server_id: string
      • timeout: number = ...

      Returns Promise<undefined | Lighthouse.Device>

    • Selects the device context based upon the specified profile_id and server_id.

      Parameters

      • profile_id: string
      • server_id: string
      • timeout: number = ...

      Returns Promise<undefined | string>

    • Type Parameters

      • ResponseType = any

      Parameters

      • method: string
      • endpoint: string
      • params: Record<string, any> = {}
      • Optionalpayload: string | Record<string, any>
      • timeout: number = 2000

      Returns Promise<ResponseType>

    • Retrieves a list of devices associated with the network from which this API call is made.

      Parameters

      • timeout: number = 2000

      Returns Promise<Lighthouse.Device[]>

    • Retrieves a list of virtual devices associated with the network from which this API call is made.

      Parameters

      • timeout: number = 2000

      Returns Promise<Lighthouse.Device[]>

    • Attempts to retrieve the specified virtual device associated with the network from which this API call is made.

      Parameters

      • server_id: string
      • timeout: number = 2000

      Returns Promise<undefined | Lighthouse.Device>