Ask Your Question
1

Best practices for querying GAMLS?

asked 2020-06-24 13:18:22 -0600

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?

edit retag flag offensive close merge delete

Comments

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

bwolven gravatar imagebwolven ( 2020-06-24 13:37:36 -0600 )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 gravatar imagecompass ( 2020-06-24 14:39:50 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-24 16:15:43 -0600

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.

edit flag offensive delete link more

Comments

OK, appreciate the help!

compass gravatar imagecompass ( 2020-06-24 16:39:11 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-06-24 13:18:22 -0600

Seen: 38 times

Last updated: Jun 24