First time here? Check out the FAQ!
0

Best Practice for pulling media updates [closed]

  • retag add tags

Hi team,

We are currently working towards optimizing our solution for ingesting and downloading the images for the listings. We use GetObject transaction with Location=1 (URLs) to retrieve property photos.

Questions:

  1. We assume that L_Last_Photo_updt value is updated when one or more photo updates happen for a listing like addition of photos, removal of photos etc. Can it be greater than the ModificationTimestamp (L_UpdateDate)? If only a photo is updated, does it implicitly update the listing modification timestamp too? 2.What is the best way to identify a single photo update? If a photo with Order=1 is being replaced by another photo, apart from L_Last_Photo_updt, which field can tell me to download only the latest photo with Order=1?
IHRTechServices's avatar
IHRTechServices
asked 2022-08-24 15:49:52 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by IHRTechServices
close date 2022-09-08 15:33:22.748154

Comments

add a comment see more comments

1 Answer

0

Generally you would use the L_Last_Photo_updt value to determine if photos have changed for a listing.
The best way to keep up-to-date is if that date changes, download the full set of URLs for that listing.
If you store the image URL returned, you could compare the URL against what you have stored and only download if it is different from the previous get.
You can also get image URLS from the Media resource if you have access to it with your account.
If not, you may be able to request access to it through the MLS.

bwolven's avatar
bwolven
answered 2022-08-26 08:39:31 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for the response!

IHRTechServices's avatar IHRTechServices (2022-08-26 12:26:08 -0500) edit
add a comment see more comments