Real time sun and sky to reflect on runtime

Hi all,

I would like to set up my CesiumSunSky to get data from and adjust lighting and cloud coverage automatically. Has anyone done this before? I access through VErest plugin to the API data but not sure how to set it up.

Any information / tutorials / videos appreciated.