Update search api docs (#338)

This commit is contained in:
ChunkyProgrammer 2023-02-05 08:01:30 -05:00 committed by GitHub
parent dca939835c
commit 0c97b2e7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -550,9 +550,11 @@ q: String
type: "playlist", type: "playlist",
title: String, title: String,
playlistId: String, playlistId: String,
playlistThumbnail: String,
author: String, author: String,
authorId: String, authorId: String,
authorUrl: String, authorUrl: String,
authorVerified: Boolean,
videoCount: Int32, videoCount: Int32,
videos: [ videos: [
@ -584,6 +586,7 @@ q: String
height: Int32 height: Int32
} }
], ],
autoGenerated: Bool
subCount: Int32, subCount: Int32,
videoCount: Int32, videoCount: Int32,
description: String, description: String,
@ -599,9 +602,9 @@ q: String
page: Int32 page: Int32
sort_by: "relevance", "rating", "upload_date", "view_count" sort_by: "relevance", "rating", "upload_date", "view_count"
date: "hour", "today", "week", "month", "year" date: "hour", "today", "week", "month", "year"
duration: "short", "long" duration: "short", "long", "medium"
type: "video", "playlist", "channel", "all", (default: video) type: "video", "playlist", "channel", "movie", "show", "all", (default: all)
features: "hd", "subtitles", "creative_commons", "3d", "live", "purchased", "4k", "360", "location", "hdr" (comma separated: e.g. "&features=hd,subtitles,3d,live") features: "hd", "subtitles", "creative_commons", "3d", "live", "purchased", "4k", "360", "location", "hdr", "vr180" (comma separated: e.g. "&features=hd,subtitles,3d,live")
region: ISO 3166 country code (default: "US") region: ISO 3166 country code (default: "US")
``` ```