Skip to content

Instantly share code, notes, and snippets.

@Muspah
Created February 10, 2023 10:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Muspah/587547affc95e79ed2feec3c1f78fe83 to your computer and use it in GitHub Desktop.
Save Muspah/587547affc95e79ed2feec3c1f78fe83 to your computer and use it in GitHub Desktop.
https://mobile-riv.api.belgianrail.be/riv/v1.0/journey?trainFilter=S203061&originExtId=8833134&destExtId=8833001&date=2023-02-10&time=11%3A53%3A00&lang=nl
{
"Trip": [
{
"LegList": {
"Leg": [
{
"Destination": {
"Notes": {
"Note": [
{
"key": "FA",
"priority": 1,
"type": "A",
"value": "full assistance"
},
{
"key": "LA",
"priority": 1,
"type": "A",
"value": "light assistance"
},
{
"key": "FS",
"priority": 999,
"type": "A",
"value": "full assistance - search"
},
{
"key": "LS",
"priority": 999,
"type": "A",
"value": "light assistance - search"
},
{
"key": "GA",
"priority": 999,
"type": "A",
"value": "Belgium stations"
},
{
"key": "GH",
"type": "A",
"value": ""
},
{
"key": "LI",
"type": "A",
"value": ""
},
{
"key": "CS",
"type": "A",
"value": ""
}
]
},
"date": "2023-02-10",
"extId": "8833001",
"id": "A=1@O=Leuven@X=4715867@Y=50882280@U=80@L=8833001@",
"lat": 50.88228,
"lon": 4.715867,
"name": "Leuven",
"prognosisType": "PROGNOSED",
"routeIdx": 12,
"rtDate": "2023-02-10",
"rtTime": "12:03:00",
"time": "12:03:00",
"track": "D",
"type": "ST"
},
"JourneyDetailRef": {
"ref": "1|4910|0|80|10022023"
},
"JourneyStatus": "P",
"Origin": {
"CommercialInfo": {
"Occupancy": {
"Level": 1
}
},
"Notes": {
"Note": [
{
"key": "GA",
"priority": 999,
"type": "A",
"value": "Belgium stations"
},
{
"key": "GH",
"type": "A",
"value": ""
},
{
"key": "LI",
"type": "A",
"value": ""
}
]
},
"date": "2023-02-10",
"extId": "8833134",
"id": "A=1@O=Oud-Heverlee@X=4653311@Y=50835932@U=80@L=8833134@",
"lat": 50.835932,
"lon": 4.653311,
"name": "Oud-Heverlee",
"prognosisType": "PROGNOSED",
"routeIdx": 10,
"rtDate": "2023-02-10",
"rtTime": "11:53:00",
"time": "11:53:00",
"track": "1",
"type": "ST"
},
"Product": {
"admin": "88____",
"catCode": "4",
"catIn": "081",
"catOut": "S20 ",
"catOutL": "S20",
"catOutS": "081",
"name": "S20 3061",
"num": "3061"
},
"Stops": {
"Stop": [
{
"Notes": {
"Note": [
{
"key": "GA",
"priority": 999,
"type": "A",
"value": "Belgium stations"
},
{
"key": "GH",
"type": "A",
"value": ""
},
{
"key": "LI",
"type": "A",
"value": ""
}
]
},
"arrDate": "2023-02-10",
"arrTime": "11:53:00",
"depDate": "2023-02-10",
"depPrognosisType": "PROGNOSED",
"depTime": "11:53:00",
"extId": "8833134",
"id": "A=1@O=Oud-Heverlee@X=4653311@Y=50835932@U=80@L=8833134@",
"lat": 50.835932,
"lon": 4.653311,
"name": "Oud-Heverlee",
"routeIdx": 10,
"rtArrDate": "2023-02-10",
"rtArrTime": "11:53:00",
"rtDepDate": "2023-02-10",
"rtDepTime": "11:53:00",
"rtDepTz": 0
},
{
"Notes": {
"Note": [
{
"key": "GA",
"priority": 999,
"type": "A",
"value": "Belgium stations"
},
{
"key": "GH",
"type": "A",
"value": ""
},
{
"key": "LI",
"type": "A",
"value": ""
}
]
},
"arrDate": "2023-02-10",
"arrPrognosisType": "PROGNOSED",
"arrTime": "11:57:00",
"depDate": "2023-02-10",
"depPrognosisType": "PROGNOSED",
"depTime": "11:58:00",
"extId": "8833126",
"id": "A=1@O=Heverlee@X=4695201@Y=50862531@U=80@L=8833126@",
"lat": 50.862531,
"lon": 4.695201,
"name": "Heverlee",
"routeIdx": 11,
"rtArrDate": "2023-02-10",
"rtArrTime": "11:57:00",
"rtArrTz": 0,
"rtDepDate": "2023-02-10",
"rtDepTime": "11:58:00",
"rtDepTz": 0
},
{
"Notes": {
"Note": [
{
"key": "FA",
"priority": 1,
"type": "A",
"value": "full assistance"
},
{
"key": "LA",
"priority": 1,
"type": "A",
"value": "light assistance"
},
{
"key": "FS",
"priority": 999,
"type": "A",
"value": "full assistance - search"
},
{
"key": "LS",
"priority": 999,
"type": "A",
"value": "light assistance - search"
},
{
"key": "GA",
"priority": 999,
"type": "A",
"value": "Belgium stations"
},
{
"key": "GH",
"type": "A",
"value": ""
},
{
"key": "LI",
"type": "A",
"value": ""
},
{
"key": "CS",
"type": "A",
"value": ""
}
]
},
"arrDate": "2023-02-10",
"arrPrognosisType": "PROGNOSED",
"arrTime": "12:03:00",
"extId": "8833001",
"id": "A=1@O=Leuven@X=4715867@Y=50882280@U=80@L=8833001@",
"lat": 50.88228,
"lon": 4.715867,
"name": "Leuven",
"routeIdx": 12,
"rtArrDate": "2023-02-10",
"rtArrTime": "12:03:00",
"rtArrTz": 0
}
]
},
"category": "081",
"direction": "Heverlee & Leuven",
"duration": "PT10M",
"idx": 0,
"name": "S20 3061",
"number": "3061",
"reachable": true,
"type": "JNY"
}
]
},
"ServiceDays": [
{
"planningPeriodBegin": "2022-12-11",
"planningPeriodEnd": "2023-12-09",
"sDaysB": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0",
"sDaysI": "niet 29. Apr t/m 1. Mei 2023",
"sDaysR": "dagelijks"
}
],
"checksum": "1c46e9ff_3",
"ctxRecon": "¶HKI¶T$A=1@O=Oud-Heverlee@L=8833134@a=128@$A=1@O=Leuven@L=8833001@a=128@$202302101153$202302101203$S20 3061$$1$$$$",
"duration": "PT10M",
"idx": 0,
"tripId": "C-0"
}
],
"dialectVersion": "2.19",
"planRtTs": "2023-02-10 11:52:27+01:00",
"requestId": "i5w8jgewk6mi948g",
"scrB": "2|OB|MTµ11µ0µ0µ0µ0µ0µ0µ0µ0µ0µ0µ0µ1µ1|PDHµd3f41de5875488e3cdc69aa8adcd6200|RDµ10022023|RTµ115300|USµ0",
"scrF": "2|OF|MTµ11µ0µ0µ0µ0µ0µ0µ0µ0µ0µ0µ0µ1µ1|PDHµd3f41de5875488e3cdc69aa8adcd6200|RDµ10022023|RTµ115300|USµ0",
"serverVersion": "2.19.4"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment