Created
August 5, 2015 19:41
-
-
Save ricardokdz/18e092d2f4181eda7db7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [ | |
{ | |
"id": 2, | |
"name": null, | |
"description": null, | |
"slug": null, | |
"negotiation": "rent", | |
"details": { | |
"place_type": "house", | |
"place_subtype": "house_village", | |
"rooms": 1, | |
"suite": 2, | |
"bathrooms": 2, | |
"size": 150, | |
"parking": 1 | |
}, | |
"prices": { | |
"price": "120000.0", | |
"iptu": "10000.0", | |
"condominium": "10000.0" | |
}, | |
"address": { | |
"state": "Rio de Janeiro", | |
"city": "RJ", | |
"neighborhood": "Campo Grande", | |
"street": "Rua San Marino", | |
"zipcode": "23042-170", | |
"lat": null, | |
"long": null | |
}, | |
"photos": [ | |
"/attachments/store/fill/300/300/c200fb359707e7f45f256080e86ffbc395690db77fd4d4a66cc1139d2acf/photo.jpg", | |
"/attachments/store/fill/300/300/1f76399b3528529320ffe173707e6b7c273f29c17e426d5eb3bffb59f0ae/photo.jpg" | |
], | |
"user": { | |
"id": 2, | |
"name": "Ricardo", | |
"email": "ricardo.pedrosa@msn.com", | |
"type": "default" | |
} | |
}, | |
{ | |
"id": 1, | |
"name": null, | |
"description": null, | |
"slug": null, | |
"negotiation": "buy", | |
"details": { | |
"place_type": "apartment", | |
"place_subtype": "house_public_street", | |
"rooms": 1, | |
"suite": 2, | |
"bathrooms": 2, | |
"size": 120, | |
"parking": 4 | |
}, | |
"prices": { | |
"price": "20000.0", | |
"iptu": "2000.0", | |
"condominium": "20000.0" | |
}, | |
"address": { | |
"state": null, | |
"city": null, | |
"neighborhood": null, | |
"street": "Rua San Marino", | |
"zipcode": "23042-170", | |
"lat": null, | |
"long": null | |
}, | |
"photos": [], | |
"user": { | |
"id": 1, | |
"name": "Ricardo", | |
"email": "ricardo.pedrosa@msn.com", | |
"type": "default" | |
} | |
} | |
], | |
"facets": { | |
"negotiation": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": "rent", | |
"count": 1 | |
}, | |
{ | |
"term": "buy", | |
"count": 1 | |
} | |
] | |
}, | |
"price": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": 120000, | |
"count": 1 | |
}, | |
{ | |
"term": 20000, | |
"count": 1 | |
} | |
] | |
}, | |
"place_type": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": "house", | |
"count": 1 | |
}, | |
{ | |
"term": "apartment", | |
"count": 1 | |
} | |
] | |
}, | |
"place_subtype": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": "house_village", | |
"count": 1 | |
}, | |
{ | |
"term": "house_public_street", | |
"count": 1 | |
} | |
] | |
}, | |
"rooms": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": 1, | |
"count": 2 | |
} | |
] | |
}, | |
"suite": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": 2, | |
"count": 2 | |
} | |
] | |
}, | |
"bathrooms": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": 2, | |
"count": 2 | |
} | |
] | |
}, | |
"size": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": 150, | |
"count": 1 | |
}, | |
{ | |
"term": 120, | |
"count": 1 | |
} | |
] | |
}, | |
"parking": { | |
"_type": "terms", | |
"missing": 0, | |
"total": 2, | |
"other": 0, | |
"terms": [ | |
{ | |
"term": 4, | |
"count": 1 | |
}, | |
{ | |
"term": 1, | |
"count": 1 | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment