# Include the Dwolla REST Client
from dwolla import DwollaClientApp, DwollaUser

# Include any required keys
import _keys

# Instantiate a new Dwolla User client
# And, Seed a previously generated access token
Dwolla = DwollaClientApp(_keys.apiKey, _keys.apiSecret)
DwollaUser = DwollaUser(_keys.token)

'''
    EXAMPLE 1: 
      Fetch account information for the
      account associated with the provided
      OAuth token
'''
me = DwollaUser.get_account_info()
print(me)


'''
    EXAMPLE 2: 
      Fetch basic account information
      for a given Dwolla ID
'''
me = Dwolla.get_account_info('812-626-8794')
print(me)


'''
    EXAMPLE 3: 
      Fetch basic account information
      for a given Email address
'''
me = Dwolla.get_account_info('michael@schonfeld.org')
print(me)

61156918ea7fc224ee516971c13c36e199e42a71
<mask token>

<mask token>
print(me)
<mask token>
print(me)
<mask token>
print(me)

<mask token>
Dwolla = DwollaClientApp(_keys.apiKey, _keys.apiSecret)
DwollaUser = DwollaUser(_keys.token)
<mask token>
me = DwollaUser.get_account_info()
print(me)
<mask token>
me = Dwolla.get_account_info('812-626-8794')
print(me)
<mask token>
me = Dwolla.get_account_info('michael@schonfeld.org')
print(me)

from dwolla import DwollaClientApp, DwollaUser
import _keys
Dwolla = DwollaClientApp(_keys.apiKey, _keys.apiSecret)
DwollaUser = DwollaUser(_keys.token)
<mask token>
me = DwollaUser.get_account_info()
print(me)
<mask token>
me = Dwolla.get_account_info('812-626-8794')
print(me)
<mask token>
me = Dwolla.get_account_info('michael@schonfeld.org')
print(me)

# Include the Dwolla REST Client
from dwolla import DwollaClientApp, DwollaUser

# Include any required keys
import _keys

# Instantiate a new Dwolla User client
# And, Seed a previously generated access token
Dwolla = DwollaClientApp(_keys.apiKey, _keys.apiSecret)
DwollaUser = DwollaUser(_keys.token)

'''
    EXAMPLE 1: 
      Fetch account information for the
      account associated with the provided
      OAuth token
'''
me = DwollaUser.get_account_info()
print(me)


'''
    EXAMPLE 2: 
      Fetch basic account information
      for a given Dwolla ID
'''
me = Dwolla.get_account_info('812-626-8794')
print(me)


'''
    EXAMPLE 3: 
      Fetch basic account information
      for a given Email address
'''
me = Dwolla.get_account_info('michael@schonfeld.org')
print(me)
