sS youTubeGetLiveStreamID(S videoID) { S url = "https://www.googleapis.com/youtube/v3/videos?part=liveStreamingDetails&id=" + urlencode(videoID) + "&key=" + youTubeDataAPIKey(); Map map = cast loadJSONPage(url); printStruct(map); L items = cast map.get('items); Map item = first(items); if (item == null) null; ret (S) item.get('activeLiveChatId); }