Canonical LinkedIn user profile. id is the URL slug (public_identifier); urn is the LinkedIn internal opaque id required to call URN-keyed sub-resources source — gateway hides that detail behind /linkedin/users/{id}/* (see ADR 0006).
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | LinkedIn URL slug (public_identifier). Use this as the path parameter for every /linkedin/users/{id}/... endpoint. | |
| urn | str | LinkedIn internal URN (e.g. `ACoAA...`). Stable across username changes; required by certain LinkedIn-internal flows. | |
| username | str | Same value as `id`; included for cross-platform field parity. | |
| display_name | str | ||
| first_name | str | ||
| last_name | str | ||
| headline | str | ||
| avatar_url | str | ||
| cover_image_url | str | ||
| location | LinkedinLocation | ||
| is_premium | bool | ||
| is_open_to_work | bool | ||
| is_hiring | bool | ||
| is_creator | bool | ||
| is_influencer | bool | ||
| is_top_voice | bool | ||
| is_memorialized | bool | ||
| created_at | str | ||
| website_url | str | ||
| associated_hashtags | List[str] |
from unifapi.models.linkedin_user import LinkedinUser
# TODO update the JSON string below
json = "{}"
# create an instance of LinkedinUser from a JSON string
linkedin_user_instance = LinkedinUser.from_json(json)
# print the JSON string representation of the object
print(LinkedinUser.to_json())
# convert the object into a dict
linkedin_user_dict = linkedin_user_instance.to_dict()
# create an instance of LinkedinUser from a dict
linkedin_user_from_dict = LinkedinUser.from_dict(linkedin_user_dict)