DERHAEUPTLING / contao-immobilienscout24-import-bundle

ImmobilienScout24 Import Plugin for Contao
GNU General Public License v3.0
1 stars 2 forks source link

Only update modified objects #45

Closed Metis77 closed 1 year ago

Metis77 commented 1 year ago

the query https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/me/realestate

Gives an xml list of all real estates that also contains the modification .

This is the same as lastModificationDate from realEstate Query: https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/me/realestate/{{Scout-ID}}

At least both values are the same by second, but differ in some number that is appended. Maybe milliseconds? 2022-10-19T10:04:13.776Z vs 2022-10-19T10:04:13.765Z

this makes me think: why not reading the /realestate/{{Scout-ID}} only it that {{Scout-ID}} has a newer modification date?

m-vo commented 1 year ago

See #49