Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.54 KB

File metadata and controls

41 lines (32 loc) · 1.54 KB

LinkedinPost

Properties

Name Type Description Notes
id str
share_urn str
post_type str ugc activity
text str
url str
create_time int Unix epoch seconds
created_at str Original ISO timestamp
like_count int
comment_count int
share_count int
reactions List[LinkedinPostReactionsInner]
author LinkedinPostAuthor
content Dict[str, object] Pass-through LinkedIn post body block (images, video, document, article, celebration, poll, event). LinkedIn's structure for each is complex and evolving — kept as-is rather than reshaped.

Example

from unifapi.models.linkedin_post import LinkedinPost

# TODO update the JSON string below
json = "{}"
# create an instance of LinkedinPost from a JSON string
linkedin_post_instance = LinkedinPost.from_json(json)
# print the JSON string representation of the object
print(LinkedinPost.to_json())

# convert the object into a dict
linkedin_post_dict = linkedin_post_instance.to_dict()
# create an instance of LinkedinPost from a dict
linkedin_post_from_dict = LinkedinPost.from_dict(linkedin_post_dict)

[Back to Model list] [Back to API list] [Back to README]