Skip to content

Instantly share code, notes, and snippets.

@adithsureshbabu
Last active December 25, 2021 18:34
Show Gist options
  • Select an option

  • Save adithsureshbabu/3684f0bfe5eb3ab3edaa45a4e3bff756 to your computer and use it in GitHub Desktop.

Select an option

Save adithsureshbabu/3684f0bfe5eb3ab3edaa45a4e3bff756 to your computer and use it in GitHub Desktop.
sample indian railway pnr data
{
"response_code": 200,
"debit": 3,
"doj": "31-8-2018",
"total_passengers": 3,
"chart_prepared": true,
"from_station": {
"name": "Kopargaon",
"code": "KPG"
},
"to_station": {
"name": "Hazrat Nizamuddin",
"code": "NZM"
},
"boarding_point": {
"name": "Kopargaon",
"code": "KPG"
},
"reservation_upto": {
"name": "Hazrat Nizamuddin",
"code": "NZM"
},
"train": {
"name": "GOA EXPRESS",
"number": "12779"
},
"journey_class": {
"name": "SLEEPER CLASS",
"code": "SL"
},
"passengers": [
{
"no": 1,
"current_status": "RLWL/11",
"booking_status": "RLWL/39/GN"
},
{
"no": 2,
"current_status": "RLWL/12",
"booking_status": "RLWL/40/GN"
},
{
"no": 3,
"current_status": "RLWL/13",
"booking_status": "RLWL/41/GN"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment