Skip to content

Instantly share code, notes, and snippets.

@derhuerst
Created January 26, 2018 14:29
Show Gist options
  • Save derhuerst/14fa95f17392bcd072d57afeee54b411 to your computer and use it in GitHub Desktop.
Save derhuerst/14fa95f17392bcd072d57afeee54b411 to your computer and use it in GitHub Desktop.
VBB location details
POST /bin/mgate.exe?mic=550e8254ab7fecbe264e7ccac7eae3ad&mac=1670dd9a61dc4d76257ec6488fbdbeb5 HTTP/1.1
Host: fahrinfo.vbb.de
Content-Type: application/json
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: vbbPROD/4.1.3 (iPad; iOS 10.3.3; Scale/2.00)
Accept-Language: de-DE;q=1
Content-Length: 334
Accept-Encoding: gzip, deflate
{
"client": {
"os": "iOS 10.3.3",
"id": "VBB",
"v": "4010300",
"type": "IPA",
"name": "vbbPROD"
},
"lang": "de",
"ver": "1.16",
"ext": "VBB.1",
"svcReqL": [
{
"req": {
"locL": [
{
"name": "S+U Potsdamer Platz (Bln) [U2]",
"lid": "A=1@O=S+U Potsdamer Platz (Bln) [U2]@X=13377980@Y=52509067@U=86@L=900100720@"
}
]
},
"meth": "LocDetails"
}
],
"auth": {
"aid": "hafas-vbb-apps"
}
}
HTTP/1.1 200 OK
Date: Fri, 26 Jan 2018 14:26:02 GMT
Server: Apache
Content-Length: 1233
Content-Type: application/json; charset=utf-8
{
"ver": "1.16",
"ext": "VBB.1",
"lang": "deu",
"id": "rd48vsp8i8s9x6c4",
"svcResL": [
{
"id": "",
"meth": "LocDetails",
"err": "OK",
"res": {
"common": {
"locL": [
{
"lid": "A=1@O=S+U Potsdamer Platz Bhf (Berlin)@X=13376452@Y=52509337@U=86@L=900100020@",
"type": "S",
"name": "S+U Potsdamer Platz Bhf (Berlin)",
"icoX": 0,
"extId": "900100020",
"crd": {
"x": 13376452,
"y": 52509337,
"type": "WGS84",
"layerX": 0,
"crdSysX": 0
},
"pCls": 65,
"pRefL": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
{
"lid": "A=1@O=S Potsdamer Platz Bhf/Voßstr. (Berlin)@X=13376659@Y=52510146@U=86@L=900100022@",
"type": "S",
"name": "S Potsdamer Platz Bhf/Voßstr. (Berlin)",
"icoX": 4,
"extId": "900100022",
"crd": {
"x": 13376659,
"y": 52510146,
"type": "WGS84",
"layerX": 0,
"crdSysX": 0
},
"pCls": 8,
"pRefL": [
12,
13,
14
]
},
{
"lid": "A=1@O=S+U Potsdamer Platz (Bln) [Bus Leipziger Str.]@X=13378286@Y=52509606@U=86@L=900100721@",
"type": "S",
"name": "S+U Potsdamer Platz (Bln) [Bus Leipziger Str.]",
"icoX": 4,
"extId": "900100721",
"crd": {
"x": 13378286,
"y": 52509606,
"type": "WGS84",
"layerX": 0,
"crdSysX": 0
},
"pCls": 8,
"pRefL": [
11,
13,
14,
15
]
},
{
"lid": "A=1@O=S+U Potsdamer Platz (Bln) [Bus Stresemannstr.]@X=13377234@Y=52508717@U=86@L=900100722@",
"type": "S",
"name": "S+U Potsdamer Platz (Bln) [Bus Stresemannstr.]",
"icoX": 4,
"extId": "900100722",
"crd": {
"x": 13377234,
"y": 52508717,
"type": "WGS84",
"layerX": 0,
"crdSysX": 0
},
"pCls": 8,
"pRefL": [
12
]
}
],
"prodL": [
{
"pid": "L::6::RB::B0002373722::RB_0002373722_RB10::*",
"name": "RB10",
"nameS": "RB10",
"icoX": 0,
"cls": 64,
"prodCtx": {
"lineId": "RB10"
},
"stat": {
"cnt": 19,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::6::RE::B3113392179::RE_3113392179_RE2::*",
"name": "RE2",
"nameS": "RE2",
"icoX": 0,
"cls": 64,
"prodCtx": {
"lineId": "RE2"
},
"stat": {
"cnt": 137,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::6::RE::B0002373722::RE_0002373722_RE3::*",
"name": "RE3",
"nameS": "RE3",
"icoX": 0,
"cls": 64,
"prodCtx": {
"lineId": "RE3"
},
"stat": {
"cnt": 224,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::6::RE::B3113392179::RE_3113392179_RE4::*",
"name": "RE4",
"nameS": "RE4",
"icoX": 0,
"cls": 64,
"prodCtx": {
"lineId": "RE4"
},
"stat": {
"cnt": 55,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::6::RE::B0002373722::RE_0002373722_RE5::*",
"name": "RE5",
"nameS": "RE5",
"icoX": 0,
"cls": 64,
"prodCtx": {
"lineId": "RE5"
},
"stat": {
"cnt": 270,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::6::RE::B0002373722::RE_0002373722_RE::*",
"name": "RE",
"nameS": "RE",
"icoX": 0,
"cls": 64,
"prodCtx": {
"lineId": "RE"
},
"stat": {
"cnt": 223,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::0::S::B1090519025::S_1090519025_S1::*",
"name": "S1",
"nameS": "S1",
"icoX": 2,
"cls": 1,
"prodCtx": {
"lineId": "S1"
},
"stat": {
"cnt": 186,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::0::S::B1090519025::S_1090519025_S2::*",
"name": "S2",
"nameS": "S2",
"icoX": 2,
"cls": 1,
"prodCtx": {
"lineId": "S2"
},
"stat": {
"cnt": 382,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::0::S::B1090519025::S_1090519025_S25::*",
"name": "S25",
"nameS": "S25",
"icoX": 2,
"cls": 1,
"prodCtx": {
"lineId": "S25"
},
"stat": {
"cnt": 44,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::0::S::B1090519025::S_1090519025_S26::*",
"name": "S26",
"nameS": "S26",
"icoX": 2,
"cls": 1,
"prodCtx": {
"lineId": "S26"
},
"stat": {
"cnt": 21,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::1::U::B3041857784::U_3041857784_U2::*",
"name": "U2",
"nameS": "U2",
"icoX": 3,
"cls": 2,
"prodCtx": {
"lineId": "U2"
},
"stat": {
"cnt": 386,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::3::Bus::B3041857784::Bus_3041857784_200::*",
"name": "Bus 200",
"nameS": "200",
"icoX": 4,
"cls": 8,
"prodCtx": {
"lineId": "200"
},
"stat": {
"cnt": 134,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::3::Bus::B3041857784::Bus_3041857784_M41::*",
"name": "Bus M41",
"nameS": "M41",
"icoX": 4,
"cls": 8,
"prodCtx": {
"lineId": "M41"
},
"stat": {
"cnt": 453,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::3::Bus::B3041857784::Bus_3041857784_M48::*",
"name": "Bus M48",
"nameS": "M48",
"icoX": 4,
"cls": 8,
"prodCtx": {
"lineId": "M48"
},
"stat": {
"cnt": 248,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::3::Bus::B3041857784::Bus_3041857784_M85::*",
"name": "Bus M85",
"nameS": "M85",
"icoX": 4,
"cls": 8,
"prodCtx": {
"lineId": "M85"
},
"stat": {
"cnt": 227,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
},
{
"pid": "L::3::Bus::B3041857784::Bus_3041857784_N2::*",
"name": "Bus N2",
"nameS": "N2",
"icoX": 4,
"cls": 8,
"prodCtx": {
"lineId": "N2"
},
"stat": {
"cnt": 44,
"rt": 0,
"ont": 0,
"cncl": 0,
"delGrpL": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
15,
20,
30
],
"delCntL": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"him": 0,
"rtIcoX": 1
}
}
],
"polyL": [],
"layerL": [
{
"id": "standard",
"index": 0,
"annoCnt": 0
}
],
"crdSysL": [
{
"id": "standard",
"index": 0,
"type": "WGS84"
}
],
"opL": [],
"remL": [],
"icoL": [
{
"res": "prod_reg",
"fg": {
"r": 255,
"g": 255,
"b": 255
},
"bg": {
"r": 226,
"g": 0,
"b": 25,
"a": 255
}
},
{
"txt": "keine Echtzeitinformationen",
"txtS": "keine Echtzeitinformationen",
"fg": {
"r": 0,
"g": 0,
"b": 0
},
"bg": {
"r": 227,
"g": 227,
"b": 227
},
"shp": "R",
"sty": "N"
},
{
"res": "prod_comm_t",
"fg": {
"r": 255,
"g": 255,
"b": 255
},
"bg": {
"r": 55,
"g": 135,
"b": 74,
"a": 255
}
},
{
"res": "prod_sub_t",
"fg": {
"r": 255,
"g": 255,
"b": 255
},
"bg": {
"r": 0,
"g": 51,
"b": 153,
"a": 255
}
},
{
"res": "prod_bus_t",
"fg": {
"r": 255,
"g": 255,
"b": 255
},
"bg": {
"r": 153,
"g": 51,
"b": 153,
"a": 255
}
}
]
},
"locL": [
{
"lid": "A=1@O=S+U Potsdamer Platz (Bln) [U2]@X=13377980@Y=52509067@U=86@L=900100720@",
"type": "S",
"name": "S+U Potsdamer Platz (Bln) [U2]",
"icoX": 0,
"extId": "900100720",
"crd": {
"x": 13377980,
"y": 52509067,
"type": "WGS84",
"layerX": 0,
"crdSysX": 0
},
"pCls": 75,
"pRefL": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"stopLocL": [
0,
1,
2,
3
]
}
]
},
"errTxt": ""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment