Compact user record used in search results and listing endpoints. id is the URL slug when known; otherwise the numeric LinkedIn user id.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| urn | str | ||
| username | str | ||
| display_name | str | ||
| headline | str | ||
| location | str | ||
| avatar_url | str | ||
| url | str | ||
| is_verified | bool | ||
| is_premium | bool | ||
| is_top_voice | bool | ||
| is_open_to_work | bool | ||
| is_hiring | bool | ||
| follower_count | int | Present in company employee listings, null in plain search results. |
from unifapi.models.linkedin_user_preview import LinkedinUserPreview
# TODO update the JSON string below
json = "{}"
# create an instance of LinkedinUserPreview from a JSON string
linkedin_user_preview_instance = LinkedinUserPreview.from_json(json)
# print the JSON string representation of the object
print(LinkedinUserPreview.to_json())
# convert the object into a dict
linkedin_user_preview_dict = linkedin_user_preview_instance.to_dict()
# create an instance of LinkedinUserPreview from a dict
linkedin_user_preview_from_dict = LinkedinUserPreview.from_dict(linkedin_user_preview_dict)