Constructs a new instance of the base API to interact with a Tablo device
Protected
currentProtected
Returns the current hour timestamps
Retrieves account subscription information from the device
Returns the currently available airings
Note: This method contains a loop that results in the method taking a bit of time to complete, you may specify a progress callback to help report the progress to the caller.
Repeated calls to this method are cached for approximately 10 minutes.
if true, will return all airings, otherwise will only return airings that are currently playing.
if set to true, will force a refresh of the cache.
Optional
progress_callback: (total: number, received: number) => voidProtected
batchProtected
Batch operations are much faster than a bunch of single operations. For example, instead of making 50 requests for the first 50 recordings returned by Recordings - Get Airings, you can take those 50 paths and make 1 request to /batch to receive all the same data.
Protected
calculate_Protected
Calculates the end time based upon the specified start time and duration
Retrieves the capabilities of the device.
Retrieves information regarding the latest (or a specified) channel scan.
Optional
scan_idx: string | numberif not specified, will pull the latest channel scan information
Protected
deleteProtected
Performs a DELETE request against the Tablo device
Deletes/stops an existing watch (streaming) session
Retrieves device subscription information.
Protected
getProtected
Performs a GET request against the Tablo device
Retrieves the guide status from the device
Retrieves a list of the hard drives connected to the device.
Sends a watch (streaming) session keepalive request so that the session does not time out and stop
Retrieves device location information
Protected
postProtected
Performs a PUT request against the Tablo device
Optional
payload: objectAttempts to retrieve an existing watch (streaming) session
Retrieves the settings of the device.
Retrieves the list of supported storage types.
Retrieves device update information.
Retrieves device update progress information.
Initiates a channel watch (streaming) session on the device which must be managed via
keepaliveSession
and deleteSession
Static
discoverAttempts to discover the Tablo devices on the network from which this API is made.
See https://jessedp.github.io/tablo-api-docs/#tablo-api-introduction for an extensive list of device endpoints
Note: this implementation is currently incomplete and is unlikely to have all endpoints implemented.