Realty in US

フリーミアム
Verified
よって Api Dojo | 更新済み 22 days ago | Business
人気

9.9 / 10

レイテンシー

1,596ms

サービスレベル

99%

Health Check

N/A

すべてのディスカッションに戻る

properties/v2/list-for-sale photos

Rapid account: Drush 81
drush81
2 years ago

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 years ago

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 years ago

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 years ago

Hello,

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

Regards.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿