UseGetYoutubeConfig
katanakit-js / useGetYoutubeConfig
Function: useGetYoutubeConfig()
Section titled “Function: useGetYoutubeConfig()”function useGetYoutubeConfig(): { apiKey: string; channelId: string;};Defined in: core/services/youtube.service.ts:498
Returns a shallow copy of the YouTube config.
Returns
Section titled “Returns”apiKey
Section titled “apiKey”apiKey: string;YouTube Data API v3 key (server/build-time only, never public).
channelId
Section titled “channelId”channelId: string;Default channel id (UC…). Per-call params can override it.