Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.
More...
|
enum | ChannelTypeEnum { ChannelTypeEnum.Any,
ChannelTypeEnum.Show
} |
| The channelType parameter lets you restrict a search to a particular type of channel. More...
|
|
enum | EventTypeEnum { EventTypeEnum.Completed,
EventTypeEnum.Live,
EventTypeEnum.Upcoming
} |
| The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | OrderEnum {
OrderEnum.Date,
OrderEnum.Rating,
OrderEnum.Relevance,
OrderEnum.Title,
OrderEnum.VideoCount,
OrderEnum.ViewCount
} |
| The order parameter specifies the method that will be used to order resources in the API response. More...
|
|
enum | SafeSearchEnum { SafeSearchEnum.Moderate,
SafeSearchEnum.None,
SafeSearchEnum.Strict
} |
| The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. More...
|
|
enum | VideoCaptionEnum { VideoCaptionEnum.Any,
VideoCaptionEnum.ClosedCaption,
VideoCaptionEnum.None
} |
| The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoDefinitionEnum { VideoDefinitionEnum.Any,
VideoDefinitionEnum.High,
VideoDefinitionEnum.Standard
} |
| The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoDimensionEnum { VideoDimensionEnum.Value2d,
VideoDimensionEnum.Value3d,
VideoDimensionEnum.Any
} |
| The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoDurationEnum { VideoDurationEnum.Any,
VideoDurationEnum.Long__,
VideoDurationEnum.Medium,
VideoDurationEnum.Short__
} |
| The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoEmbeddableEnum { VideoEmbeddableEnum.Any,
VideoEmbeddableEnum.True__
} |
| The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoLicenseEnum { VideoLicenseEnum.Any,
VideoLicenseEnum.CreativeCommon,
VideoLicenseEnum.Youtube
} |
| The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoSyndicatedEnum { VideoSyndicatedEnum.Any,
VideoSyndicatedEnum.True__
} |
| The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
enum | VideoTypeEnum { VideoTypeEnum.Any,
VideoTypeEnum.Episode,
VideoTypeEnum.Movie
} |
| The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
|
virtual string | Part [get] |
| The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet. More...
|
|
virtual string | ChannelId [get, set] |
| The channelId parameter indicates that the API response should only contain resources created by the channel More...
|
|
virtual System.Nullable< ChannelTypeEnum > | ChannelType [get, set] |
| The channelType parameter lets you restrict a search to a particular type of channel. More...
|
|
virtual System.Nullable< EventTypeEnum > | EventType [get, set] |
| The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< bool > | ForContentOwner [get, set] |
| Note: This parameter is intended exclusively for YouTube content partners. More...
|
|
virtual System.Nullable< bool > | ForDeveloper [get, set] |
| The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer's application or website. The API server uses the request's authorization credentials to identify the developer. Therefore, a developer can restrict results to videos uploaded through the developer's own app or website but not to videos uploaded through other apps or sites. More...
|
|
virtual System.Nullable< bool > | ForMine [get, set] |
| The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. If you set this parameter to true, then the type parameter's value must also be set to video. More...
|
|
virtual string | Location [get, set] |
| The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). More...
|
|
virtual string | LocationRadius [get, set] |
| The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area. More...
|
|
virtual System.Nullable< long > | MaxResults [get, set] |
| The maxResults parameter specifies the maximum number of items that should be returned in the result set. More...
|
|
virtual string | OnBehalfOfContentOwner [get, set] |
| Note: This parameter is intended exclusively for YouTube content partners. More...
|
|
virtual System.Nullable< OrderEnum > | Order [get, set] |
| The order parameter specifies the method that will be used to order resources in the API response. More...
|
|
virtual string | PageToken [get, set] |
| The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. More...
|
|
virtual System.Nullable< System.DateTime > | PublishedAfter [get, set] |
| The publishedAfter parameter indicates that the API response should only contain resources created after the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z). More...
|
|
virtual System.Nullable< System.DateTime > | PublishedBefore [get, set] |
| The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z). More...
|
|
virtual string | Q [get, set] |
| The q parameter specifies the query term to search for. More...
|
|
virtual string | RegionCode [get, set] |
| The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. More...
|
|
virtual string | RelatedToVideoId [get, set] |
| The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video. More...
|
|
virtual string | RelevanceLanguage [get, set] |
| The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. Please note that results in other languages will still be returned if they are highly relevant to the search query term. More...
|
|
virtual System.Nullable< SafeSearchEnum > | SafeSearch [get, set] |
| The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. More...
|
|
virtual string | TopicId [get, set] |
| The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID. More...
|
|
virtual string | Type [get, set] |
| The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types. More...
|
|
virtual System.Nullable< VideoCaptionEnum > | VideoCaption [get, set] |
| The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual string | VideoCategoryId [get, set] |
| The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoDefinitionEnum > | VideoDefinition [get, set] |
| The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoDimensionEnum > | VideoDimension [get, set] |
| The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoDurationEnum > | VideoDuration [get, set] |
| The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoEmbeddableEnum > | VideoEmbeddable [get, set] |
| The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoLicenseEnum > | VideoLicense [get, set] |
| The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoSyndicatedEnum > | VideoSyndicated [get, set] |
| The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
virtual System.Nullable< VideoTypeEnum > | VideoType [get, set] |
| The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
|
|
override string | MethodName [get] |
| Gets the method name. More...
|
|
override string | HttpMethod [get] |
| summary>Gets the REST path. More...
|
|
override string | RestPath [get] |
|
virtual System.Nullable< AltEnum > | Alt [get, set] |
| Data format for the response. More...
|
|
virtual string | Fields [get, set] |
| Selector specifying which fields to include in a partial response. More...
|
|
virtual string | Key [get, set] |
| API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
|
|
virtual string | OauthToken [get, set] |
| OAuth 2.0 token for the current user. More...
|
|
virtual System.Nullable< bool > | PrettyPrint [get, set] |
| Returns response with indentations and line breaks. More...
|
|
virtual string | QuotaUser [get, set] |
| An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
|
|
virtual string | UserIp [get, set] |
| Deprecated. Please use quotaUser instead. More...
|
|
Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.