Skip to content

Instantly share code, notes, and snippets.

@fackux
Created October 22, 2021 23:34
Show Gist options
  • Save fackux/c75ba41b9869a624e2f0f54a8bc110db to your computer and use it in GitHub Desktop.
Save fackux/c75ba41b9869a624e2f0f54a8bc110db to your computer and use it in GitHub Desktop.
const unitsSummary = {
1: {
1: {
2: {
title: "Casas",
subtitle: "En venta 1 unidades",
unitsData: [
{
url: "/propiedades/modelo-caoba-2-habitaciones-62327046.html",
bathrooms: "2 Baños",
price: {
isoCode: "USD",
currencyId: "2",
currency: "USD",
amount: 86000,
formattedAmount: "86.000",
},
area: "120m² totales",
picture: {
multimediaTypeId: 2,
order: 1,
height: 720,
width: 1280,
resizeUrl1200x1200:
"https://preprostatic.naventcdn.com/avisos/resize/9/00/62/32/70/46/1200x1200/280796532.jpg",
url1200x1200:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/70/46/1200x1200/280796532.jpg",
url730x532:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/70/46/720x532/280796532.jpg",
url360x266:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/70/46/360x266/280796532.jpg",
url215x159:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/70/46/215x159/280796532.jpg",
url100x75:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/70/46/100x75/280796532.jpg",
url130x70: null,
title: "Casa de 2 habitaciones, Guayaquil",
},
propertyType: "Casa",
unitId: "62327046",
rooms: "2 Habitaciones",
enviroments: "",
garage: "1 Estacionamiento",
tour: null,
},
],
},
3: {
title: "Casas",
subtitle: "En venta 2 unidades",
unitsData: [
{
url: "/propiedades/modelo-bambu-3-habitaciones-62327159.html",
bathrooms: "2 Baños",
price: {
isoCode: "USD",
currencyId: "2",
currency: "USD",
amount: 97375,
formattedAmount: "97.375",
},
area: "120m² totales",
picture: {
multimediaTypeId: 2,
order: 1,
height: 1080,
width: 1920,
resizeUrl1200x1200:
"https://preprostatic.naventcdn.com/avisos/resize/9/00/62/32/71/59/1200x1200/280798170.jpg",
url1200x1200:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/71/59/1200x1200/280798170.jpg",
url730x532:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/71/59/720x532/280798170.jpg",
url360x266:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/71/59/360x266/280798170.jpg",
url215x159:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/71/59/215x159/280798170.jpg",
url100x75:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/71/59/100x75/280798170.jpg",
url130x70: null,
title: "Casa de 3 habitaciones, Guayaquil",
},
propertyType: "Casa",
unitId: "62327159",
rooms: "3 Habitaciones",
enviroments: "",
garage: "1 Estacionamiento",
tour: null,
},
{
url: "/propiedades/modelo-nogal-3-habitaciones-62327285.html",
bathrooms: "3 Baños",
price: {
isoCode: "USD",
currencyId: "2",
currency: "USD",
amount: 107000,
formattedAmount: "107.000",
},
area: "120m² totales",
picture: {
multimediaTypeId: 2,
order: 1,
height: 1080,
width: 1920,
resizeUrl1200x1200:
"https://preprostatic.naventcdn.com/avisos/resize/9/00/62/32/72/85/1200x1200/280837638.jpg",
url1200x1200:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/72/85/1200x1200/280837638.jpg",
url730x532:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/72/85/720x532/280837638.jpg",
url360x266:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/72/85/360x266/280837638.jpg",
url215x159:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/72/85/215x159/280837638.jpg",
url100x75:
"https://preprostatic.naventcdn.com/avisos/9/00/62/32/72/85/100x75/280837638.jpg",
url130x70: null,
title: "Casa de 3 habitaciones, Guayaquil",
},
propertyType: "Casa",
unitId: "62327285",
rooms: "3 Habitaciones",
enviroments: "",
garage: "1 Estacionamiento",
tour: null,
},
],
},
},
},
2: {
1: {
3: {
title: "Departamentos",
subtitle: "En venta 1 unidades",
unitsData: [
{
url: "/propiedades/departamentos-de-3-habitaciones-62333738.html",
bathrooms: "3 Baños",
price: {
isoCode: "USD",
currencyId: "2",
currency: "USD",
amount: 78000,
formattedAmount: "78.000",
},
area: "120m² totales",
picture: {
multimediaTypeId: 2,
order: 1,
height: 675,
width: 1200,
resizeUrl1200x1200:
"https://preprostatic.naventcdn.com/avisos/resize/9/00/62/33/37/38/1200x1200/280931325.jpg",
url1200x1200:
"https://preprostatic.naventcdn.com/avisos/9/00/62/33/37/38/1200x1200/280931325.jpg",
url730x532:
"https://preprostatic.naventcdn.com/avisos/9/00/62/33/37/38/720x532/280931325.jpg",
url360x266:
"https://preprostatic.naventcdn.com/avisos/9/00/62/33/37/38/360x266/280931325.jpg",
url215x159:
"https://preprostatic.naventcdn.com/avisos/9/00/62/33/37/38/215x159/280931325.jpg",
url100x75:
"https://preprostatic.naventcdn.com/avisos/9/00/62/33/37/38/100x75/280931325.jpg",
url130x70: null,
title: "Departamento de 3 habitaciones, Guayaquil",
},
propertyType: "Departamento",
unitId: "62333738",
rooms: "3 Habitaciones",
enviroments: "",
garage: "1 Estacionamiento",
tour: null,
},
],
},
},
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment