labpack/events/meetup.py
def list_event_attendees(self, group_url, event_id):

        ''' a method to retrieve attendee list for event from meetup api

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

        attendee_details = self._reconstruct_attendee({})
        '''

    # https://www.meetup.com/meetup_api/docs/:urlname/events/:event_id/rsvps/#list

        title = '%s.list_event_attendees' % 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/rsvps' % (self.endpoint, group_url, str(event_id))

    # send request
        response_details = self._get_request(url)

    # construct method output
        event_attendees = {
            'json': []
        }
        for key, value in response_details.items():
            if key != 'json':
                event_attendees[key] = value
        for attendee in response_details['json']:
            event_attendees['json'].append(self._reconstruct_attendee(attendee))

        return event_attendees
 a method to retrieve attendee list for event from meetup api

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

        attendee_details = self._reconstruct_attendee({})
        
a method to retrieve attendee list for event from meetup api
a method to retrieve attendee list for event from meetup api
def list_event_attendees(self, group_url, event_id):
        title = '%s.list_event_attendees' % 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/rsvps' % (self.endpoint, group_url, str(event_id))
        response_details = self._get_request(url)
        event_attendees = {
            'json': []
        }
        for key, value in response_details.items():
            if key != 'json':
                event_attendees[key] = value
        for attendee in response_details['json']:
            event_attendees['json'].append(self._reconstruct_attendee(attendee))
        return event_attendees
def list_event_attendees ( self , group_url , event_id ) : title = '%s.list_event_attendees' % 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/rsvps' % ( self . endpoint , group_url , str ( event_id ) ) response_details = self . _get_request ( url ) event_attendees = { 'json' : [ ] } for key , value in response_details . items ( ) : if key != 'json' : event_attendees [ key ] = value for attendee in response_details [ 'json' ] : event_attendees [ 'json' ] . append ( self . _reconstruct_attendee ( attendee ) ) return event_attendees
a method to retrieve attendee list for event from meetup api
a method to retrieve attendee list for event from meetup api
''' a method to retrieve attendee list for event from meetup api

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

        attendee_details = self._reconstruct_attendee({})
        ''' # https://www.meetup.com/meetup_api/docs/:urlname/events/:event_id/rsvps/#list
 # validate inputs
 # construct request fields
 # send request
 # construct method output

dictionary with list of attendee details inside [json] key
attendee_details = self._reconstruct_attendee({})
dictionary with list of attendee details inside [ json ] key attendee_details = self . _reconstruct_attendee ( {} )
self
group_url
string with meetup urlname for host group
string with meetup urlname for host group
event_id
integer with meetup id for event
integer with meetup id for event