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!
 }
Beispiel #2
0
 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);
 }