static void TestExport(string token) { string url = "https://app.totango.com/api/v1/accounts/active_list/10010/current.json"; var tangoXport = new ToTangoExport(token, "mapping.csv"); tangoXport.Start(url, "test.csv"); }
private void InitializeTotango() { try { token = ConfigurationManager.AppSettings.Get("ToTangoToken"); headerFile = ConfigurationManager.AppSettings.Get("HeaderFile"); baseUrl = ConfigurationManager.AppSettings.Get("BaseConfirmUrl"); } catch (Exception) { } if (!File.Exists(headerFile)) File.WriteAllLines(headerFile, new string [] {"MemberFullName,MemberEmail,MemberPhone"}); toTango = new ToTangoExport(token, headerFile); }
static void TestExport(string token) { string url = "https://app.totango.com/api/v1/accounts/active_list/10010/current.json"; var tangoXport = new ToTangoExport(token, "mapping.csv"); tangoXport.Start(url, "test.csv"); }