Cron jobs to import from third-party API?

I want to import some data from a third-party API and bring it into a custom DocType.

The API is a list of real estate properties for sale (in America, know as a Multiple Listing Service “MLS”).

New properties get added/removed every day, and various changes (like the asking price) can change throughout the day.

So, I’d like to run some kind of a cronjob every couple of hours to add the new properties, and update the ones that have changed.

Is there a built-in way to do something like this in ERPNext? Or would I have to write a script using the API, and add it to the cron manually?