Scheduled Departure API

bvggrabber.api.scheduleddeparture.SCHEDULED_API_ENDPOINT = 'http://mobil.bvg.de/Fahrinfo/bin/stboard.bin/dox'

str(object=’‘) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

class bvggrabber.api.scheduleddeparture.ScheduledDepartureQueryApi(station, vehicles=127, limit=5)[source]
__init__(station, vehicles=127, limit=5)[source]
Parameters:vehicles (Vehicle) – a bitmask described by Vehicle

Helper Classes

class bvggrabber.api.scheduleddeparture.Vehicle[source]
BUS = 8
FERRY = 4
IC = 1
RB = 2
S = 64
TRAM = 16
U = 32
_ALL = 127

Table Of Contents

Previous topic

Actual Departure API

Next topic

Utils

This Page