Documentation
Library Exports.Language
A language.
Constructors
constructor
• new Language(youtube
, data
, full?
)
Parameters
Name | Type | Default value |
---|---|---|
youtube | YouTube | undefined |
data | any | undefined |
full | boolean | true |
Defined in
Properties
data
• data: any
The raw data of this language.
Defined in
full
• full: boolean
= true
Whether or not this is a full language object.
Defined in
hl
• hl: string
The language code that uniquely identifies the language.
Defined in
id
• id: string
The ID of this language.
Defined in
name
• name: string
The language's name.
Defined in
youtube
• youtube: YouTube
The YouTube object that created this language object.
Defined in
endpoint
▪ Static
endpoint: string
= 'i18nLanguages'
The name of the endpoint used for this entity.
Defined in
fields
▪ Static
fields: string
= 'items(kind,id,snippet(hl,name))'
The fields to request for this entity.
Defined in
part
▪ Static
part: string
= 'snippet'
The parts to request for this entity.