public bool GetSession(string username, string password) { IApiMethod method = new ApiMethod("auth.getMobileSession"); var result = method.Execute(); // gah... auth methods seem to only have xml return! method.AddParameter("password", password); method.AddParameter("username", username); method.AddParameter("api_key", this.Session.ApiKey); using (MD5 md5 = MD5.Create()) { } throw new NotImplementedException(); }
public string GetToken() { IApiMethod method = new ApiMethod("auth.getToken"); method.AddParameter("api_key", this.Session.ApiKey); var response = method.Execute(); //return response.token; throw new NotImplementedException(); }