def get_credentials(self):
        url = "{0}/{1}/accounts/{2}".format(
            self.domain,
            self.API_VERSION,
            self.account_id
        )
        try:
            response = self._Client__call(uri=url)
            assert len(response) > 0
            return response
        except RequestException:
            return False
        except AssertionError:
            return False
See more: http://developer.oanda.com/rest-live/accounts/
dataset/ETHPy150Open toloco/pyoanda/pyoanda/client.py/Client.get_credentials