Kodi API: Start random South Park Episode from script

Can anyone provide a script that uses the Kodi South Park Add-On to start playback of a random episode from hass? When the Add-On is opened there is an option called “Random Episode”. Is it possible to trigger this option from a script?