/// <summary> /// Creates a new instance of the Kanji Alive client to hit the public API. /// </summary> /// <param name="apiKey"> /// API key provided by Mashape. To obtain a key, navigate to the public API site: /// https://market.mashape.com/kanjialive/learn-to-read-and-write-japanese-kanji. /// </param> public KanjiAliveClient(string apiKey) { Ensure.ApiKeyNotNullOrEmpty(apiKey); this.ApiKey = apiKey; this.BasicSearchClient = new BasicSearchClient(this.ApiKey); this.AdvancedSearchClient = new AdvancedSearchClient(this.ApiKey); this.KanjiDetailsClient = new KanjiDetailsClient(this.ApiKey); }