kiliankoe / vvo Goto Github PK
View Code? Open in Web Editor NEW🚏🚍 A collection of links and tools regarding the VVO/DVB network
🚏🚍 A collection of links and tools regarding the VVO/DVB network
The README.md
links for manni
to https://play.google.com/store/apps/details?id=philippmatthes.com.manni. But that gives an error 404 "not found".
Is there a source independent from google?
Hat jemand einen Kontakt zu dem Dev von Faplino? Die APP ist jetzt im play store nicht mehr verfügbar. Ich hab zwar noch eine apk hier rumliegen, aber praktisch ist das nicht. Es wäre schön, wenn er (Markus Dietel) den source code freigeben könnte. Dann wär vielleicht ein F-Droid build drin...
The EFA endpoints were supposed to be shut down at some point and it looks like they're gone now... Is there any way to be sure?
documentation/widgets.md
says that the parameter hst
is not needed; but I get an error response #err1#
if I omit it. If I pass it, I get sensible data.
First of all, thanks for collecting all information about public APIs to access DVB information. Some things I would like to be able to query (I am using your dvbjs) would be:
Do you have any idea if this is already possible via the vvo-online.de API?
Hi Kilian, I just wanted to tell you that the iOS App has launched yesterday. Maybe you want to add it to your readme? 😊
Could we have a comparison table that shows which API Endpoints are supported?
In README.md
, Magic Mirror
links to http://blog.thomas-bachmann.com/2016/02/magic-mirror-2-0-mit-gestensteuerung.html. But the hostname cannot be resolved.
I recently came across weird behaviour when I experimented with the WebAPI Departures:
If the time
parameter is given, no delays are shown, even if the time parameter includes current date and time.
At first I tought that is what the shorttermchanges
parameter was made for, but setting it to true didn't change the result at all.
Any ideas how to include delays?
Hey,
ich habe Folgendes Problem:
import dvb
import json
import sys
stop = 'Busbahnhof Deuben'
time_offset = 0 # how many minutes in the future, 0 for now
num_results = 5
city = 'Dresden'
obj = dvb.monitor(stop, time_offset, num_results, city)
print(unicode(obj))
Gibt mir:
[{'arrival': 0, 'line': u'B', 'direction': u'Lockwitz'}, {'arrival': 7, 'line': u'A', 'direction': u'L\xf6btau'}, {'arrival': 11, 'line': u'D', 'direction': u'Bannewitz'}, {'arrival': 12, 'line': u'S 3', 'direction': u'Dresden Hbf'}, {'arrival': 12, 'line': u'F', 'direction': u'Gompitzer H\xf6he'}]
..aus.
Ich hätte aber gerne das die Umlaute normal angezeigt werden können, gibt es hierfür eine Problemlösung? Wäre sehr dankbar. LG & cooles Projekt
Since a while the DVB is directly providing a WebDFI-based API to allow to show an own web view of a certain station. For example, see here:
https://www.dvb.de/de-de/service/geschaeftskunden/abfahrtsmonitor/
While this WebDFI based solution is usually individually targeted to a certain user (you have to directly register with the DVB) there are certain things in this WebDFI API that can be used to query more information than the current vvo-online.de API allows to extract.
For example, the following view shows a web view of the "Ullersdorfer Platz" Station:
http://dfi.dvb.de/Dfi/Index?hash=8B8AD2D309A9FF86EDA86E346C132F1C
After some short reverse engineering one can actually query the direct data using the following URL:
http://dfi.dvb.de/Dfi/Departures?hash=8B8AD2D309A9FF86EDA86E346C132F1C&stopid=678
This actually returns a similar data array like the vvo-online.de query but with e.g. showing the "Steig" like I mentioned in ticket #2.
One further but trivial URL query (the current time reference) can be queried like this:
The question of course remains now if this DFI based API might be of any greater use for this project?!? At least I feel we should document its existence.
Hello and thank you for this great project.
I want to add some documentation for a request I just found useful. Unfortunately there seems to be no good way to contribute to the wiki. Would be better to have this as markdown files in the repo. Anyway now as an issue.
-> https://github.com/kiliankoe/vvo/wiki/WebAPI
Get the details about the stations involved in a particular trip.
POST https://webapi.vvo-online.de/dm/trip
Name | Type | Description | Required |
---|---|---|---|
tripid | String | The "id" received from the departure monitor (Departures[*]. Id). | Yes |
time | String | The current time as unix timestamp plus timezone. Has to be in the future. Most likely from a departure monitor response (Departures[*]. RealTime / Departures[*]. ScheduledTime). | Yes |
stopid | String | ID of a stop in the route. This stop will be marked with Position=Current in the response. | Yes |
mapdata | Bool | Unknown. Seems to have no effect. | No |
curl -X "POST" "https://webapi.vvo-online.de/dm/trip" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"tripid": "71313709",
"time": "/Date(1512563081000+0100)/",
"stopid": "33000077"
}'
{
"Stops": [
...
{
"Id": "33000076",
"Place": "Dresden",
"Name": "Laibacher Straße",
"Position": "Previous",
"Platform": {
"Name": "2",
"Type": "Platform"
},
"Time": "\/Date(1512563021000+0100)\/"
},
{
"Id": "33000077",
"Place": "Dresden",
"Name": "Großglocknerstraße",
"Position": "Current",
"Platform": {
"Name": "2",
"Type": "Platform"
},
"Time": "\/Date(1512563081000+0100)\/"
},
{
"Id": "33000078",
"Place": "Dresden",
"Name": "Friedhof Leuben",
"Position": "Next",
"Platform": {
"Name": "2",
"Type": "Platform"
},
"Time": "\/Date(1512563141000+0100)\/"
},
...
],
"Status": {
"Code": "Ok"
},
"ExpirationTime": "\/Date(1512565171371+0100)\/"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.