UNPKG

philtv-js

Version:

A simple library to pair and interact with Philips TV

30 lines (16 loc) 1.22 kB
# philtv-js **philtv-js** is a TypeScript library for pairing and consume a Philips Android TV with the latest versions (6) using the **JointSpace** protocol. This library simplifies the pairing process, allowing you to interact with your Philips television securely and efficiently. With full TypeScript support, `philtv-js` provides type safety, helping to prevent runtime errors and improve code quality. This library leverages the lightweight [urllib](https://www.npmjs.com/package/urllib) HTTP client, which is built on top of Fetch API, for making secure and intuitive HTTP requests. **Works only in secure environments (HTTPS) and with versions 6 of the [JointSpace protocol](https://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API.html).** ## Key Features ✨ - Build with TypeScript, no python, but inspired by https://github.com/eslavnov/pylips - Pairing process (programmatically and CLI) - Many endpoints available. But we need to add more. ## Documentation 📖 You can find the full documentation [here](https://clement-berard.github.io/philtv-js). ## Contributing Please feel free to contribute to this package by creating issues or pull requests. ## License MIT