- Notifications
You must be signed in to change notification settings - Fork0
An unofficial python api to fetch media from RTPPlay, based on their mobile API.
License
guipenedo/rtp-play-api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
RTP is the portuguese public broadcaster (Rádio e Televisão de Portugal). Their platform, RTPPlay gives free access to on demand and live tv content.
This python package usesrtpplay's mobile api to fetch their content. As opposed to web scraping, this is not expected to break too often.
This package is in no way official nor endorsed by RTP.
pip install rtpplayapi
fromrtpplayapiimportRTPPlayAPIrtppapi=RTPPlayAPI()print(rtppapi.search("offline"))
NOTE: Some endpoints are missing, feel free to PR.
- get_live_tv_channels
- get_live_radio_channels
- get_slideshow
- get_collection
- get_channel_epg
- get_channel
- get_program
- get_episode
- list_episodes
- list_programs
- search
Look at the docstrings on rtpplayapi/api.py for example responses and parameter description.
About
An unofficial python api to fetch media from RTPPlay, based on their mobile API.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.