| Name |
Type |
Description |
Notes |
| id |
str |
YouTube video id (e.g. `oaSNBz4qMQY`). |
|
| title |
str |
|
|
| author |
str |
|
|
| channel_id |
str |
|
|
| description |
str |
|
|
| duration_seconds |
float |
|
|
| view_count |
float |
|
|
| published_time |
str |
Relative time string from source (e.g. `3 weeks ago`). |
|
| is_live |
bool |
|
|
| category |
str |
|
|
from unifapi.models.you_tube_video_preview import YouTubeVideoPreview
# TODO update the JSON string below
json = "{}"
# create an instance of YouTubeVideoPreview from a JSON string
you_tube_video_preview_instance = YouTubeVideoPreview.from_json(json)
# print the JSON string representation of the object
print(YouTubeVideoPreview.to_json())
# convert the object into a dict
you_tube_video_preview_dict = you_tube_video_preview_instance.to_dict()
# create an instance of YouTubeVideoPreview from a dict
you_tube_video_preview_from_dict = YouTubeVideoPreview.from_dict(you_tube_video_preview_dict)
[Back to Model list] [Back to API list] [Back to README]