def get_event_details(self, group_url, event_id):

        ''' a method to retrieve details for an event

        :param group_url: string with meetup urlname for host group
        :param event_id: integer with meetup id for event
        :return: dictionary with list of event details inside [json] key

        event_details = self._reconstruct_event({})
        '''

    # https://www.meetup.com/meetup_api/docs/:urlname/events/:id/#get

        title = '%s.get_event_details' % self.__class__.__name__

    # validate inputs
        input_fields = {
            'group_url': group_url,
            'event_id': event_id
        }
        for key, value in input_fields.items():
            if value:
                object_title = '%s(%s=%s)' % (title, key, str(value))
                self.fields.validate(value, '.%s' % key, object_title)

    # construct request fields
        url = '%s/%s/events/%s' % (self.endpoint, group_url, str(event_id))
        params = {
            'fields': 'comment_count,event_hosts,rsvp_rules,short_link,survey_questions,rsvpable,rsvpable_after_join'
        }

    # send request
        event_details = self._get_request(url, params=params)

    # construct method output
        if event_details['json']:
            event_details['json'] = self._reconstruct_event(event_details['json'])

        return event_details
def get_event_details ( self , group_url , event_id ) : title = '%s.get_event_details' % self . __class__ . __name__ input_fields = { 'group_url' : group_url , 'event_id' : event_id } for key , value in input_fields . items ( ) : if value : object_title = '%s(%s=%s)' % ( title , key , str ( value ) ) self . fields . validate ( value , '.%s' % key , object_title ) url = '%s/%s/events/%s' % ( self . endpoint , group_url , str ( event_id ) ) params = { 'fields' : 'comment_count,event_hosts,rsvp_rules,short_link,survey_questions,rsvpable,rsvpable_after_join' } event_details = self . _get_request ( url , params = params ) if event_details [ 'json' ] : event_details [ 'json' ] = self . _reconstruct_event ( event_details [ 'json' ] ) return event_details
a method to retrieve details for an event

        :param group_url: string with meetup urlname for host group
        :param event_id: integer with meetup id for event
        :return: dictionary with list of event details inside [json] key

        event_details = self._reconstruct_event({})