Ask Your Question
0

Best Practice for pulling media updates [closed]

asked 2022-08-24 15:49:52 -0500

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?
edit retag flag offensive 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

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-08-26 08:39:31 -0500

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.

edit flag offensive delete link more

Comments

Thank you for the response!

IHRTechServices gravatar imageIHRTechServices ( 2022-08-26 12:26:08 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-08-24 15:49:52 -0500

Seen: 26 times

Last updated: Aug 26