Ejemplo n.º 1
0
	def test_getAccountBalance(self):
		myGengo = MyGengo(public_key = public_key, private_key = private_key, sandbox = SANDBOX)
		balance = myGengo.getAccountBalance()
		self.assertEqual(balance['opstat'], 'ok')
Ejemplo n.º 2
0
# -*- coding: utf-8 -*-
#!/usr/bin/python

from mygengo import MyGengo

# Get an instance of MyGengo to work with...
gengo = MyGengo(
    public_key = 'your_public_key',
    private_key = 'your_private_key'
    sandbox = False, # possibly false, depending on your dev needs
	debug = True
)

# Retrieve and print the account balance. Properties ahoy!
print gengo.getAccountBalance()
Ejemplo n.º 3
0
 def test_getAccountBalance(self):
     myGengo = MyGengo(public_key=public_key,
                       private_key=private_key,
                       sandbox=SANDBOX)
     balance = myGengo.getAccountBalance()
     self.assertEqual(balance['opstat'], 'ok')