def get_calendar_items(self, take=5):
    '\n        Get next pickup date for each garbage types\n        '
    url = 'https://www.rova.nl/api/waste-calendar/upcoming'
    response = requests.get(url, params={'postalcode': self.zip_code, 'houseNumber': self.house_number, 'addition': self.house_addition, 'take': take})
    response.raise_for_status()
    rova_response = response.json()
    items = []
    types = []
    for item in rova_response:
        date = datetime.strptime(item['date'], '%Y-%m-%dT%H:%M:%SZ')
        date = date.strftime('%Y-%m-%dT%H:%M:%S')
        garbage_type = item['garbageTypeCode'].upper()
        items.append({'GarbageTypeCode': garbage_type, 'Date': date})
        types.append(garbage_type)
    return items
Get next pickup date for each garbage types
def get_calendar_items(self, take=5):
    '\n        \n        '
    url = 'https://www.rova.nl/api/waste-calendar/upcoming'
    response = requests.get(url, params={'postalcode': self.zip_code, 'houseNumber': self.house_number, 'addition': self.house_addition, 'take': take})
    response.raise_for_status()
    rova_response = response.json()
    items = []
    types = []
    for item in rova_response:
        date = datetime.strptime(item['date'], '%Y-%m-%dT%H:%M:%SZ')
        date = date.strftime('%Y-%m-%dT%H:%M:%S')
        garbage_type = item['garbageTypeCode'].upper()
        items.append({'GarbageTypeCode': garbage_type, 'Date': date})
        types.append(garbage_type)
    return items