Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.55 KB

File metadata and controls

49 lines (40 loc) · 1.55 KB

Video

A canonical TikTok video. Counts (like_count, etc.) are source snapshots and not guaranteed monotonic.

Properties

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

Example

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)

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