public async Task ExpectElasticStore_StoresTvIndexAsync() { var settings = new ConnectionSettings(new Uri("http://192.168.0.60:9200")) .DefaultIndex("tv"); var lowlevelClient = new ElasticClient(settings); var store = new ElasticStore(lowlevelClient); var retrieve = new ElasticRetrieve(lowlevelClient); var tvShow = new TvData { Title = "Game of Thrones", Episodes = 10, Series = 5 }; var id = await store.StoreTvWatchableAsync(tvShow); //Assert.That(id, Is.EqualTo("")); var tv = retrieve.RetrieveTvData(tvShow.Title); }
/// <summary> /// Get images for a Show /// </summary> /// <param name="theTvBbId">thetvdb id for the show.</param> /// <param name="apiKey">Users api_key</param> public Show(string theTvBbId, string apiKey) { List = Info(theTvBbId, apiKey, API.cKey); }
/// <summary> /// Get images for a Show /// </summary> /// <param name="theTvBbId">thetvdb id for the show.</param> /// <param name="apiKey">Users api_key</param> /// <param name="clientKey">Users client_key</param> public Show(string theTvBbId, string apiKey, string clientKey) { List = Info(theTvBbId, apiKey, clientKey); }
/// <summary> /// Get images for a Show /// </summary> /// <param name="theTvBbId">thetvdb id for the show.</param> public Show(string theTvBbId) { List = Info(theTvBbId, API.Key, API.cKey); }