def get_100_lever_stages(offset='', record_id=''): """ Get lever records up to 100 at a time. :return: dict with lever stage info {data, hasNext[, next]} """ url, querystring, headers = lhc.create_api_request(object='stages', offset=offset, record_id=record_id) return lhc.fetch_from_lever(url, querystring, headers)
def get_100_interviews(self, offset='', record_id=''): """ Get lever records up to 100 at a time. :return: dict with lever requisition info {data, hasNext[, next]} """ url, querystring, headers = lhc.create_api_request(object='interview', offset=offset, record_id=record_id) return lhc.fetch_from_lever(url, querystring, headers)