def account_information(self, raw=False):
        """
        Gives the information about the account associated with the api_key.

        :param raw: Gives back the entire response instead of just the 'data'.

        :return: Full payload of the query as a dict.
        """
        params = self.base_params

        endpoint = self.base_endpoint.format('account')

        res = self._query_hunter(endpoint, params, raw=raw)
        if raw:
            return res

        res['calls']['left'] = res['calls']['available'] - res['calls']['used']

        return res
def account_information ( self , raw = False ) : params = self . base_params endpoint = self . base_endpoint . format ( 'account' ) res = self . _query_hunter ( endpoint , params , raw = raw ) if raw : return res res [ 'calls' ] [ 'left' ] = res [ 'calls' ] [ 'available' ] - res [ 'calls' ] [ 'used' ] return res
Gives the information about the account associated with the api_key.

        :param raw: Gives back the entire response instead of just the 'data'.

        :return: Full payload of the query as a dict.