Interface SearchOptions

Name

SearchOptions

Description

Search engine options.

Param: page

Page of the search results.

Param: sorting

Sort by...

Param: date

Get videos by a certain date.

Param: duration

Duration of a video.

Param: type

Type of the content to search.

Param: features

Comma-separated features of a video.

Param: region

Region to fetch the video as.

Param: limit

How many videos to return.

interface SearchOptions {
    date?: DateValues;
    duration?: Duration;
    features?: VideoFeatures[];
    limit?: number;
    page?: number;
    region?: string;
    sorting?: VideoSorting;
    type?: ContentTypes;
}

Hierarchy (view full)

Properties

date?: DateValues
duration?: Duration
features?: VideoFeatures[]
limit?: number
page?: number
region?: string
sorting?: VideoSorting

Generated using TypeDoc