Beispiel #1
0
        /// <summary>
        /// Simple search for videos for a provided query.
        /// </summary>
        /// <param name="search">Query to search for</param>
        /// <returns><seealso cref="VideoResult"/></returns>
        public async Task <VideoResult> SearchVideosAsync(string search)
        {
            var s = HttpTools.UriEncode(search);

            return(await _httpHelper.GetRequestAsync <VideoResult>($"&q={s}", false).ConfigureAwait(false));
        }