videosphere
    Preparing search index...
    • Fetches a single YouTube video via videos.list.

      Parameters

      • accessToken: string

        OAuth access token with YouTube read scope.

      • videoId: string

        YouTube video id to resolve.

      • Optionalsignal: AbortSignal

        Optional abort signal.

      Returns Promise<
          | { ok: true; item: YouTubeImportVideosListItem }
          | { ok: false; details: string; statusCode?: number; notFound?: boolean },
      >

      The first matching video item, or upstream error details.