Realty in US

FREEMIUM
Verified
Door Api Dojo | Bijgewerkt 15 дней назад | Business
Populariteit

9.9 / 10

Latency

1,619ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

properties/v2/list-for-sale photos

Rapid account: Drush 81
drush81
2 года назад

Is there a reason that the list-sold endpoint result includes a photos array with urls, and the /list-for-sale endpoint only includes a count of the photos?

Rapid account: Apidojo
apidojo Commented 2 года назад

Hello,

According to UX/UI of the official application, the listing endpoints are mapped to listing pages. They often return a thumbnail image only in such pages. You will need to use get detailed endpoint to get all available photos. Anyway, we always try to fetch for as much as possible data from the source for you.

Regards.

Rapid account: Drush 81
drush81 Commented 2 года назад

The following request/response always includes the photos array
Request
properties/v2/list-sold

Response
{ …
“property_id”:"---------------",
“photo_count”:16,
“photos”:[…]16 items
… }

The following request/response from detail always includes the photos array
Request
properties/v2/detail - params: {property_id: ‘M9600363602’}

Response
{ …
“property_id”:“M9600363602”,
“photo_count”:16,
“photos”:[…]16 items
… }

The following request/response from the same property using list-for-sale does not include the photos array
Request
properties/v2/list-for-sale

Response
{ …
“property_id”:“M9600363602”,
“photo_count”:16
… }

Im wondering why the last example doesnt include the photos array like list-sold does

Rapid account: Apidojo
apidojo Commented 2 года назад

Hello,

Please don’t talk plain text, give some request and response samples to get help.

Regards.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen