Was easier than I thought, didn’t know that you could execute shortcodes in the text/html block.
function twitch_api_client_views_shortcode() {
$twitch = twitch_api_client();
return $twitch->getViewCount();
}
add_shortcode( 'twitch-views', 'twitch_api_client_views_shortcode' );
And then [twitch-views]
in Slider Revolution text/html
layer.