Skip to main content
Module

x/youtubei/deno.ts>Generator.generateRuntimeClass

A wrapper around YouTube's internal API — reverse engineering InnerTube
Very Popular
Go to Latest
function Generator.generateRuntimeClass
import { Generator } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";
const { generateRuntimeClass } = Generator;

Given example data for a class, introspect, implement dependencies, and create a new class

Parameters

classname: string
  • The name of the class
classdata: unknown
  • The example of the class