livebridge-scribblelive

Scribblelive plugin for Livebridge.


Keywords
liveticker, scribblelive, syndication
Licenses
Apache-2.0/MIT-feh
Install
pip install livebridge-scribblelive==0.6rc0

Documentation

livebridge-scribblelive

Build Status Coverage Status PyPi

A Scribblelive plugin for Livebridge.

It allows to use a Scribblelive event stream as a target for Livebridge.

A converter from Liveblog to Scribblelive is also part of this module.

Updates in 0.6.1

  • YouTube embeds now use nocookie domain
  • Twutter embeds now use Twitter oembed API to built HTML

Installation

Python>=3.5 is needed.

pip3 install livebridge-scribblelive

The plugin will be automatically detected and included from livebridge at start time, but it has to be available in PYTHONPATH

See http://livebridge.readthedocs.io/en/latest/plugins.html#installing-plugins for more infos.

Plugin specific control file parameters

Under auth:

  • user - scribblelive user
  • password - scribblelive password
  • api_key - your scribllelive API key

Under targets:

  • type: "scribble"
  • event_id - Id of Scribblelive event.

Example:

auth:
    scribble:
        user: "email@example.com"
        password: "0123456"
        api_key: "ApIkEy"
bridges:
    - source_id: "1234567890ABDCEF"
      endpoint: "https://example.com/api/"
      type: "demo"
      label: "Example"
      targets:
        - type: "scribble"
          event_id: "12345"
          auth: "scribble"

See http://livebridge.readthedocs.io/en/latest/control.html for more infos.

Testing

Livebridge uses py.test and asynctest for testing.

Run tests:

    py.test -v tests/

Run tests with test coverage:

    py.test -v --cov=livebridge_scribblelive --cov-report=html tests/

pytest-cov has to be installed. In the example above, a html summary of the test coverage is saved in ./htmlcov/.

Ideas :

License

Copyright 2016 dpa-infocom GmbH

Apache License, Version 2.0 - see LICENSE for details