Skip to content
0

katanakit-js / useGetYoutubeConfig

Function: useGetYoutubeConfig() ​

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

Defined in: src/core/services/youtube.service.ts:69

Returns a shallow copy of the YouTube config (safe to mutate locally).

Returns ​

The current { apiKey, channelId }.

apiKey ​

ts
apiKey: string;

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

channelId ​

ts
channelId: string;

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

Released under the MIT License.