Exemplo n.º 1
0
        public async Task <ApiResponse <Embed> > GetPlayerEmbedResponseAsync(int podcastId, int episodeId)
        {
            Ensure.GreaterThanZero(podcastId, nameof(podcastId));
            Ensure.GreaterThanZero(episodeId, nameof(episodeId));

            ApiResponse <Embed> apiResponse = await _restApiClient.GetApiResponseAsync <Embed>(UrlPathBuilder.GetPlayerEmbedUrl(podcastId, episodeId));

            return(apiResponse);
        }