Parse a ``MeetupEvent`` from the given response data.

    Returns
    -------
    A ``pythonkc_meetups.types.MeetupEvent``.

def parse_event(data, attendees=None, photos=None):
    """
    Parse a ``MeetupEvent`` from the given response data.

    Returns
    -------
    A ``pythonkc_meetups.types.MeetupEvent``.

    """
    return MeetupEvent(
        id=data.get('id', None),
        name=data.get('name', None),
        description=data.get('description', None),
        time=parse_datetime(data.get('time', None),
                            data.get('utc_offset', None)),
        status=data.get('status', None),
        yes_rsvp_count=data.get('yes_rsvp_count', None),
        maybe_rsvp_count=data.get('maybe_rsvp_count', None),
        event_url=data.get('event_url', None),
        photo_url=data.get('photo_url', None),
        venue=parse_venue(data['venue']) if 'venue' in data else None,
        attendees=attendees,
        photos=photos
    )