logentries_api/special_alerts.py
def list_scheduled_queries(self):
        """
        List all scheduled_queries

        :return: A list of all scheduled query dicts
        :rtype: list of dict

        :raises: This will raise a
            :class:`ServerException<logentries_api.exceptions.ServerException>`
            if there is an error from Logentries
        """
        url = 'https://logentries.com/rest/{account_id}/api/scheduled_queries/'.format(
            account_id=self.account_id)
        return self._api_get(url=url).get('scheduled_searches')
def list_scheduled_queries(self):
        """
        List all scheduled_queries

        :return: A list of all scheduled query dicts
        :rtype: list of dict

        :raises: This will raise a
            :class:`ServerException<logentries_api.exceptions.ServerException>`
            if there is an error from Logentries
        """
        url = 'https://logentries.com/rest/{account_id}/api/scheduled_queries/'.format(
            account_id=self.account_id)
        return self._api_get(url=url).get('scheduled_searches')
List all scheduled_queries

        :return: A list of all scheduled query dicts
        :rtype: list of dict

        :raises: This will raise a
            :class:`ServerException<logentries_api.exceptions.ServerException>`
            if there is an error from Logentries