public void ReturnAccountStats() { var mygengo = new MyGengoClient(ApiKeys.PublicKey, ApiKeys.PrivateKey, useSandbox: true); XDocument response = mygengo.GetAccountStats(); // response.Root.Element("response") is your ideal response! }
public void TestGetAccountStats() { var myGengo = new MyGengoClient(ApiKeys.PublicKey, ApiKeys.PrivateKey, useSandbox: true); XDocument response = myGengo.GetAccountStats(); Assert.AreEqual("ok", response.Root.Element("opstat").Value); }