def list_hooks(self, token=None):
        token = token or self.resource_owner_key

        if token is None:
            raise TokenError("You need to pass an auth token in to list hooks.")
        else:
            url = "/tokens/%s/webhooks" % token
            return self._existing_hook_objs(self.fetch_json(url), token)
Create config object read from the given file.
dataset/ETHPy150Open sarumont/py-trello/trello/trelloclient.py/TrelloClient.list_hooks--crossover with--dataset/ETHPy150Open yaph/logya/logya/config.py/load