def get_category_id(youtube_, category):
    """
    Returns the ID of a given category.

    Args:
        youtube_: YouTube API client instance
        category (str): category to get the ID for.

    Returns:
         str
    """
    categories = youtube_.videoCategories().list(part="snippet", regionCode="US").execute()["items"]
    return next((c["id"] for c in categories if c["snippet"]["title"] == category))