I hope you can help me. I have been trying to get this working for quite some time.
I am taking the API from a website import it into google spreadsheets VIA importj
You can just add the time trigger https://developers.google.com/apps-script/understanding_triggers