Skip to content

Instantly share code, notes, and snippets.

@leonardehrenfried
Created January 25, 2024 10:55
Show Gist options
  • Save leonardehrenfried/3ebfd86f2e77cfdff8d7bd749ce63759 to your computer and use it in GitHub Desktop.
Save leonardehrenfried/3ebfd86f2e77cfdff8d7bd749ce63759 to your computer and use it in GitHub Desktop.
{
"data": {
"plan": {
"itineraries": [
{
"duration": 4438,
"legs": [
{
"mode": "WALK",
"route": null,
"fareProducts": []
},
{
"mode": "RAIL",
"route": {
"shortName": "Airport Line",
"longName": "Airport Line"
},
"fareProducts": [
{
"id": "8a34bee7-c6e4-33e2-bc11-4c7873af6380",
"product": {
"id": "septa-rail:AIR_to_CC",
"name": "regular",
"price": {
"currency": {
"code": "USD"
},
"amount": 6.75
},
"riderCategory": null,
"medium": null
}
}
]
},
{
"mode": "RAIL",
"route": {
"shortName": "Fox Chase Line",
"longName": "Fox Chase Line"
},
"fareProducts": [
{
"id": "8a34bee7-c6e4-33e2-bc11-4c7873af6380",
"product": {
"id": "septa-rail:AIR_to_CC",
"name": "regular",
"price": {
"currency": {
"code": "USD"
},
"amount": 6.75
},
"riderCategory": null,
"medium": null
}
}
]
},
{
"mode": "WALK",
"route": null,
"fareProducts": []
},
{
"mode": "SUBWAY",
"route": {
"shortName": "MFL",
"longName": "Frankford TC to 69th St TC"
},
"fareProducts": []
},
{
"mode": "WALK",
"route": null,
"fareProducts": []
}
]
},
{
"duration": 4459,
"legs": [
{
"mode": "WALK",
"route": null,
"fareProducts": []
},
{
"mode": "RAIL",
"route": {
"shortName": "Airport Line",
"longName": "Airport Line"
},
"fareProducts": [
{
"id": "8a34bee7-c6e4-33e2-bc11-4c7873af6380",
"product": {
"id": "septa-rail:AIR_to_CC",
"name": "regular",
"price": {
"currency": {
"code": "USD"
},
"amount": 6.75
},
"riderCategory": null,
"medium": null
}
}
]
},
{
"mode": "RAIL",
"route": {
"shortName": "Trenton Line",
"longName": "Trenton Line"
},
"fareProducts": [
{
"id": "752b696c-b719-34db-a781-175d113cbfa1",
"product": {
"id": "septa-rail:CC_to_2S",
"name": "regular",
"price": {
"currency": {
"code": "USD"
},
"amount": 6
},
"riderCategory": null,
"medium": null
}
}
]
},
{
"mode": "WALK",
"route": null,
"fareProducts": []
},
{
"mode": "BUS",
"route": {
"shortName": "25",
"longName": "FTC to Columbus Commons"
},
"fareProducts": []
},
{
"mode": "WALK",
"route": null,
"fareProducts": []
}
]
},
{
"duration": 4438,
"legs": [
{
"mode": "WALK",
"route": null,
"fareProducts": []
},
{
"mode": "RAIL",
"route": {
"shortName": "Airport Line",
"longName": "Airport Line"
},
"fareProducts": [
{
"id": "0f61a4f1-7d90-3f54-82a8-438ccf37df97",
"product": {
"id": "septa-rail:AIR_to_CC",
"name": "regular",
"price": {
"currency": {
"code": "USD"
},
"amount": 6.75
},
"riderCategory": null,
"medium": null
}
}
]
},
{
"mode": "RAIL",
"route": {
"shortName": "Warminster Line",
"longName": "Warminster Line"
},
"fareProducts": [
{
"id": "0f61a4f1-7d90-3f54-82a8-438ccf37df97",
"product": {
"id": "septa-rail:AIR_to_CC",
"name": "regular",
"price": {
"currency": {
"code": "USD"
},
"amount": 6.75
},
"riderCategory": null,
"medium": null
}
}
]
},
{
"mode": "WALK",
"route": null,
"fareProducts": []
},
{
"mode": "SUBWAY",
"route": {
"shortName": "MFL",
"longName": "Frankford TC to 69th St TC"
},
"fareProducts": []
},
{
"mode": "WALK",
"route": null,
"fareProducts": []
}
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment