public RiotStatic(string version, Language language) { this.version = version; this.language = RiotHelper.ConvertLanguage(language); }
public RiotStatic(Language language) { this.version = RiotHelper.CurrentVersion(); this.language = RiotHelper.ConvertLanguage(language); }
/// <summary> /// Initialize your API - Region /// </summary> /// <param name="apikey"></param> /// <param name="region"></param> public RiotApi(string apikey, Regions region) { this.apikey = apikey; this.region = RiotHelper.ConvertRegion(region); }