vlivepy.Schedule¶
-
class
vlivepy.Schedule(schedule_id: str, session: vlivepy.session.UserSession)[source]¶ Bases:
vlivepy.model.DataModelThis is the object represents a post of VLIVE.
- Parameters
schedule_id (
Union[str, int]) – Unique id of schedule to load.session (
UserSession) – Session for loading data with permission.
-
session¶ Session for loading data with permission.
- Type
Detailed author info of post.
- Return type
dict
Unique id of author.
- Return type
str
Author nickname.
- Return type
str
-
property
channel_code¶ The code of the channel that contains the schedule.
- Return type
str
-
property
channel_name¶ The name of the channel that contains the post.
- Return type
str
-
property
comment_count¶ Count of comment in video.
- Return type
int
-
property
emotion_count¶ Count of received emotion in video.
- Return type
int
-
official_video() → Union[vlivepy.model.OfficialVideoVOD, vlivepy.model.OfficialVideoLive][source]¶ Generate
OfficialVideoLiveorOfficialVideoVODobject that paired to schedule- Returns
OfficialVideoVOD, if the video is VOD.- Returns
OfficialVideoLive, if the video is Live.
-
property
official_video_type¶ Type of video.
- Returns
“LIVE” if the video is upcoming/on air live. “VOD” if the video is VOD.
- Return type
str
-
property
post_id¶ Post id that paired with the schedule.
- Return type
str
-
property
schedule_id¶ Unique id of schedule.
- Return type
str
-
property
title¶ Title of the schedule.
- Return type
str
-
property
video_seq¶ videoSeq id that paired with the schedule.
- Return type
str