public static CGLMatches getCGLMatches(string sessionToken) { string response = Utils.getPage(API_MATCHES_URL, "GET", sessionToken); CGLMatches matches = JsonConvert.DeserializeObject <CGLMatches>(response); return(matches); }
public void init() { Session session = Utils.getSession(); CGLMatches cglMatches = Utils.getCGLMatches(session.token); // TODO: CSGL, lol List <Match> matches = getMatchesFromCGL(cglMatches); // Utils.log("Handled " + matches.Count + " matches."); // Utils.log("Done."); }
public List <Match> getMatchesFromCGL(CGLMatches cglMatches) { return(null); }