First time here? Check out the FAQ!
1

Best practices for querying GAMLS?

Currently to get incremental updates from the GAMLS feed we are stepping through every class (SD_1, SA_2, etc) in every resource (Property, OpenHouse, LiveStreamTour, etc), which takes a relatively long time because every resource is split out into property type. Is there some more efficient way to make these queries? E.g. are there fields in the Property resource that would indicate whether we even need to query the other resources?

compass's avatar
compass
asked 2020-06-24 13:18:22 -0500
edit flag offensive 0 remove flag close merge delete

Comments

So you are doing it incrementally based on the update date values for the resource?

bwolven's avatar bwolven (2020-06-24 13:37:36 -0500) edit

Right, using ModificationTimestamp, theres just a lot of them to check, as compared to some MLSs which just have a single Listing, OpenHouse, Agent, etc class to query

compass's avatar compass (2020-06-24 14:39:50 -0500) edit
add a comment see more comments

1 Answer

0

There isn't really a better way to do ths.
I would maybe set different cycle times because you probably don't need to check the Tour/Open House resources as often as you would property for example.

bwolven's avatar
bwolven
answered 2020-06-24 16:15:43 -0500
edit flag offensive 0 remove flag delete link

Comments

OK, appreciate the help!

compass's avatar compass (2020-06-24 16:39:11 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer