json_test.py 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536
  1. import json
  2. from itertools import groupby
  3. # a = [
  4. # {'username': "dev_1009048", 'password': "e60be16cbfeebdb4d4c7dd7c0a6f2f67", 'nickname': "", 'avatar': ""},
  5. # {'username': "dev_1009049", 'password': "e60be16cbfeebdb4d4c7dd7c0a6f2f67", 'nickname': "", 'avatar': ""},
  6. # {'username': "dev_1009050", 'password': "e60be16cbfeebdb4d4c7dd7c0a6f2f67", 'nickname': "", 'avatar': ""}
  7. # ]
  8. # b = json.dumps(a)
  9. # print(b)
  10. hotel_arr = [
  11. {
  12. "Id" : 1179302758386278426,
  13. "ENName" : "Holiday Inn Resort Phuket, an IHG Hotel (SHA Extra Plus)"
  14. },
  15. {
  16. "Id" : 1179302758386278460,
  17. "ENName" : "The Okura Prestige Bangkok"
  18. },
  19. {
  20. "Id" : 1179302758386278467,
  21. "ENName" : "Ibis Styles Bangkok Ratchada"
  22. },
  23. {
  24. "Id" : 1179302758386278471,
  25. "ENName" : "Como Metropolitan Bangkok"
  26. },
  27. {
  28. "Id" : 1179302765696950370,
  29. "ENName" : "InterContinental Koh Samui Resort"
  30. },
  31. {
  32. "Id" : 1179302772906958871,
  33. "ENName" : "Wyndham Sea Pearl Resort, Phuket(SHA Extra Plus)"
  34. },
  35. {
  36. "Id" : 1179302780486066207,
  37. "ENName" : "Hotel M Chiang Mai"
  38. },
  39. {
  40. "Id" : 1179302795359068183,
  41. "ENName" : "Centara Grand & Bangkok Convention Centre at CentralWorld"
  42. },
  43. {
  44. "Id" : 1179302817517576243,
  45. "ENName" : "The Grass Serviced Suites"
  46. },
  47. {
  48. "Id" : 1179302824845025295,
  49. "ENName" : "Maduzi Hotel, Bangkok"
  50. },
  51. {
  52. "Id" : 1179302824845025300,
  53. "ENName" : "Pullman Bangkok Hotel G"
  54. },
  55. {
  56. "Id" : 1179302846760263731,
  57. "ENName" : "The Berkeley Hotel Pratunam Bangkok"
  58. },
  59. {
  60. "Id" : 1179302869254316118,
  61. "ENName" : "Stay with Nimman Chiang Mai"
  62. },
  63. {
  64. "Id" : 1179303117871685645,
  65. "ENName" : "Marina Gallery Resort-Kacha-Kalim Bay"
  66. },
  67. {
  68. "Id" : 1179303117871685649,
  69. "ENName" : "Wyndham Grand Nai Harn Beach Phuket"
  70. },
  71. {
  72. "Id" : 1179303163316969479,
  73. "ENName" : "Ascott Embassy Sathorn Bangkok"
  74. },
  75. {
  76. "Id" : 1179303163316969510,
  77. "ENName" : "Somerset Pattaya"
  78. },
  79. {
  80. "Id" : 1179303163316969514,
  81. "ENName" : "Sheraton Samui Resort"
  82. },
  83. {
  84. "Id" : 1179303163316969518,
  85. "ENName" : "W Koh Samui"
  86. },
  87. {
  88. "Id" : 1179303765497389121,
  89. "ENName" : "New Orient Landmark Hotel"
  90. },
  91. {
  92. "Id" : 1179303781356052503,
  93. "ENName" : "Rio Hotel"
  94. },
  95. {
  96. "Id" : 1179305771175813194,
  97. "ENName" : "The Macau Roosevelt"
  98. },
  99. {
  100. "Id" : 1179313280867409926,
  101. "ENName" : "Mitsui Garden Hotel Ginza-Gochome"
  102. },
  103. {
  104. "Id" : 1179313294817665048,
  105. "ENName" : "Four Seasons Hotel Kuala Lumpur"
  106. },
  107. {
  108. "Id" : 1179313294817665057,
  109. "ENName" : "Mitsui Garden Hotel Ueno"
  110. },
  111. {
  112. "Id" : 1179302758386278406,
  113. "ENName" : "Sindhorn Kempinski Bangkok"
  114. },
  115. {
  116. "Id" : 1179302758386278412,
  117. "ENName" : "Melia Phuket Mai Khao(SHA Extra Plus)"
  118. },
  119. {
  120. "Id" : 1179302758386278454,
  121. "ENName" : "Four Seasons Resort Chiang Mai"
  122. },
  123. {
  124. "Id" : 1179302758386278459,
  125. "ENName" : "Chatrium Grand Bangkok"
  126. },
  127. {
  128. "Id" : 1179302758386278469,
  129. "ENName" : "Ibis Styles Bangkok Sukhumvit Phra Khanong"
  130. },
  131. {
  132. "Id" : 1179302758386278483,
  133. "ENName" : "Anantara Chiang Mai Resort"
  134. },
  135. {
  136. "Id" : 1179302765696950292,
  137. "ENName" : "Twin Lotus Resort & Spa Koh Lanta(SHA Extra Plus)"
  138. },
  139. {
  140. "Id" : 1179302765696950360,
  141. "ENName" : "Novotel Phuket Kata Avista Resort and Spa"
  142. },
  143. {
  144. "Id" : 1179302772906958854,
  145. "ENName" : "Grand Mercure Phuket Patong(SHA Extra Plus)"
  146. },
  147. {
  148. "Id" : 1179302772906958874,
  149. "ENName" : "Shangri-La Hotel, Chiang Mai"
  150. },
  151. {
  152. "Id" : 1179302772906958881,
  153. "ENName" : "The Bayview Hotel Pattaya"
  154. },
  155. {
  156. "Id" : 1179302772906958896,
  157. "ENName" : "The Surin Phuket"
  158. },
  159. {
  160. "Id" : 1179302772906958903,
  161. "ENName" : "Metadee Concept Hotel (SHA Extra Plus)"
  162. },
  163. {
  164. "Id" : 1179302780486066272,
  165. "ENName" : "Rawi Warin Resort and Spa(SHA Extra Plus)"
  166. },
  167. {
  168. "Id" : 1179302795359068205,
  169. "ENName" : "SAii Koh Samui Choengmon"
  170. },
  171. {
  172. "Id" : 1179302795359068241,
  173. "ENName" : "Rarin Jinda Wellness Spa Resort"
  174. },
  175. {
  176. "Id" : 1179302810102046795,
  177. "ENName" : "Sand Sea Resort Railay Krabi"
  178. },
  179. {
  180. "Id" : 1179302824845025302,
  181. "ENName" : "VIE Hotel Bangkok, MGallery Hotel Collection"
  182. },
  183. {
  184. "Id" : 1179302832143114241,
  185. "ENName" : "Park Hyatt Bangkok"
  186. },
  187. {
  188. "Id" : 1179302832143114282,
  189. "ENName" : "Malisa Villa Suites (SHA Extra Plus)"
  190. },
  191. {
  192. "Id" : 1179302876837617667,
  193. "ENName" : "Eastin Tan Hotel Chiang Mai"
  194. },
  195. {
  196. "Id" : 1179303117871685699,
  197. "ENName" : "Sindhorn Midtown Hotel Bangkok, Vignette Collection - an IHG Hotel"
  198. },
  199. {
  200. "Id" : 1179302758386278407,
  201. "ENName" : "Shangri-La Hotel Bangkok"
  202. },
  203. {
  204. "Id" : 1179302758386278449,
  205. "ENName" : "Eastin Grand Hotel Sathorn"
  206. },
  207. {
  208. "Id" : 1179302758386278451,
  209. "ENName" : "Layana Resort & Spa(SHA Extra Plus)"
  210. },
  211. {
  212. "Id" : 1179302758386278452,
  213. "ENName" : "Banyan Tree Krabi"
  214. },
  215. {
  216. "Id" : 1179302758386278453,
  217. "ENName" : "Banyan Tree Samui (SHA Plus+)"
  218. },
  219. {
  220. "Id" : 1179302758386278457,
  221. "ENName" : "SO Bangkok"
  222. },
  223. {
  224. "Id" : 1179302758386278466,
  225. "ENName" : "The Ritz-Carlton, Koh Samui"
  226. },
  227. {
  228. "Id" : 1179302758386278472,
  229. "ENName" : "Movenpick Bdms Wellness Resort Bangkok"
  230. },
  231. {
  232. "Id" : 1179302758386278474,
  233. "ENName" : "Anantara Koh YAO Yai Resort & Villas"
  234. },
  235. {
  236. "Id" : 1179302765696950349,
  237. "ENName" : "Pimalai Resort & Spa"
  238. },
  239. {
  240. "Id" : 1179302765696950351,
  241. "ENName" : "Siam Bayshore Resort Pattaya"
  242. },
  243. {
  244. "Id" : 1179302772906958880,
  245. "ENName" : "Centara Grand Mirage Beach Resort Pattaya"
  246. },
  247. {
  248. "Id" : 1179302787939344464,
  249. "ENName" : "Mercure Bangkok Makkasan"
  250. },
  251. {
  252. "Id" : 1179302802724266023,
  253. "ENName" : "Sofitel Krabi Phokeethra Golf and Spa Resort (SHA Plus+)"
  254. },
  255. {
  256. "Id" : 1179302824845025296,
  257. "ENName" : "Ramada Plaza by Wyndham Bangkok Menam Riverside"
  258. },
  259. {
  260. "Id" : 1179302824845025306,
  261. "ENName" : "Aonang Villa Resort(SHA Extra Plus)"
  262. },
  263. {
  264. "Id" : 1179302832143114256,
  265. "ENName" : "Crowne Plaza Phuket Panwa Beach"
  266. },
  267. {
  268. "Id" : 1179302832143114289,
  269. "ENName" : "Renaissance Pattaya Resort & Spa - Sha Extra Plus"
  270. },
  271. {
  272. "Id" : 1179302839474757712,
  273. "ENName" : "Hard Rock Hotel Pattaya"
  274. },
  275. {
  276. "Id" : 1179302854100295763,
  277. "ENName" : "Vignette Collection Dinso Resort & Villas Phuket, an IHG Hotel"
  278. },
  279. {
  280. "Id" : 1179302861423550560,
  281. "ENName" : "Mercure Bangkok Sukhumvit 11"
  282. },
  283. {
  284. "Id" : 1179302943950676062,
  285. "ENName" : "Raya Heritage (SHA Extra Plus)"
  286. },
  287. {
  288. "Id" : 1179303102436646978,
  289. "ENName" : "Levana Pattaya Hotel"
  290. },
  291. {
  292. "Id" : 1179313309405454351,
  293. "ENName" : "New World Phu Quoc"
  294. },
  295. {
  296. "Id" : 1179313309405454384,
  297. "ENName" : "Hotel Naru Seoul MGallery Ambassador"
  298. },
  299. {
  300. "Id" : 1179313337494708229,
  301. "ENName" : "Amber Hotel Central"
  302. },
  303. {
  304. "Id" : 1179313337494708238,
  305. "ENName" : "HARRIS Hotel Kuta Tuban Bali"
  306. },
  307. {
  308. "Id" : 1179313337494708246,
  309. "ENName" : "Villa Samadhi by Samadhi"
  310. },
  311. {
  312. "Id" : 1179313352191549453,
  313. "ENName" : "Migliore Hotel Seoul Myeongdong"
  314. },
  315. {
  316. "Id" : 1179313380272414745,
  317. "ENName" : "Studio M Hotel"
  318. },
  319. {
  320. "Id" : 1179313380272414761,
  321. "ENName" : "Best Western Premier Gangnam Hotel"
  322. },
  323. {
  324. "Id" : 1179313380272414764,
  325. "ENName" : "The Westin Josun Seoul"
  326. },
  327. {
  328. "Id" : 1179313380272414774,
  329. "ENName" : "Mia Resort Nha Trang"
  330. },
  331. {
  332. "Id" : 1179313409217306647,
  333. "ENName" : "Shangri-La Rasa Ria, Kota Kinabalu"
  334. },
  335. {
  336. "Id" : 1179313409217306655,
  337. "ENName" : "Goodwood Park Hotel"
  338. },
  339. {
  340. "Id" : 1179313409217306660,
  341. "ENName" : "The Oberoi Beach Resort, Bali"
  342. },
  343. {
  344. "Id" : 1179313437403029526,
  345. "ENName" : "Grand Millennium Kuala Lumpur"
  346. },
  347. {
  348. "Id" : 1179313597164068881,
  349. "ENName" : "Conrad Bali"
  350. },
  351. {
  352. "Id" : 1179313597164068913,
  353. "ENName" : "Redtop Hotel & Convention Center"
  354. },
  355. {
  356. "Id" : 1179313626155098160,
  357. "ENName" : "Padma Resort Ubud Bali"
  358. },
  359. {
  360. "Id" : 1179313841255784498,
  361. "ENName" : "Hotel Villa Fontaine Grand Tokyo-Shiodome"
  362. },
  363. {
  364. "Id" : 1179313927272570939,
  365. "ENName" : "Holiday Inn Express Baruna, an IHG Hotel"
  366. },
  367. {
  368. "Id" : 1179313984705175618,
  369. "ENName" : "The Ambassador Seoul - A Pullman Hotel"
  370. },
  371. {
  372. "Id" : 1179314114292392002,
  373. "ENName" : "Mercure Kuala Lumpur Shaw Parade"
  374. },
  375. {
  376. "Id" : 1179314202012065797,
  377. "ENName" : "Amiana Resort Nha Trang"
  378. },
  379. {
  380. "Id" : 1179314230931791878,
  381. "ENName" : "Carlton City Hotel Singapore"
  382. },
  383. {
  384. "Id" : 1179314230931791879,
  385. "ENName" : "Carlton Hotel Singapore"
  386. },
  387. {
  388. "Id" : 1179314260233199628,
  389. "ENName" : "The Seacare Hotel"
  390. },
  391. {
  392. "Id" : 1179314260233199686,
  393. "ENName" : "One Farrer Hotel"
  394. },
  395. {
  396. "Id" : 1179303132962791494,
  397. "ENName" : "Seabed Grand Hotel Phuket(SHA Extra Plus)"
  398. },
  399. {
  400. "Id" : 1179303155528147014,
  401. "ENName" : "Panwaburi Beachfront Resort(SHA Extra Plus)"
  402. },
  403. {
  404. "Id" : 1179303765497389083,
  405. "ENName" : "Regal Riverside Hotel"
  406. },
  407. {
  408. "Id" : 1179303773407846474,
  409. "ENName" : "LArc Macau"
  410. },
  411. {
  412. "Id" : 1179303773407846475,
  413. "ENName" : "Mandarin Oriental Macau"
  414. },
  415. {
  416. "Id" : 1179303781356052540,
  417. "ENName" : "Hong Kong Disneyland Hotel"
  418. },
  419. {
  420. "Id" : 1179313280867409925,
  421. "ENName" : "Millennium Mitsui Garden Hotel Tokyo"
  422. },
  423. {
  424. "Id" : 1179313280867409934,
  425. "ENName" : "Mitsui Garden Hotel Roppongi Tokyo Premier"
  426. },
  427. {
  428. "Id" : 1179313294817665050,
  429. "ENName" : "Capri by Fraser Bukit Bintang"
  430. },
  431. {
  432. "Id" : 1179313294817665051,
  433. "ENName" : "Pavilion Hotel Kuala Lumpur Managed by Banyan Tree"
  434. },
  435. {
  436. "Id" : 1179313309405454347,
  437. "ENName" : "Mulia Resort Nusa Dua Bali"
  438. },
  439. {
  440. "Id" : 1179313309405454375,
  441. "ENName" : "Six Senses Uluwatu"
  442. },
  443. {
  444. "Id" : 1179313309405454380,
  445. "ENName" : "Four Points by Sheraton Singapore, Riverview (SG Clean)"
  446. },
  447. {
  448. "Id" : 1179313352191549454,
  449. "ENName" : "Palazzo Versace Dubai"
  450. },
  451. {
  452. "Id" : 1179313366032752662,
  453. "ENName" : "Hotel Boss Singapore"
  454. },
  455. {
  456. "Id" : 1179313380272414768,
  457. "ENName" : "Ming Garden Hotel & Residences Kota Kinabalu"
  458. },
  459. {
  460. "Id" : 1179313395095085056,
  461. "ENName" : "Four Seasons Resort Langkawi"
  462. },
  463. {
  464. "Id" : 1179313395095085079,
  465. "ENName" : "Pullman Saigon Centre"
  466. },
  467. {
  468. "Id" : 1179313582085546026,
  469. "ENName" : "Century Park Hotel"
  470. },
  471. {
  472. "Id" : 1179313611831549970,
  473. "ENName" : "Merlynn Park Hotel"
  474. },
  475. {
  476. "Id" : 1179313611831550008,
  477. "ENName" : "The Grove Suites by GRAND ASTON"
  478. },
  479. {
  480. "Id" : 1179313611831550026,
  481. "ENName" : "Hilton Garden Inn Bali Ngurah Rai Airport"
  482. },
  483. {
  484. "Id" : 1179313827125174275,
  485. "ENName" : "Hotel Leo"
  486. },
  487. {
  488. "Id" : 1179313827125174283,
  489. "ENName" : "The Shilla Jeju"
  490. },
  491. {
  492. "Id" : 1179313984705175637,
  493. "ENName" : "Vista Walkerhill Seoul - formerly W Seoul"
  494. },
  495. {
  496. "Id" : 1179302758386278410,
  497. "ENName" : "Four Seasons Hotel Bangkok at Chao Phraya River"
  498. },
  499. {
  500. "Id" : 1179302758386278445,
  501. "ENName" : "Conrad Koh Samui"
  502. },
  503. {
  504. "Id" : 1179302765696950278,
  505. "ENName" : "Nora Buri Resort & Spa"
  506. },
  507. {
  508. "Id" : 1179302765696950288,
  509. "ENName" : "Holiday Inn Express Bangkok Sathorn, an IHG Hotel"
  510. },
  511. {
  512. "Id" : 1179302765696950327,
  513. "ENName" : "Four Seasons Resort Koh Samui"
  514. },
  515. {
  516. "Id" : 1179302765696950336,
  517. "ENName" : "Six Senses Koh Samui"
  518. },
  519. {
  520. "Id" : 1179302772906958911,
  521. "ENName" : "Akyra Manor Chiang Mai"
  522. },
  523. {
  524. "Id" : 1179302772906958945,
  525. "ENName" : "Kata Rocks Hotel Phuket"
  526. },
  527. {
  528. "Id" : 1179302780486066228,
  529. "ENName" : "Aster Hotel and Residence"
  530. },
  531. {
  532. "Id" : 1179302787939344450,
  533. "ENName" : "Avista Hideaway Phuket Patong - MGallery (SHA Extra Plus)"
  534. },
  535. {
  536. "Id" : 1179302795359068192,
  537. "ENName" : "Holiday Inn Bangkok Silom, an IHG Hotel"
  538. },
  539. {
  540. "Id" : 1179302795359068236,
  541. "ENName" : "Ibis Styles Phuket City"
  542. },
  543. {
  544. "Id" : 1179302795359068246,
  545. "ENName" : "Amora Thapae Hotel Chiang Mai"
  546. },
  547. {
  548. "Id" : 1179302802724266018,
  549. "ENName" : "LANTA CHA-DA BEACH RESORT & SPA(SHA Extra Plus)"
  550. },
  551. {
  552. "Id" : 1179302802724266020,
  553. "ENName" : "Dusit Thani Krabi Beach Resort"
  554. },
  555. {
  556. "Id" : 1179302839474757680,
  557. "ENName" : "Crowne Plaza Bangkok Lumpini Park, an IHG Hotel"
  558. },
  559. {
  560. "Id" : 1179303048925716516,
  561. "ENName" : "Lub D Koh Samui Chaweng Beach"
  562. },
  563. {
  564. "Id" : 1179303079888068619,
  565. "ENName" : "Novotel Chiangmai Nimman Journeyhub"
  566. },
  567. {
  568. "Id" : 1179303163316969487,
  569. "ENName" : "Thai Fight Hotel"
  570. },
  571. {
  572. "Id" : 1179303186016542734,
  573. "ENName" : "Chanalai Hillside Resort"
  574. },
  575. {
  576. "Id" : 1179303781356052492,
  577. "ENName" : "Metropark Hotel Macau"
  578. },
  579. {
  580. "Id" : 1179303789417504782,
  581. "ENName" : "Harbour Grand Kowloon"
  582. },
  583. {
  584. "Id" : 1179313309405454336,
  585. "ENName" : "Hotel Hankyu RESPIRE OSAKA"
  586. },
  587. {
  588. "Id" : 1179313309405454381,
  589. "ENName" : "Centara Grand Hotel Osaka"
  590. },
  591. {
  592. "Id" : 1179314274934235197,
  593. "ENName" : "Oasia Hotel Downtown, Singapore by Far East Hospitality (Staycation Approved)"
  594. },
  595. {
  596. "Id" : 1179314319020564537,
  597. "ENName" : "Lone Pine Hotel Penang (PenangFightCovid-19 Certified)"
  598. },
  599. {
  600. "Id" : 1179314376868405262,
  601. "ENName" : "Berjaya Times Square Kuala Lumpur"
  602. },
  603. {
  604. "Id" : 1179314376868405287,
  605. "ENName" : "Swissotel the Stamford"
  606. },
  607. {
  608. "Id" : 1179314420069736455,
  609. "ENName" : "Ocean Suites Jeju Hotel"
  610. },
  611. {
  612. "Id" : 1179314420069736488,
  613. "ENName" : "Monarque Hotel Danang"
  614. },
  615. {
  616. "Id" : 1179314477951131658,
  617. "ENName" : "Hoshino Resorts Risonare Tomamu Hotel Hokkaido"
  618. },
  619. {
  620. "Id" : 1179314506912800811,
  621. "ENName" : "The Majestic Hotel Kuala Lumpur, Autograph Collection"
  622. },
  623. {
  624. "Id" : 1179314594091409476,
  625. "ENName" : "Anantara Desert Islands Resort & Spa"
  626. },
  627. {
  628. "Id" : 1179314594091409490,
  629. "ENName" : "Conrad Abu Dhabi Etihad Towers"
  630. },
  631. {
  632. "Id" : 1179314944890413062,
  633. "ENName" : "OMO5 Tokyo Otsuka by Hoshino Resorts"
  634. },
  635. {
  636. "Id" : 1179315255176634390,
  637. "ENName" : "Travelodge Myeongdong City Hall"
  638. },
  639. {
  640. "Id" : 1179315255176634406,
  641. "ENName" : "Plataran Ubud Hotel & Spa - CHSE Certified"
  642. },
  643. {
  644. "Id" : 1179315342430740515,
  645. "ENName" : "Fourpoints by Sheraton Seoul Gangnam"
  646. },
  647. {
  648. "Id" : 1179316545805918229,
  649. "ENName" : "Jhl Solitaire Gading Serpong"
  650. },
  651. {
  652. "Id" : 1179316667759501313,
  653. "ENName" : "Cross Bali Breakers"
  654. },
  655. {
  656. "Id" : 1179316895132721188,
  657. "ENName" : "Liber Hotel at Universal Studio Japan"
  658. },
  659. {
  660. "Id" : 1179317060816117811,
  661. "ENName" : "Kaamala Resort Ubud"
  662. },
  663. {
  664. "Id" : 1179317283491717194,
  665. "ENName" : "Aston Kemayoran City Hotel"
  666. },
  667. {
  668. "Id" : 1179317355784740895,
  669. "ENName" : "Dears Myeongdong"
  670. },
  671. {
  672. "Id" : 1179317385891455044,
  673. "ENName" : "MAUA Nusa Penida Bali"
  674. },
  675. {
  676. "Id" : 1179317431198326794,
  677. "ENName" : "Ana Mandara Cam Ranh"
  678. },
  679. {
  680. "Id" : 1179318020930052100,
  681. "ENName" : "Sleeping Lion Suites"
  682. },
  683. {
  684. "Id" : 1179303117871685648,
  685. "ENName" : "Carlton Hotel Bangkok Sukhumvit (SHA Plus+)"
  686. },
  687. {
  688. "Id" : 1179303163316969512,
  689. "ENName" : "Renaissance Koh Samui Resort & Spa"
  690. },
  691. {
  692. "Id" : 1179303186016542720,
  693. "ENName" : "Lanna Samui"
  694. },
  695. {
  696. "Id" : 1179303239053516828,
  697. "ENName" : "Phuket Emerald Beach Resort"
  698. },
  699. {
  700. "Id" : 1179303765497389131,
  701. "ENName" : "The Royal Pacific Hotel and Towers"
  702. },
  703. {
  704. "Id" : 1179303765497389134,
  705. "ENName" : "The Kowloon Hotel"
  706. },
  707. {
  708. "Id" : 1179303773407846412,
  709. "ENName" : "Hotel Lisboa"
  710. },
  711. {
  712. "Id" : 1179303773407846466,
  713. "ENName" : "Hotel Sintra"
  714. },
  715. {
  716. "Id" : 1179303781356052537,
  717. "ENName" : "Disneys Hollywood Hotel"
  718. },
  719. {
  720. "Id" : 1179305732848263220,
  721. "ENName" : "Harbour Grand Hong Kong"
  722. },
  723. {
  724. "Id" : 1179305742071537721,
  725. "ENName" : "Hongkong Disney Explorers Lodge"
  726. },
  727. {
  728. "Id" : 1179313280867409938,
  729. "ENName" : "Cerulean Tower Tokyu Hotel Tokyo"
  730. },
  731. {
  732. "Id" : 1179313294817665065,
  733. "ENName" : "Hotel Vischio Osaka"
  734. },
  735. {
  736. "Id" : 1179313309405454373,
  737. "ENName" : "Bulgari Resort Bali"
  738. },
  739. {
  740. "Id" : 1179313352191549463,
  741. "ENName" : "Swiss-Belinn Legian"
  742. },
  743. {
  744. "Id" : 1179313366032752657,
  745. "ENName" : "The Bellevue Resort"
  746. },
  747. {
  748. "Id" : 1179313395095085105,
  749. "ENName" : "Movenpick Resort & Spa Jimbaran Bali"
  750. },
  751. {
  752. "Id" : 1179313395095085109,
  753. "ENName" : "Mithi Resort and Spa Bohol"
  754. },
  755. {
  756. "Id" : 1179313409217306630,
  757. "ENName" : "Pullman Kuala Lumpur City Centre Hotel & Residences"
  758. },
  759. {
  760. "Id" : 1179313423066898445,
  761. "ENName" : "Coast Boracay"
  762. },
  763. {
  764. "Id" : 1179313582081351694,
  765. "ENName" : "Berry Amour Romantic Villas"
  766. },
  767. {
  768. "Id" : 1179313597164068947,
  769. "ENName" : "Swiss-Belresort Watu Jimbar"
  770. },
  771. {
  772. "Id" : 1179313611831550018,
  773. "ENName" : "Holiday Inn Resort Baruna Bali, an IHG Hotel"
  774. },
  775. {
  776. "Id" : 1179313798469689375,
  777. "ENName" : "Sheraton Miyako Hotel Osaka"
  778. },
  779. {
  780. "Id" : 1179313798469689407,
  781. "ENName" : "Sotetsu Grand Fresa Tokyo-Bay Ariake"
  782. },
  783. {
  784. "Id" : 1179313813116198923,
  785. "ENName" : "Shibuya Excel Hotel Tokyu Tokyo"
  786. },
  787. {
  788. "Id" : 1179318020930052186,
  789. "ENName" : "Oasia Hotel Novena, Singapore by Far East Hospitality"
  790. },
  791. {
  792. "Id" : 1179661167287640064,
  793. "ENName" : "Silavadee Pool Spa Resort"
  794. },
  795. {
  796. "Id" : 1179662920645124096,
  797. "ENName" : "Borneo Divers Mabul Resort Semporna"
  798. },
  799. {
  800. "Id" : 1179663349131026432,
  801. "ENName" : "Sipadan Kapalai Dive Resort"
  802. },
  803. {
  804. "Id" : 1179728128717660160,
  805. "ENName" : "Alma Resort Cam Ranh"
  806. },
  807. {
  808. "Id" : 1179728218823892992,
  809. "ENName" : "Radisson Blu Resort Cam Ranh"
  810. },
  811. {
  812. "Id" : 1184342385539194880,
  813. "ENName" : "Kimpton Kitalay Samui, an IHG Hotel"
  814. },
  815. {
  816. "Id" : 1188688637324206080,
  817. "ENName" : "The Racha (SHA Plus+)"
  818. },
  819. {
  820. "Id" : 1194847744590651392,
  821. "ENName" : "Four Seasons Hotel Seoul"
  822. },
  823. {
  824. "Id" : 1179313337494708228,
  825. "ENName" : "Maison Glad Jeju"
  826. },
  827. {
  828. "Id" : 1179313337494708234,
  829. "ENName" : "InterContinental Nha Trang, an Ihg Hotel"
  830. },
  831. {
  832. "Id" : 1179313380272414744,
  833. "ENName" : "M Social Singapore"
  834. },
  835. {
  836. "Id" : 1179313380272414757,
  837. "ENName" : "InterContinental Seoul COEX"
  838. },
  839. {
  840. "Id" : 1179313395095085092,
  841. "ENName" : "Anantara Hoi An Resort"
  842. },
  843. {
  844. "Id" : 1179313409217306656,
  845. "ENName" : "Shilla Stay Jeju"
  846. },
  847. {
  848. "Id" : 1179313597164068884,
  849. "ENName" : "Hotel Indonesia Kempinski Jakarta"
  850. },
  851. {
  852. "Id" : 1179313597164068898,
  853. "ENName" : "Favehotel Tanah Abang - Cideng"
  854. },
  855. {
  856. "Id" : 1179313813116198913,
  857. "ENName" : "Palace Hotel Tokyo"
  858. },
  859. {
  860. "Id" : 1179313813116198916,
  861. "ENName" : "The Peninsula Tokyo"
  862. },
  863. {
  864. "Id" : 1179313927272570923,
  865. "ENName" : "Swiss-Belhotel Tuban"
  866. },
  867. {
  868. "Id" : 1179313956179714090,
  869. "ENName" : "Ramada Encore by Wyndham Bali Seminyak"
  870. },
  871. {
  872. "Id" : 1179313984705175610,
  873. "ENName" : "Hotel Samjung Seoul"
  874. },
  875. {
  876. "Id" : 1179313984705175612,
  877. "ENName" : "Grand Walkerhill Seoul"
  878. },
  879. {
  880. "Id" : 1179314013218054202,
  881. "ENName" : "Conrad Osaka"
  882. },
  883. {
  884. "Id" : 1179314084970012704,
  885. "ENName" : "Be Grand Resort Bohol"
  886. },
  887. {
  888. "Id" : 1179314084970012715,
  889. "ENName" : "Iconic Hotel Penang"
  890. },
  891. {
  892. "Id" : 1179314143618965538,
  893. "ENName" : "Berjaya Langkawi Resort"
  894. },
  895. {
  896. "Id" : 1179314143618965573,
  897. "ENName" : "Hotel Shangri-la Kota Kinabalu"
  898. },
  899. {
  900. "Id" : 1179314158320001027,
  901. "ENName" : "The Palace Hotel Kota Kinabalu"
  902. },
  903. {
  904. "Id" : 1179314173016842333,
  905. "ENName" : "Avangio Hotel Kota Kinabalu"
  906. },
  907. {
  908. "Id" : 1179314230927597589,
  909. "ENName" : "Holiday Inn Express Kuala Lumpur City Centre"
  910. },
  911. {
  912. "Id" : 1179314230931791877,
  913. "ENName" : "Royal Plaza on Scotts Singapore"
  914. },
  915. {
  916. "Id" : 1179314230931791881,
  917. "ENName" : "Fairmont Singapore"
  918. },
  919. {
  920. "Id" : 1179314245595078657,
  921. "ENName" : "Sofitel Singapore Sentosa Resort & Spa (Staycation Approved)"
  922. },
  923. {
  924. "Id" : 1179314260233199663,
  925. "ENName" : "Grand Copthorne Waterfront"
  926. },
  927. {
  928. "Id" : 1179314143618965534,
  929. "ENName" : "Bayview Hotel Langkawi"
  930. },
  931. {
  932. "Id" : 1179314216599855157,
  933. "ENName" : "Liberty Central Saigon Centre Hotel"
  934. },
  935. {
  936. "Id" : 1179314230931791882,
  937. "ENName" : "YWCA Fort Canning"
  938. },
  939. {
  940. "Id" : 1179314230931791884,
  941. "ENName" : "Peninsula Excelsior Hotel Singapore"
  942. },
  943. {
  944. "Id" : 1179314260233199670,
  945. "ENName" : "Crowne Plaza Changi Airport Singapore"
  946. },
  947. {
  948. "Id" : 1179314260233199675,
  949. "ENName" : "Dorsett Singapore"
  950. },
  951. {
  952. "Id" : 1179314319020564564,
  953. "ENName" : "AYANA Resort Bali"
  954. },
  955. {
  956. "Id" : 1179314376868405271,
  957. "ENName" : "Dayang Bay Resort Langkawi"
  958. },
  959. {
  960. "Id" : 1179314434301009934,
  961. "ENName" : "Gloucester Hotel Jeju"
  962. },
  963. {
  964. "Id" : 1179314463669526557,
  965. "ENName" : "Kaze No Terrace Kukuna Hotel"
  966. },
  967. {
  968. "Id" : 1179314477951131664,
  969. "ENName" : "Radisson Blu Bali Uluwatu"
  970. },
  971. {
  972. "Id" : 1179314477951131669,
  973. "ENName" : "Siloso Beach Resort, Sentosa"
  974. },
  975. {
  976. "Id" : 1179314536205819960,
  977. "ENName" : "Aston Canggu Beach Resort"
  978. },
  979. {
  980. "Id" : 1179314579830775816,
  981. "ENName" : "Hotel Mi Singapore"
  982. },
  983. {
  984. "Id" : 1179314594091409462,
  985. "ENName" : "Jannah Burj Al Sarab"
  986. },
  987. {
  988. "Id" : 1179314828343287822,
  989. "ENName" : "Anantara the Palm Dubai Resort"
  990. },
  991. {
  992. "Id" : 1179314944890413093,
  993. "ENName" : "Co-op City Hotel Seongsan"
  994. },
  995. {
  996. "Id" : 1179315561402769427,
  997. "ENName" : "Hotel Monterey Lefrere Osaka"
  998. },
  999. {
  1000. "Id" : 1179316054241878055,
  1001. "ENName" : "Ibis Styles Kota Kinabalu Inanam Hotel"
  1002. },
  1003. {
  1004. "Id" : 1179316316713033783,
  1005. "ENName" : "Wyndham Casablanca Jakarta"
  1006. },
  1007. {
  1008. "Id" : 1179316895132721213,
  1009. "ENName" : "Aksari Resort Ubud by Ini Vie Hospitality - CHSE Certified"
  1010. },
  1011. {
  1012. "Id" : 1179316910181883945,
  1013. "ENName" : "The Clan Hotel Singapore by Far East Hospitality"
  1014. },
  1015. {
  1016. "Id" : 1179317199190401081,
  1017. "ENName" : "OZO George Town Penang"
  1018. },
  1019. {
  1020. "Id" : 1179317370733240389,
  1021. "ENName" : "Oriental Hotel Universal City"
  1022. },
  1023. {
  1024. "Id" : 1179317416123998209,
  1025. "ENName" : "Paramount Hotel Midtown"
  1026. },
  1027. {
  1028. "Id" : 1179317522629959754,
  1029. "ENName" : "Aloft Langkawi Pantai Tengah"
  1030. },
  1031. {
  1032. "Id" : 1179317597691224064,
  1033. "ENName" : "SKY Water Villas"
  1034. },
  1035. {
  1036. "Id" : 1179317703354130492,
  1037. "ENName" : "Owen House by Hmlet"
  1038. },
  1039. {
  1040. "Id" : 1179317960041341000,
  1041. "ENName" : "POM POM Island Resort"
  1042. },
  1043. {
  1044. "Id" : 1179318005763448868,
  1045. "ENName" : "INNSiDE by Melia Kuala Lumpur Cheras"
  1046. },
  1047. {
  1048. "Id" : 1179318005763448913,
  1049. "ENName" : "New World Hoiana Beach Resort"
  1050. },
  1051. {
  1052. "Id" : 1179318020930052102,
  1053. "ENName" : "Bohol Dolphin Bay Resort"
  1054. },
  1055. {
  1056. "Id" : 1179318020930052106,
  1057. "ENName" : "Hotel Groove Shinjuku, A Parkroyal Hotel"
  1058. },
  1059. {
  1060. "Id" : 1179318157995712540,
  1061. "ENName" : "Four Points by Sheraton Bali, Kuta"
  1062. },
  1063. {
  1064. "Id" : 1179319720059379761,
  1065. "ENName" : "The Face Style"
  1066. },
  1067. {
  1068. "Id" : 1179658140988252160,
  1069. "ENName" : "Cape Dara Resort"
  1070. },
  1071. {
  1072. "Id" : 1179715670460375040,
  1073. "ENName" : "Japamala Resorts - by Samadhi - Adults Only"
  1074. },
  1075. {
  1076. "Id" : 1179721964105801728,
  1077. "ENName" : "Sutera @ Mantanani Island Resort & Spa"
  1078. },
  1079. {
  1080. "Id" : 1179722225750679552,
  1081. "ENName" : "Best Western Premier Sonasea Villas Phu Quoc"
  1082. },
  1083. {
  1084. "Id" : 1179723501980917760,
  1085. "ENName" : "Mandarin Nest Boracay"
  1086. },
  1087. {
  1088. "Id" : 1179727868628869120,
  1089. "ENName" : "Meruorah Komodo Labuan Bajo"
  1090. },
  1091. {
  1092. "Id" : 1179731190874152960,
  1093. "ENName" : "Avante Hotel"
  1094. },
  1095. {
  1096. "Id" : 1179732206034132992,
  1097. "ENName" : "Feliz Hotel Boracay"
  1098. },
  1099. {
  1100. "Id" : 1179733283622133760,
  1101. "ENName" : "Hoshino Resorts Tomamu the Tower"
  1102. },
  1103. {
  1104. "Id" : 1181773188003045376,
  1105. "ENName" : "Hotel Yukari no Mori Kawaguchiko"
  1106. },
  1107. {
  1108. "Id" : 1181781266450653184,
  1109. "ENName" : "ClubMed Tomamu Resort Hokkaido"
  1110. },
  1111. {
  1112. "Id" : 1185116168927617024,
  1113. "ENName" : "Pullman Phuket Karon Beach Resort"
  1114. },
  1115. {
  1116. "Id" : 1186487394266816512,
  1117. "ENName" : "Mountain Resort Koh Lipe"
  1118. },
  1119. {
  1120. "Id" : 1186487610327998464,
  1121. "ENName" : "Anda Lipe Resort"
  1122. },
  1123. {
  1124. "Id" : 1190229712954236928,
  1125. "ENName" : "Melia Vinpearl Phu Quoc"
  1126. },
  1127. {
  1128. "Id" : 1179313869772857358,
  1129. "ENName" : "Hotel Gracery Shinjuku Tokyo"
  1130. },
  1131. {
  1132. "Id" : 1179314041760292925,
  1133. "ENName" : "The Tower Plaza Hotel Dubai"
  1134. },
  1135. {
  1136. "Id" : 1179314216599855166,
  1137. "ENName" : "Liberty Central Saigon Citypoint"
  1138. },
  1139. {
  1140. "Id" : 1179314230927597613,
  1141. "ENName" : "Liberty Central Saigon Riverside Hotel"
  1142. },
  1143. {
  1144. "Id" : 1179314245595078715,
  1145. "ENName" : "JW Marriott Hotel Kuala Lumpur"
  1146. },
  1147. {
  1148. "Id" : 1179314260233199666,
  1149. "ENName" : "PARKROYAL COLLECTION Marina Bay, Singapore"
  1150. },
  1151. {
  1152. "Id" : 1179314274934235146,
  1153. "ENName" : "Swiss-Garden Hotel Bukit Bintang Kuala Lumpur"
  1154. },
  1155. {
  1156. "Id" : 1179314319020564563,
  1157. "ENName" : "RIMBA by AYANA Bali"
  1158. },
  1159. {
  1160. "Id" : 1179314347885764609,
  1161. "ENName" : "The Westin Osaka"
  1162. },
  1163. {
  1164. "Id" : 1179314362251255878,
  1165. "ENName" : "Dusit Thani Abu Dhabi"
  1166. },
  1167. {
  1168. "Id" : 1179314391208730625,
  1169. "ENName" : "Bohol Beach Club"
  1170. },
  1171. {
  1172. "Id" : 1179314434301009931,
  1173. "ENName" : "Aloft Seoul Gangnam"
  1174. },
  1175. {
  1176. "Id" : 1179314434301010008,
  1177. "ENName" : "Wyndham Danang Golden Bay"
  1178. },
  1179. {
  1180. "Id" : 1179314477951131692,
  1181. "ENName" : "Jeju Shinhwa World Marriott Resort"
  1182. },
  1183. {
  1184. "Id" : 1179314594091409505,
  1185. "ENName" : "Shangri-la Hotel, Qayrayt Al Beri, Abu Dhabi"
  1186. },
  1187. {
  1188. "Id" : 1179314608435929090,
  1189. "ENName" : "Traders Hotel, Qaryat Al Beri"
  1190. },
  1191. {
  1192. "Id" : 1179314740539727953,
  1193. "ENName" : "The Capitol Kempinski Hotel Singapore"
  1194. },
  1195. {
  1196. "Id" : 1179315255176634396,
  1197. "ENName" : "Hotel Sirius"
  1198. },
  1199. {
  1200. "Id" : 1179315445669339172,
  1201. "ENName" : "Premier Village Phu Quoc Resort Managed by AccorHotels"
  1202. },
  1203. {
  1204. "Id" : 1179315489227186224,
  1205. "ENName" : "Ibis Kuala Lumpur City Centre"
  1206. },
  1207. {
  1208. "Id" : 1179316211553443862,
  1209. "ENName" : "The Apurva Kempinski Bali"
  1210. },
  1211. {
  1212. "Id" : 1179316363278196749,
  1213. "ENName" : "citizenM Kuala Lumpur Bukit Bintang"
  1214. },
  1215. {
  1216. "Id" : 1179316864069705778,
  1217. "ENName" : "Fuji Kawaguchiko Resort Hotel"
  1218. },
  1219. {
  1220. "Id" : 1179316910181883960,
  1221. "ENName" : "W Osaka"
  1222. },
  1223. {
  1224. "Id" : 1179316940015968256,
  1225. "ENName" : "Zentis Osaka"
  1226. },
  1227. {
  1228. "Id" : 1179316955497144341,
  1229. "ENName" : "Hotel Villa Fontaine Grand Tokyo Ariake"
  1230. },
  1231. {
  1232. "Id" : 1179317385891455011,
  1233. "ENName" : "Hotel Traveltine"
  1234. },
  1235. {
  1236. "Id" : 1179317416123998240,
  1237. "ENName" : "Tribe Bali Kuta Beach"
  1238. },
  1239. {
  1240. "Id" : 1179318005763448839,
  1241. "ENName" : "Singamata Adventures and Reef Resort Semporna"
  1242. },
  1243. {
  1244. "Id" : 1179318020930052097,
  1245. "ENName" : "Pullman Singapore Orchard"
  1246. },
  1247. {
  1248. "Id" : 1179711890746548224,
  1249. "ENName" : "Pullman Singapore Hill Street (Opening October 2023)"
  1250. },
  1251. {
  1252. "Id" : 1179714423997112320,
  1253. "ENName" : "Gayana Marine Resort"
  1254. },
  1255. {
  1256. "Id" : 1179715112752160768,
  1257. "ENName" : "Dreamtel Kota Kinabalu"
  1258. },
  1259. {
  1260. "Id" : 1179716658604843008,
  1261. "ENName" : "Mabul Water Bungalows"
  1262. },
  1263. {
  1264. "Id" : 1179723312603897856,
  1265. "ENName" : "Mandarin Bay Resort and Spa"
  1266. },
  1267. {
  1268. "Id" : 1179727956122050560,
  1269. "ENName" : "Bunga Raya Island Resort & Spa"
  1270. },
  1271. {
  1272. "Id" : 1179731661642833920,
  1273. "ENName" : "The Danna Langkawi Hotel"
  1274. },
  1275. {
  1276. "Id" : 1179732414017085440,
  1277. "ENName" : "Semabu Hills Hotel Nusa Penida"
  1278. },
  1279. {
  1280. "Id" : 1185080571353669636,
  1281. "ENName" : "InterContinental Bali Sanur Resort, an IHG Hotel"
  1282. },
  1283. {
  1284. "Id" : 1186910472885018624,
  1285. "ENName" : "Le Méridien Phuket Mai Khao Beach Resort"
  1286. },
  1287. {
  1288. "Id" : 1179314274934235212,
  1289. "ENName" : "Hotel Sixty3 Kota Kinabalu"
  1290. },
  1291. {
  1292. "Id" : 1179314347885764620,
  1293. "ENName" : "Hotel Ciputra Jakarta managed by Swiss-Belhotel International"
  1294. },
  1295. {
  1296. "Id" : 1179314347885764644,
  1297. "ENName" : "Hotel Indigo Bali Seminyak Beach, an IHG Hotel"
  1298. },
  1299. {
  1300. "Id" : 1179314376868405267,
  1301. "ENName" : "The Face Suites"
  1302. },
  1303. {
  1304. "Id" : 1179314376868405292,
  1305. "ENName" : "Orchard Hotel Singapore"
  1306. },
  1307. {
  1308. "Id" : 1179314463669526558,
  1309. "ENName" : "Shuhokaku Kogetsu"
  1310. },
  1311. {
  1312. "Id" : 1179314477951131690,
  1313. "ENName" : "Somerset Jeju Shinhwa World"
  1314. },
  1315. {
  1316. "Id" : 1179314594091409500,
  1317. "ENName" : "Anantara Qasr al Sarab Desert Resort"
  1318. },
  1319. {
  1320. "Id" : 1179314871771111450,
  1321. "ENName" : "Glad Hotel Mapo"
  1322. },
  1323. {
  1324. "Id" : 1179314871771111483,
  1325. "ENName" : "Baiton Seoul Dongdaemun"
  1326. },
  1327. {
  1328. "Id" : 1179315284482236442,
  1329. "ENName" : "Pan Borneo Hotel Kota Kinabalu"
  1330. },
  1331. {
  1332. "Id" : 1179315298839339031,
  1333. "ENName" : "Ibis Ambassador Myeongdong"
  1334. },
  1335. {
  1336. "Id" : 1179315387339153484,
  1337. "ENName" : "Yarra Ocean Suites Danang"
  1338. },
  1339. {
  1340. "Id" : 1179316697979461681,
  1341. "ENName" : "Best Western Premier Sonasea Phu Quoc"
  1342. },
  1343. {
  1344. "Id" : 1179316818813165639,
  1345. "ENName" : "The Story Resort"
  1346. },
  1347. {
  1348. "Id" : 1179316848999571511,
  1349. "ENName" : "Potato Head Suites and Studios"
  1350. },
  1351. {
  1352. "Id" : 1179316864069705790,
  1353. "ENName" : "Andaz Seoul Gangnam"
  1354. },
  1355. {
  1356. "Id" : 1179316879592824899,
  1357. "ENName" : "Shinhwa Jeju Shinhwa World Hotels & Resorts"
  1358. },
  1359. {
  1360. "Id" : 1179316895132721152,
  1361. "ENName" : "Landabout Tokyo"
  1362. },
  1363. {
  1364. "Id" : 1179316940015968288,
  1365. "ENName" : "Paramount Hotel Dubai"
  1366. },
  1367. {
  1368. "Id" : 1179316955497144376,
  1369. "ENName" : "Tokyu Stay Shinjuku Eastside"
  1370. },
  1371. {
  1372. "Id" : 1179317121193123885,
  1373. "ENName" : "Lintas Platinum Hotel"
  1374. },
  1375. {
  1376. "Id" : 1179317431198326787,
  1377. "ENName" : "Hyatt Centric Kota Kinabalu"
  1378. },
  1379. {
  1380. "Id" : 1179317431198326789,
  1381. "ENName" : "Monocolo Boutique Hotel"
  1382. },
  1383. {
  1384. "Id" : 1179318005763448840,
  1385. "ENName" : "SEA STAR RESORT SEMPORNA"
  1386. },
  1387. {
  1388. "Id" : 1179318005763448915,
  1389. "ENName" : "Omo Kansai Airport by Hoshino Resorts"
  1390. },
  1391. {
  1392. "Id" : 1179360515076431872,
  1393. "ENName" : "A-One the Royal Cruise Hotel Pattaya (SHA Extra Plus)"
  1394. },
  1395. {
  1396. "Id" : 1179626276017709056,
  1397. "ENName" : "Amari Pattaya (SHA Plus+)"
  1398. },
  1399. {
  1400. "Id" : 1179681342879735808,
  1401. "ENName" : "Plataran Komodo Resort & Spa - CHSE Certified"
  1402. },
  1403. {
  1404. "Id" : 1179712878580637696,
  1405. "ENName" : "Citadines Connect City Centre Singapore"
  1406. },
  1407. {
  1408. "Id" : 1179727658133528576,
  1409. "ENName" : "Sylvia Hotel & Resort Komodo"
  1410. },
  1411. {
  1412. "Id" : 1179728746119208960,
  1413. "ENName" : "The Majestic Malacca Hotel"
  1414. },
  1415. {
  1416. "Id" : 1179732014262165504,
  1417. "ENName" : "Loboc River Resort"
  1418. },
  1419. {
  1420. "Id" : 1179732623849725952,
  1421. "ENName" : "Royale Chulan Seremban"
  1422. },
  1423. {
  1424. "Id" : 1179738039090454528,
  1425. "ENName" : "New World Hoiana Hotel Vietnam"
  1426. },
  1427. {
  1428. "Id" : 1181845224335384576,
  1429. "ENName" : "The Ritz-Carlton Bali"
  1430. },
  1431. {
  1432. "Id" : 1184441436720898048,
  1433. "ENName" : "Sri Panwa Phuket Luxury Pool Villa Hotel (SHA Plus+)"
  1434. }
  1435. ]
  1436. country_dict = {
  1437. "东京": ["日本", "Japan", "Tokyo"],
  1438. "仙本那": ["马来西亚", "Malaysia", "Semporna"],
  1439. "会安": ["越南", "Vietnam", "Hoi An"],
  1440. "兰卡威": ["马来西亚", "Malaysia", "Langkawi"],
  1441. "北海道": ["日本", "Japan", "Hokkaido"],
  1442. "吉隆坡": ["马来西亚", "Malaysia", "Kuala Lumpur"],
  1443. "大阪": ["日本", "Japan", "Osaka"],
  1444. "富国岛": ["越南", "Vietnam", "Phu Quoc Island"],
  1445. "富士河口湖": ["日本", "Japan", "Mount Fuji"],
  1446. "岘港": ["越南", "Vietnam", "Da Nang"],
  1447. "巴厘岛": ["印度尼西亚", "Indonesia", "Bali"],
  1448. "攀牙": ["泰国", "Thailand", "Phang Nga"],
  1449. "新加坡": ["新加坡", "Singapore", "Singapore"],
  1450. "普吉岛": ["泰国", "Thailand", "Phuket"],
  1451. "曼谷": ["泰国", "Thailand", "Bangkok"],
  1452. "槟城": ["马来西亚", "Malaysia", "Penang"],
  1453. "沙巴": ["马来西亚", "Malaysia", "Sabah"],
  1454. "济州岛": ["韩国", "Korea", "Jeju Island"],
  1455. "清迈": ["泰国", "Thailand", "Chiang Mai"],
  1456. "澳门": ["中国", "China", "Macau"],
  1457. "甲米": ["泰国", "Thailand", "Krabi"],
  1458. "科莫多": ["印度尼西亚", "Indonesia", "Komodo"],
  1459. "素叻": ["泰国", "Thailand", "Surat Thani"],
  1460. "胡志明市": ["越南", "Vietnam", "Ho Chi Minh City"],
  1461. "芭堤雅": ["泰国", "Thailand", "Pattaya"],
  1462. "芽庄": ["越南", "Vietnam", "Nha Trang"],
  1463. "苏梅岛": ["泰国", "Thailand", "Koh Samui"],
  1464. "薄荷岛": ["菲律宾", "Philippines", "Boracay"],
  1465. "迪拜": ["阿联酋", "UAE", "Dubai"],
  1466. "长滩岛": ["菲律宾", "Philippines", "Boracay Island"],
  1467. "阿布扎比": ["阿联酋", "UAE", "Abu Dhabi"],
  1468. "雅加达": ["印度尼西亚", "Indonesia", "Jakarta"],
  1469. "首尔": ["韩国", "Korea", "Seoul"],
  1470. "香港": ["中国", "China", "Hong Kong"],
  1471. "马六甲市": ["马来西亚", "Malaysia", "Malacca City"]
  1472. }
  1473. with open('./json/old_product_list.json', 'r') as f:
  1474. out_type = 3 # 1 输出酒店id 2 输出中文处理结果 3 输出英文处理结果
  1475. hotel_dict = dict([(p['Id'], p['ENName']) for p in hotel_arr])
  1476. in_dict = json.load(f)
  1477. tmp_arr = []
  1478. id_arr = []
  1479. for item in in_dict['contents']:
  1480. id = int(item['value'])
  1481. city = item['cities'][0]
  1482. if out_type == 1:
  1483. id_arr.append(id)
  1484. elif out_type == 2:
  1485. new_item = {
  1486. 'country': country_dict[city][0],
  1487. 'city': '富士山' if city == '富士河口湖' else city,
  1488. 'name': item['name'],
  1489. 'value': id
  1490. }
  1491. if 'picture' in item:
  1492. new_item['path'] = item['picture']
  1493. tmp_arr.append(new_item)
  1494. else:
  1495. new_item = {
  1496. 'country': country_dict[city][1],
  1497. 'city': country_dict[city][2],
  1498. 'name': hotel_dict[id],
  1499. 'value': id
  1500. }
  1501. if 'picture' in item:
  1502. new_item['path'] = item['picture']
  1503. tmp_arr.append(new_item)
  1504. if out_type == 1:
  1505. print(id_arr)
  1506. else:
  1507. tmp_arr = sorted(tmp_arr, key=lambda p: (p['country'], p['city']))
  1508. tmp_group = groupby(tmp_arr, key=lambda p: (p['country'], p['city']))
  1509. country_iter = ''
  1510. out_arr = []
  1511. for key, group in tmp_group:
  1512. lst = [({'name': p['name'], 'value': p['value'], 'path': p['path']} if 'path' in p else {'name': p['name'], 'value': p['value']}) for p in group]
  1513. if key[0] != country_iter:
  1514. country_iter = key[0]
  1515. out_arr.append({
  1516. 'countryName': country_iter,
  1517. 'cities': [
  1518. {
  1519. 'cityName': key[1],
  1520. 'productItems': lst
  1521. }
  1522. ]
  1523. })
  1524. else:
  1525. out_arr[-1]['cities'].append({
  1526. 'cityName': key[1],
  1527. 'productItems': lst
  1528. })
  1529. print(json.dumps(out_arr, ensure_ascii=False))