livebridge-tickaroo

Livebridge adapter for Tickaroo.


Keywords
liveticker, tickaroo, syndication
Licenses
Apache-2.0/MIT-feh
Install
pip install livebridge-tickaroo==0.0.18

Documentation

livebridge-tickaroo

A Tickaroo plugin for Livebridge.

It allows to use Tickaroo tickers as target for Livebridge.

Converter from Liveblog to Tickaroo are part of this plugin.

Installation

Python>=3.5 is needed.

pip3 install livebridge-tickaroo

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

See https://pythonhosted.org/livebridge/plugins.html#installing-plugins for more infos.

Plugin specific control file parameters

Under auth:

  • client_id - your Tickaroo client_id
  • client_secret - your Tickaroo client_secret

Under bridges: and targets:

Example:

auth:
    tickaroo:
        client_id: "012345678909876543231XYZ"
        client_secret: "XYZ012345678909876543231"
bridges:
    - source_id: "56fceedda505e600f7195cch"
      endpoint: "https://liveblog.pro/api/"
      type: "liveblog"
      label: "Example"
      targets:
        - type: "tickaroo"
          ticker_id: "01238XYZ"
          auth: "tickaroo"
          endpoint: "https://staging.tickaroo.com/api/v5/"

See https://pythonhosted.org/livebridge/control.html for more infos.

Testing

Livebridge uses py.test and asynctest for testing.

Run tests:

    py.test -v tests/

Publish

Config ~/.pypirc

[livebridge-tickaroo]
repository = https://upload.pypi.org/legacy/
username = __token__
password = GET_FROM_PYPI

Commands:

rm -rf dist
python setup.py sdist
python3 -m twine upload dist/livebridge-tickaroo-0.0.*.tar.gz -r livebridge-tickaroo

License

Copyright 2016 Tickaroo GmbH

Apache License, Version 2.0 - see LICENSE for details