def get_accounts(self, **params):
        endpoint = 'v1/accounts'
        return self.request(endpoint, params=params)
Get accounts for a user.
dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_08_codes/oandapy.py/EndpointsMixin.get_accounts