public static AccountInfo GetAccountInfo(string site, string user, string password) { var client = new BaseClient(site, user, password, "https://login.eloqua.com"); return(client.Execute <AccountInfo>(new RestRequest("id", Method.GET))); }
public Client(string site, string user, string password, string baseUrl) { BaseClient = new BaseClient(site, user, password, baseUrl); }