struct

Likee::Video

Inherits JSON::Serializable::Unmapped / JSON::Serializable / Struct / Value / Object

The Video structure represents a Likee video.

The JSON payload returned by the API call is parsed and transformed to a stable interface.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

caption

Returns the video caption, also known as the video description.

Source
comment_count

Returns the video comment count.

Source
cover_url

Returns the video cover url, also known as the video thumbnail.

Source
creator_avatar

Returns the creator avatar.

Source
creator_id

Returns the creator id.

Apparently, it is referred to as uid rather than id. Must not be confused with likeeId, which refers to the creator username.

Source
creator_nickname

Returns the creator nickname.

Source
creator_username

Returns the creator username.

Source
download_url

Extracts the URL to the video without the watermark.

Source
height

Returns the video height.

Source
id

Returns the video id.

Source
like_count

Returns the video like count.

Source
music_id

Returns the video music id.

Source
music_name

Returns the video music name.

Source
play_count

Returns the video play count.

Source
share_count

Returns the video share count.

Source
share_url

Returns the video share url.

Source
title

Returns the video title.

Source
uploaded_at

Returns the video upload time.

Source
video_url

Returns the video url.

Source
width

Returns the video width.

Source