Reference

You can build apps and services on webOS Open Source Edition (OSE) using the following APIs and libraries:

Warning
We DO NOT guarantee that webOS OSE APIs are compatible with LG products based on webOS, such as webOS TV, webOS Signage and Pro:Centric. We strongly recommend you to refer to the respective API reference on each developer site.

LS2 API

LS2 API is an interface to access system services via Luna Bus and use their functionalities. LS2 API forms the basis of webOS app and service development. See the LS2 API index.

WebOSServiceBridge API

WebOSServiceBridge is a built-in JavaScript API for web applications to use LS2 API. See the WebOSServiceBridge API reference.

Note
WebOSServiceBridge API is available only on webOS Open Source Edition (OSE) 2.0 or higher.

webos-service Library

webos-service library provides the API to the system bus wrapped in familiar Node.js idioms. See webos-service Library API reference.

luna-service2 Library

luna-service2 library provides a C/C++ API used by native apps and services in order to call LS2 API methods. See luna-service2 Library API reference.

luna-service2++ Library

luna-service2++ library provides the C++ wrapper for the webOS Luna System Bus in order to call LS2 API methods. See luna-service2++ Library API reference.

pmloglib Library

pmloglib library provides the API for debugging, which allows you to trace and log the runtime status of apps or services. See pmloglib Library API reference.

uMediaClient API

uMediaClient provides access to the functionality offered by the webOS media server. See uMediaClient API Reference.