def _get_channel_video(self, channel_id):
    query = {'channelId': channel_id, 'type': 'video', 'eventType': 'live', 'part': 'id', 'key': API_KEY}
    res = http.get(API_SEARCH_URL, params=query)
    videos = http.json(res, schema=_search_schema)
    for video in videos:
        video_id = video['id']['videoId']
        return video_id
def _get_channel_video(self, channel_id):
    query = {'channelId': channel_id, 'type': 'video', 'eventType': 'live', 'part': 'id', 'key': API_KEY}
    res = http.get(API_SEARCH_URL, params=query)
    videos = http.json(res, schema=_search_schema)
    for video in videos:
        video_id = video['id']['videoId']
        return video_id