/// <inheritdoc /> public Task <Show> GetShowMainInformationAsync(int showId, ShowEmbeddingFlags embeddings = ShowEmbeddingFlags.None) { if (showId <= 0) { throw new ArgumentException(nameof(showId)); } return(_httpClient.GetAsync <Show>(ShowEmbeddings.AddQueryStringToUrl($"shows/{showId}", embeddings))); }
/// <inheritdoc /> public Task <Show> ShowSingleSearchAsync(string query, ShowEmbeddingFlags embeddings = ShowEmbeddingFlags.None) { if (string.IsNullOrWhiteSpace(query)) { throw new ArgumentNullException(nameof(query)); } return(_httpClient.GetAsync <Show>(ShowEmbeddings.AddQueryStringToUrl($"singlesearch/shows?q={query}", embeddings))); }