The SRG-SSR Video REST API allows you to get video metadata (including subtitles) from various business units (RSI, RTS, RTR, SRF, SWI).
The API delivers a list of video objects filtered by search parameters that you provided. The API response contains a JSON definition of a playable asset, for example a list of videos by tag, all the episodes of a show, or videos that expire soon.
If you want to play videos, you can use our player. It needs only the ID of the video you get by using the APIs. For more details on how to integrate and use the player in your HTML page, please visit our official link of the pillarbox:
Web: https://github.com/SRGSSR/pillarbox-web
Android: https://github.com/SRGSSR/pillarbox-android
Apple: https://github.com/SRGSSR/pillarbox-apple
We stay at your disposal should you need more information or help.
See full documentation Get started