public static Gw2StatsMatchEntry GetGw2StatsMatchEntry(bool objectives = false, bool ratings = false, bool ignoreCache = true) { var parser = new Gw2StatsMatchEntryParser(); ApiRequest request = new ApiRequest(Constants.gw2_matches); request.AddParameter("objectives", objectives ? "true" : "false"); request.AddParameter("ratings", ratings ? "true" : "false"); return GwApi.HandleRequest(request, parser, Network, ignoreCache); }
public static Gw2StatsMatchEntry GetGw2StatsMatchEntry(bool objectives = false, bool ratings = false, bool ignoreCache = true) { var parser = new Gw2StatsMatchEntryParser(); ApiRequest request = new ApiRequest(Constants.gw2_matches); request.AddParameter("objectives", objectives ? "true" : "false"); request.AddParameter("ratings", ratings ? "true" : "false"); return(GwApi.HandleRequest(request, parser, Network, ignoreCache)); }