from typing import Any

from ..resource import Resource


class ChannelResource(Resource):
    def __init__(self, youtube_client: Any) -> None:
        super().__init__(youtube_client)

    def find_youtube_resource(self, find_params: dict[str, str]) -> dict[str, str]:
        youtube_find_request = self.youtube_client.channels().list(**find_params)
        find_response = youtube_find_request.execute()
        return find_response
