def get_profile_contact_info(self, public_id=None, urn_id=None):
    '\n        Return data for a single profile.\n\n        [public_id] - public identifier i.e. tom-quirk-1928345\n        [urn_id] - id provided by the related URN\n        '
    res = self.client.session.get(f'{self.client.API_BASE_URL}/identity/profiles/{(public_id or urn_id)}/profileContactInfo')
    data = res.json()
    contact_info = {'email_address': data.get('emailAddress'), 'websites': [], 'phone_numbers': data.get('phoneNumbers', [])}
    websites = data.get('websites', [])
    for item in websites:
        if ('com.linkedin.voyager.identity.profile.StandardWebsite' in item['type']):
            item['label'] = item['type']['com.linkedin.voyager.identity.profile.StandardWebsite']['category']
        elif ('' in item['type']):
            item['label'] = item['type']['com.linkedin.voyager.identity.profile.CustomWebsite']['label']
        del item['type']
    contact_info['websites'] = websites
    return contact_info
Return data for a single profile.

[public_id] - public identifier i.e. tom-quirk-1928345
[urn_id] - id provided by the related URN
def get_profile_contact_info(self, public_id=None, urn_id=None):
    '\n        Return data for a single profile.\n\n        [public_id] - public identifier i.e. tom-quirk-1928345\n        [urn_id] - id provided by the related URN\n        '
    res = self.client.session.get(f'{self.client.API_BASE_URL}/identity/profiles/{(public_id or urn_id)}/profileContactInfo')
    data = res.json()
    contact_info = {'email_address': data.get('emailAddress'), 'websites': [], 'phone_numbers': data.get('phoneNumbers', [])}
    websites = data.get('websites', [])
    for item in websites:
        if ('com.linkedin.voyager.identity.profile.StandardWebsite' in item['type']):
            item['label'] = item['type']['com.linkedin.voyager.identity.profile.StandardWebsite']['category']
        elif ( in item['type']):
            item['label'] = item['type']['com.linkedin.voyager.identity.profile.CustomWebsite']['label']
        del item['type']
    contact_info['websites'] = websites
    return contact_info