Calling an external API from a time triggered automation

Hello!

I would like to add my cars’ tracking to Home Assistant, I have hired a company that installs the tracker onto my car and provides me with a web platform to track them, but I would like them to be in the Home Assistant map
I was able to get the API call from the web platform by using the network tab in the dev console, which returns a JSON with the information from my cars (lat, long, speed, ignition…)
Is there a way to set up an automation so that I can trigger it by time, call the API, and use device_tracker.see to update my cars’ locations?
The problem I am having is I don’t see a way to call the web platform API from inside the automation and then call device_tracker.see with the returned data

Thanks!