Пример #1
0
    def account_status(self):
        """
        Get a user's account status.

        Returns:
          A bitso.AccountStatus instance.        
        """
        url = '%s/account_status/' % self.base_url
        resp = self._request_url(url, 'GET', private=True)
        return AccountStatus._NewFromJsonDict(resp['payload'])
Пример #2
0
    def account_status(self):
        """
        Get a user's account status.

        Returns:
          A bitso.AccountStatus instance.        
        """
        url = '%s/account_status/' % self.base_url
        resp = self._request_url(url, 'GET', private=True)
        return AccountStatus._NewFromJsonDict(resp['payload'])