예제 #1
0
 public void ReturnAccountBalance()
 {
     var mygengo = new MyGengoClient(ApiKeys.PublicKey, ApiKeys.PrivateKey, useSandbox: true);
     XDocument response = mygengo.GetAccountBalance();
     // response.Root.Element("response") is your ideal response!
 }
예제 #2
0
 public void TestGetAccountBalance()
 {
     var myGengo = new MyGengoClient(ApiKeys.PublicKey, ApiKeys.PrivateKey, useSandbox: true);
     XDocument response = myGengo.GetAccountBalance();
     Assert.AreEqual("ok", response.Root.Element("opstat").Value);
 }