WIP Module for the CMS from Nexx
#1
Nexx (https://www.nexx.tv/) is a new CMS provider. My module (script.module.nexx) enables add-ons to fetch informations and audio/video from the nexxOMNIA API.

To my knowledge, there are at least two websites which use the services of Nexx:
- www.spiegel.tv
- www.funk.net

The interface itself is simple but effective. Note that the content provider itself can limit the interface by restricting API calls.


The module needs a few parameters to work:

- operations - a dict of API calls with the corresponding hash
- cid - unique id of the video platform
- channelId - channel id
- origin - base url of the website

Here is a mock-up to fetch the video URL:
Code:
import nexx
nexx.operations = {'byid':'2835669fdcfe2d07351d633353bf87a8'}
nexx.cid = '114994613565243649'
nexx.channelId = '741'
nexx.origin = 'https://www.funk.net'
url = nexx.getVideoUrl('12345')

The only API call supported right now is 'byid', which fetches the video url based on a video id. This will be expanded in the future.


Feel free to ask me if you need an additional API call, find a bug or if you need help.
Reply

Logout Mark Read Team Forum Stats Members Help
Module for the CMS from Nexx0