A canonical TikTok video. Counts (like_count, etc.) are source snapshots and not guaranteed monotonic.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| title | str | Per ADR 0004 Rule 6: TikTok title is the video description. | |
| video_description | str | ||
| create_time | int | Unix epoch seconds | |
| duration | float | Seconds | |
| cover_image_url | str | ||
| share_url | str | Tracking-param-stripped canonical URL | |
| embed_link | str | ||
| width | int | ||
| height | int | ||
| like_count | int | ||
| comment_count | int | ||
| share_count | int | ||
| view_count | int | ||
| author | Author | ||
| region | str | ||
| hashtags | List[str] | ||
| music | Music | ||
| is_image_post | bool | ||
| play_url | str |
from unifapi.models.video import Video
# TODO update the JSON string below
json = "{}"
# create an instance of Video from a JSON string
video_instance = Video.from_json(json)
# print the JSON string representation of the object
print(Video.to_json())
# convert the object into a dict
video_dict = video_instance.to_dict()
# create an instance of Video from a dict
video_from_dict = Video.from_dict(video_dict)