Skip to content
Dan edited this page Apr 29, 2023 · 2 revisions

Welcome to the iptvro_v2 wiki!

All the API routes available are detailed below:

All params with a ? are optional.

  • /:module?/cache returns the cached links

    By passing the module param you only get the links for that module id.

  • /live/:channel/(index.m3u8)?/(player)?

    This route only takes the live channel id and searches for it across the modules.

    channel is the channel id you get from /:module/live

    If you pass index.m3u8, you will get proxied m3u8.

    player serves you a web player.

  • /:module/live/(index.m3u8)?

    This serves you the list of channels.

    By passing index.m3u8 you get an m3u8 playlist with all the channels for the module

  • /:module/live/:channel/(index.m3u8)?/(player)?

    Returns the live channel from a specific module id by passing module id as module param and channel id as channel param

    If you pass index.m3u8, you will get proxied m3u8.

    player serves an HTML5 player.

  • /:module/vod

    Returns all the VOD available for module

  • /:module/vod/:show

    Returns all the VOD episodes available for show on module

  • /:module/vod/:show/:epid/:playlist?/:player(player)?

    Returns the VOD episode epid of show on module.

    Passing whatever.m3u8 as playlist returns a proxied m3u8 if the VOD is HLS.

    player serves an HTML5 player.

  • POST /:module/login

    This is to be used to login into the service provider

    Send username and password as JSON

    Example

    curl -X POST localhost:3000/antena-play/login -d '{"username": "", "password": ""}'

  • /:module?/clearcache

    Clears the link cache for all modules or for module

  • /:module?/updatechannels

    Updates channels for all channels or for module

  • /:module

    Returns properties for the module

  • /modules

    Returns the list of modules