eXaminator / cyboard-bahn

Cyboard Widget to display arrival times of the Deutsche Bahn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Cyboard Bahn Widget

This module displays upcomming arrival times of the Deutsche Bahn.

##How to use

  1. install the cyboard wallboard: npm install cyboard
  2. install the plugin npm install cyboard-bahn
  3. add it to your wallboard and style it

##Example

var server = require('cyboard')(),
    board = server.createBoard('Team A');

board.addWidget('bahn', {
    top: 1,
    left: 1,
    width: 6,
    height: 2,
    connections: [{
        start: 'Köln-Ehrenfeld',
        stop: ['Paderborn Hbf', 'Hamm(Westf)']
    }]
});

server.listen(3000, function() {
    console.info("Server listening on http://localhost:%s", 3000);
});

###Upcomming

  • writing tests
  • add translations

About

Cyboard Widget to display arrival times of the Deutsche Bahn


Languages

Language:JavaScript 74.8%Language:CSS 14.0%Language:HTML 11.2%