Skip to content

Instantly share code, notes, and snippets.

@hoodoos
Created September 21, 2017 14:51
Show Gist options
  • Save hoodoos/1512fe353f0599359bfe3a050645a999 to your computer and use it in GitHub Desktop.
Save hoodoos/1512fe353f0599359bfe3a050645a999 to your computer and use it in GitHub Desktop.
{"brands":[],"basicFare":0,"brandsByAirCompaniesRT":{},"avail":true,"trips":[{"fic":"PN2XPB","flightNumber":"294","stars":10,"reservClass":"P","airCompany":"TK","planeModel":"Airbus A319","startTerminal":"","confirm":false,"planeCode":"319","endTime":"0750","plane":"319","journeyTime":"0855","avlSrc":"S","endDate":"","serviceClass":"E","seatsAvl":9,"id":0,"to":"IST","continued":true,"miles":689,"from":"ROV","flightInfo":{"delay15":{"value":12,"stars":-1},"late":{"stars":10,"value":4},"ages":{"stars":10,"value":116},"cancelled":{"stars":10,"value":1},"seatPitch":{"stars":10,"value":88.9},"delay":{"stars":4,"value":16},"seatPitchE":{"value":88.9,"stars":10},"delay30":{"value":4,"stars":-1}},"startDate":"20180208","age":116,"flightTime":"0230","startTime":"0520","eTkAvail":true,"endTerminal":"I","key":"DcKRTWDCmUpBw5VGYMKIw4/DuTgkw63CrcKhfBvDtTDDvCRCPcOSJFPDrUXDrQ=="},{"fic":"PN2XPB","flightNumber":"1305","stars":10,"stopTime":"0145","reservClass":"P","airCompany":"TK","planeModel":"Boeing 737-900 WL","startTerminal":"I","confirm":false,"planeCode":"73J","endTime":"1215","plane":"73J","journeyTime":"0855","avlSrc":"S","endDate":"","serviceClass":"E","seatsAvl":9,"id":1,"to":"AGP","continued":false,"miles":1819,"from":"IST","flightInfo":{"delay15":{"value":12,"stars":-1},"late":{"stars":10,"value":4},"ages":{"stars":10,"value":66},"cancelled":{"stars":10,"value":1},"seatsmaxPE":{"value":81,"stars":-1},"seatsminPE":{"value":76,"stars":-1},"delay":{"stars":4,"value":16},"seatsmaxPB":{"value":122,"stars":-1},"seatsminPB":{"value":84,"stars":-1},"delay30":{"value":4,"stars":-1}},"startDate":"20180208","age":66,"flightTime":"0440","startTime":"0935","eTkAvail":true,"endTerminal":"3","key":"d8OHwrPCinfDn8OCwq5Jw6fDkQV7aMO4NsOIHlzCo8Knw5LCg0fCpwfCv0YYwrPClsKt"},{"fic":"PN2XPB","flightNumber":"1306","stars":10,"reservClass":"P","startDateTime":"2018-02-18T13:10:00","airCompany":"TK","planeModel":"Boeing 737-900 WL","startTerminal":"3","confirm":true,"endDateTime":"2018-02-18T19:30:00","planeCode":"73J","endTime":"1930","plane":"73J","journeyTime":"1245","seatsAvl":9,"endDate":"20180218","serviceClass":"E","avlSrc":"S","id":17,"operatedBy":"TK","to":"IST","continued":true,"miles":1806,"from":"AGP","flightInfo":{"delay15":{"value":12,"stars":-1},"late":{"stars":10,"value":4},"ages":{"stars":10,"value":66},"cancelled":{"stars":10,"value":1},"seatsmaxPE":{"value":81,"stars":-1},"seatsminPE":{"value":76,"stars":-1},"delay":{"stars":4,"value":16},"seatsmaxPB":{"value":122,"stars":-1},"seatsminPB":{"value":84,"stars":-1},"delay30":{"value":4,"stars":-1}},"startDate":"20180218","age":66,"flightTime":"0420","startTime":"1310","eTkAvail":true,"endTerminal":"I","key":"wp7DrDE5ZGZdwpEIHsOuXnMRFcOFD27DnsOYw7gCQcO7ZEx0TMKjwrMNw6k="},{"startTerminal":"I","flightTime":"0215","id":18,"miles":695,"startTime":"0140","continued":false,"flightInfo":{"delay15":{"value":12,"stars":-1},"late":{"stars":10,"value":4},"ages":{"stars":10,"value":116},"cancelled":{"stars":10,"value":1},"seatPitch":{"stars":10,"value":88.9},"delay":{"stars":4,"value":16},"seatPitchE":{"value":88.9,"stars":10},"delay30":{"value":4,"stars":-1}},"key":"wqfDs0vDiMOMccKzwps1DTzDuMKiw73DihzCviXDqXx/esKHf2F/wq3Cs8O4wrdCIw==","serviceClass":"E","endDateTime":"2018-02-19T03:55:00","journeyTime":"1245","endTime":"0355","reservClass":"P","operatedBy":"TK","stopTime":"0610","from":"IST","seatsAvl":9,"avlSrc":"S","plane":"319","endTerminal":"","planeModel":"Airbus A319","startDateTime":"2018-02-19T01:40:00","planeCode":"319","stars":10,"fic":"PN2XPB","confirm":true,"age":116,"flightNumber":"293","eTkAvail":true,"to":"ROV","startDate":"20180219","endDate":"20180219","airCompany":"TK"}],"fares":[{"infPriceInfo":{"cnnAmount":0,"cnnTaxes":0,"adtTaxes":0,"cnnMarkup":0,"bonusDiscount":0,"amount":1296.47,"infMarkupNew":8.73096,"adtAmount":0,"adtAmountWC":0,"adtMarkup":0,"cnnBonusDiscount":0,"currency":"RUB","adtBonusDiscount":0,"discount":-16.60904,"markupNew":25.34,"cnnAmountWC":0,"adtMarkupNew":0,"isPrivate":false,"cnnMarkupNew":0,"infAmountWC":1296.47,"cnnBase":0,"adtDiscount":0,"infAmount":1275.73096,"infBase":280,"infTaxes":987,"infMarkup":8.73096,"infBonusDiscount":0,"markup":8.73096,"cnnDiscount":0,"infDiscount":0,"adtBase":0},"isThrough":true,"paymentVariants":{"passengersCount":{"cnnCount":0,"infCount":0,"adtCount":1},"allowedCardMasks":"","transactions":[{"total":18720.9,"paySystem":"payture_w1_vtb","cnnCommission":0,"cnnAmount":0,"adtCommission":299.53,"infAmount":0,"currency":"RUB","adtAmount":18421.37,"infCommission":0}],"tag":"payture_w1_vtb"},"cnnTripcoins":356.41894678,"priceInfo":{"cnnAmount":0,"cnnTaxes":0,"adtTaxes":16791,"cnnMarkup":0,"bonusDiscount":0,"amount":18720.9,"infMarkupNew":0,"adtAmount":18421.373589,"adtAmountWC":18720.9,"adtMarkup":-1064.626411,"cnnBonusDiscount":0,"currency":"RUB","adtBonusDiscount":0,"discount":-1454.34641,"markupNew":389.72,"cnnAmountWC":0,"adtMarkupNew":0,"isPrivate":false,"cnnMarkupNew":0,"infAmountWC":0,"cnnBase":0,"adtDiscount":-1064.626411,"infAmount":0,"infBase":0,"infTaxes":0,"infMarkup":0,"infBonusDiscount":0,"markup":-1064.626411,"cnnDiscount":0,"infDiscount":0,"adtBase":2695},"tripcoinsCurrency":"RUB","tripcoins":368.42747178,"trips":[{"serviceClass":"E","id":0,"fic":"PN2XPB","reservClass":"P"},{"serviceClass":"E","id":1,"fic":"PN2XPB","reservClass":"P"},{"serviceClass":"E","id":2,"fic":"PN2XPB","reservClass":"P"},{"serviceClass":"E","id":3,"fic":"PN2XPB","reservClass":"P"}],"infoMsgs":[{"message":"CHOOSE METHOD","code":"CHOOSE METHOD"},{"message":"SHOW_NOTIFICATION","code":"SHOW_NOTIFICATION"},{"message":"SHOW_SERVICE_PACKS","code":"SHOW_SERVICE_PACKS"},{"message":"INSURANCE_ICON","code":"SPEC_ALFA"},{"message":"ALFA_EXTENDED_OLD","code":"ALFA_EXTENDED_OLD"},{"message":"SHOW_RESERVATION_LOCK_TEST","code":"SHOW_RESERVATION_LOCK_TEST"},{"message":"SHOW_SEATMAP","code":"SHOW_SEATMAP"},{"message":"RETURN_PACK_NON_DIRECT","code":"RETURN_PACK_NON_DIRECT"},{"message":"INSURANCE_POPUP_RU_ALFA","code":"INSURANCE_POPUP_RU_ALFA"},{"message":"non_direct_ru","code":"non_direct_ru"},{"message":"NOTIFICATION_POPUP_RU_1","code":"NOTIFICATION_POPUP_RU_1"},{"message":"POPUP_PRIORITY_INSURANCE","code":"POPUP_PRIORITY_INSURANCE"},{"message":"POPUP_PRIORITY_CHECKIN","code":"POPUP_PRIORITY_CHECKIN"},{"message":"POPUP_PRIORITY_NOTIFICATION","code":"POPUP_PRIORITY_NOTIFICATION"},{"message":"SHOW_NOTIFICATION","code":"SHOW_NOTIFICATION"},{"message":"INSURANCE_OTT3142","code":"INSURANCE_OTT3142"},{"message":"NOTIFICATION_OTT3142","code":"NOTIFICATION_OTT3142"},{"message":"HIDE_SERVICE_PACKS","code":"HIDE_SERVICE_PACKS"},{"message":"ALFA","code":"SHOW_INSURANCE"},{"message":"ALFA_VZR","code":"SHOW_INSURANCE_VZR"},{"message":"SHOW_POPUP_VZR_TLIVE","code":"SHOW_POPUP_VZR_TLIVE"},{"message":"TLIVE20","code":"TLIVE20"},{"message":"TLIVE21","code":"TLIVE21"},{"message":"TLIVE22","code":"TLIVE22"},{"message":"BOOK_AND_PAY_V2","code":"BOOK_AND_PAY_V2"},{"message":"all segments","code":"all segments"},{"message":"rt matched","code":"rt matched"},{"message":"SHOW_CHECKIN","code":"SHOW_CHECKIN"},{"message":"CHECKIN_ALT1","code":"CHECKIN_ALT1"},{"message":"SHOW_SECOND_VAS_POPUP_ON_BUY","code":"SHOW_SECOND_VAS_POPUP_ON_BUY"},{"message":"OFFER_ONLINE_CHECKIN_ON_TLIVE","code":"OFFER_ONLINE_CHECKIN_ON_TLIVE"},{"message":"SHOW_FOOD_SELECT","code":"SHOW_FOOD_SELECT"},{"message":"CHANGE_PASSPORT_BY_CUSTOMER","code":"CHANGE_PASSPORT_BY_CUSTOMER"},{"message":"OFFER_ALL_INCLUSIVE_ON_TLIVE","code":"OFFER_ALL_INCLUSIVE_ON_TLIVE"},{"message":"OFFER_NOTIFICATION_ON_TLIVE","code":"OFFER_NOTIFICATION_ON_TLIVE"},{"message":"OFFER_INSURANCE_ON_TLIVE","code":"OFFER_INSURANCE_ON_TLIVE"},{"message":"NEW_VAS_ON_TLIVE","code":"NEW_VAS_ON_TLIVE"}],"cnnPriceInfo":{"cnnAmount":17820.947339,"cnnTaxes":16791,"adtTaxes":0,"cnnMarkup":-1040.052661,"bonusDiscount":0,"amount":18110.72,"infMarkupNew":0,"adtAmount":0,"adtAmountWC":0,"adtMarkup":0,"cnnBonusDiscount":0,"currency":"RUB","adtBonusDiscount":0,"discount":-1417.27266,"markupNew":377.22,"cnnAmountWC":18110.72,"adtMarkupNew":0,"isPrivate":false,"cnnMarkupNew":0,"infAmountWC":0,"cnnBase":2070,"adtDiscount":0,"infAmount":0,"infBase":0,"infTaxes":0,"infMarkup":0,"infBonusDiscount":0,"markup":-1040.052661,"cnnDiscount":-1040.052661,"infDiscount":0,"adtBase":0},"fareKey":"VsOpwqIudT47w4owwpEtaCtKw5HClsKrfX3Cnw3DiQ3Dv03Cl3smw43DisOWBMKACQQEworDnykbw7g2wp1Mw5bDojUZbsKGOXrCmcOzYklYS8KTwo3Cq8KSw6rDgiEgTVppc8OuEsKKbj9Uwo5mwojDp8KLwo3Dv8OYJHYSw4nCpm9Mw4HDrVoAwr0sVsOwwqrCrATConBnBhEvw47Co00hw63DssOQEMKLw5pJPhXDlTDCrsKaw612WcKVw5XCksK2wpvDsV0cwonDp8K7FDbDp19lfmonwqcZL8K5eAcWwqHDjQfDljbDgsOjwooHSj1uZUY5wqZfwpV6w58fw5wCFy7Cn30ewrPCjMK8wqU3EgbDk1kb","gdsInfo":"w5KjGOp66OGtuSlsLDuLMQ==","bonusPercent":0.02,"upsell":{"amount":0,"adtAmount":0,"cnnAmount":0,"infAmount":0},"isBasic":true,"infTripcoins":25.5146192,"isCharter":false,"adtTripcoins":368.42747178,"adtPriceInfo":{"cnnAmount":0,"cnnTaxes":0,"adtTaxes":16791,"cnnMarkup":0,"bonusDiscount":0,"amount":18720.9,"infMarkupNew":0,"adtAmount":18421.373589,"adtAmountWC":18720.9,"adtMarkup":-1064.626411,"cnnBonusDiscount":0,"currency":"RUB","adtBonusDiscount":0,"discount":-1454.34641,"markupNew":389.72,"cnnAmountWC":0,"adtMarkupNew":0,"isPrivate":false,"cnnMarkupNew":0,"infAmountWC":0,"cnnBase":0,"adtDiscount":-1064.626411,"infAmount":0,"infBase":0,"infTaxes":0,"infMarkup":0,"infBonusDiscount":0,"markup":-1064.626411,"cnnDiscount":0,"infDiscount":0,"adtBase":2695}}],"faresRT":[],"brandsByAirCompanies":{},"basicFareRT":0,"rates":{"RUBGBP":"0.012616322","USDAZN":"1.463686567","PLNTRY":"0.978413901","GBPKZT":"454.000000000","RUBTRY":"0.059026651","TRYUAH":"7.323300000","EURPLN":"4.237100000","UAHAZN":"0.056154229","KZTRUB":"0.172950536","AZNKZT":"201.002263175","EURUAH":"31.847133758","USDKZT":"338.000000000","GBPUSD":"1.336200000","PLNAZN":"0.477207656","RUBAZN":"0.024875622","TRYEUR":"0.233600000","TRYGBP":"0.207800000","UAHKZT":"13.044646269","KZTPLN":"0.010425374","AZNUSD":"0.683206379","EURGBP":"0.873900000","KZTUAH":"0.076659802","PLNKZT":"95.919818946","RUBKZT":"5.782000000","UAHUSD":"0.037700000","EURTRY":"4.280821918","TRYAZN":"0.421430348","GBPRUB":"79.262400000","KZTEUR":"0.002457002","PLNUSD":"0.283045570","KZTGBP":"0.002202643","RUBUSD":"0.016995184","EURAZN":"1.742843284","KZTTRY":"0.010200331","AZNRUB":"40.200000000","GBPPLN":"4.764200000","USDRUB":"58.840200000","TRYKZT":"98.036034447","UAHRUB":"2.257400000","GBPUAH":"35.842293907","AZNPLN":"2.095523797","EURKZT":"407.000000000","USDPLN":"3.533000000","KZTAZN":"0.004975068","TRYUSD":"0.280200000","PLNRUB":"16.501650165","UAHPLN":"0.135995318","AZNUAH":"17.808097812","USDUAH":"26.525198939","GBPEUR":"1.144295686","EURUSD":"1.179900000","GBPTRY":"4.812319538","RUBPLN":"0.060600000","AZNEUR":"0.573775054","USDEUR":"0.847529452","AZNGBP":"0.507176164","USDGBP":"0.748390959","PLNUAH":"7.353194327","RUBUAH":"0.442987508","UAHEUR":"0.031400000","AZNTRY":"2.372871351","USDTRY":"3.568879372","UAHGBP":"0.027900000","TRYRUB":"16.941500000","GBPAZN":"1.971701493","KZTUSD":"0.002958580","UAHTRY":"0.136550462","PLNEUR":"0.236010479","EURRUB":"70.062300000","PLNGBP":"0.209898829","RUBEUR":"0.014273011","TRYPLN":"1.022062338"},"ffSearchId":"b78130f2-39f4-4880-96e6-e432796c6932"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment