Class SearchHandler

Hierarchy

  • SearchHandler

Methods

  • Experimental

    As of 1.1.0 Query the autocomplete API of Holodex, do not use unless absolutely necessary. This is an undocumented endpoint and may change or stop working at any time.

    Parameters

    • query: string

      What to search for

    • Optional filter: "channel" | "topic"

      Filter out to a specific type

    Returns Promise<AutocompleteResponse[]>

  • Flexible endpoint to search for videos fufilling multiple conditions. Descriptions with "any" implies an OR condition, and "all" implies a AND condition. Searching for topics and clips is not supported, because clips do not contain topic_ids

    Parameters

    Returns Promise<VideoWithChannel[]>

Generated using TypeDoc