Beispiel #1
0
        public static CGLMatches getCGLMatches(string sessionToken)
        {
            string     response = Utils.getPage(API_MATCHES_URL, "GET", sessionToken);
            CGLMatches matches  = JsonConvert.DeserializeObject <CGLMatches>(response);

            return(matches);
        }
Beispiel #2
0
        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.");
        }
Beispiel #3
0
 public List <Match> getMatchesFromCGL(CGLMatches cglMatches)
 {
     return(null);
 }