Skip to content

UseGetYoutubeConfig

katanakit-js / useGetYoutubeConfig

function useGetYoutubeConfig(): {
apiKey: string;
channelId: string;
};

Defined in: core/services/youtube.service.ts:498

Returns a shallow copy of the YouTube config.

apiKey: string;

YouTube Data API v3 key (server/build-time only, never public).

channelId: string;

Default channel id (UC…). Per-call params can override it.

YoutubeService.useGetYoutubeConfig