Beispiel #1
0
    def balances(self):
        """Get a user's balance.

        Returns:
          A list of bitso.Balance instances.        
        """

        url = '%s/balance/' % self.base_url
        resp = self._request_url(url, 'GET', private=True)
        return Balances._NewFromJsonDict(resp['payload'])
Beispiel #2
0
    def balances(self):
        """Get a user's balance.

        Returns:
          A list of bitso.Balance instances.        
        """

        url = '%s/balance/' % self.base_url
        resp = self._request_url(url, 'GET', private=True)
        return Balances._NewFromJsonDict(resp['payload'])