Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 883 Bytes

File metadata and controls

36 lines (30 loc) · 883 Bytes

Unifapi::YouTubeVideoPreview

Properties

Name Type Description Notes
id String YouTube video id (e.g. `oaSNBz4qMQY`).
title String
author String
channel_id String
description String
duration_seconds Float
view_count Float
published_time String Relative time string from source (e.g. `3 weeks ago`).
is_live Boolean
category String

Example

require 'unifapi'

instance = Unifapi::YouTubeVideoPreview.new(
  id: null,
  title: null,
  author: null,
  channel_id: null,
  description: null,
  duration_seconds: null,
  view_count: null,
  published_time: null,
  is_live: null,
  category: null
)