def search_people(self, keywords=None, connection_of=None, network_depth=None, regions=None, industries=None):
    '\n        Do a people search.\n        '
    guides = ['v->PEOPLE']
    if connection_of:
        guides.append(f'facetConnectionOf->{connection_of}')
    if network_depth:
        guides.append(f'facetNetwork->{network_depth}')
    if regions:
        guides.append(f"facetGeoRegion->{'|'.join(regions)}")
    if industries:
        guides.append(f"facetIndustry->{'|'.join(industries)}")
    params = {'guides': 'List({})'.format(','.join(guides))}
    if keywords:
        params['keywords'] = keywords
    data = self.search(params)
    results = []
    for item in data:
        search_profile = item['hitInfo']['com.linkedin.voyager.search.SearchProfile']
        profile_id = search_profile['id']
        distance = search_profile['distance']['value']
        results.append({'urn_id': profile_id, 'distance': distance, 'public_id': search_profile['miniProfile']['publicIdentifier']})
    return results
Do a people search.
def search_people(self, keywords=None, connection_of=None, network_depth=None, regions=None, industries=None):
    '\n        \n        '
    guides = ['v->PEOPLE']
    if connection_of:
        guides.append(f'facetConnectionOf->{connection_of}')
    if network_depth:
        guides.append(f'facetNetwork->{network_depth}')
    if regions:
        guides.append(f"facetGeoRegion->{'|'.join(regions)}")
    if industries:
        guides.append(f"facetIndustry->{'|'.join(industries)}")
    params = {'guides': 'List({})'.format(','.join(guides))}
    if keywords:
        params['keywords'] = keywords
    data = self.search(params)
    results = []
    for item in data:
        search_profile = item['hitInfo']['com.linkedin.voyager.search.SearchProfile']
        profile_id = search_profile['id']
        distance = search_profile['distance']['value']
        results.append({'urn_id': profile_id, 'distance': distance, 'public_id': search_profile['miniProfile']['publicIdentifier']})
    return results