mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 12:31:17 +00:00
86 lines
2.3 KiB
Markdown
86 lines
2.3 KiB
Markdown
[youtubei.js](../../../README.md) / [YTMusic](../README.md) / Album
|
|
|
|
# Class: Album
|
|
|
|
## Constructors
|
|
|
|
### new Album()
|
|
|
|
> **new Album**(`response`): [`Album`](Album.md)
|
|
|
|
#### Parameters
|
|
|
|
• **response**: [`ApiResponse`](../../../interfaces/ApiResponse.md)
|
|
|
|
#### Returns
|
|
|
|
[`Album`](Album.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:24](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L24)
|
|
|
|
## Properties
|
|
|
|
### background?
|
|
|
|
> `optional` **background**: [`MusicThumbnail`](../../YTNodes/classes/MusicThumbnail.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:21](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L21)
|
|
|
|
***
|
|
|
|
### contents
|
|
|
|
> **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItem`](../../YTNodes/classes/MusicResponsiveListItem.md)\>
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:19](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L19)
|
|
|
|
***
|
|
|
|
### header?
|
|
|
|
> `optional` **header**: [`MusicDetailHeader`](../../YTNodes/classes/MusicDetailHeader.md) \| [`MusicResponsiveHeader`](../../YTNodes/classes/MusicResponsiveHeader.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:18](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L18)
|
|
|
|
***
|
|
|
|
### sections
|
|
|
|
> **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md)\>
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:20](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L20)
|
|
|
|
***
|
|
|
|
### url?
|
|
|
|
> `optional` **url**: `string`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:22](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L22)
|
|
|
|
## Accessors
|
|
|
|
### page
|
|
|
|
> `get` **page**(): [`IBrowseResponse`](../../APIResponseTypes/type-aliases/IBrowseResponse.md)
|
|
|
|
#### Returns
|
|
|
|
[`IBrowseResponse`](../../APIResponseTypes/type-aliases/IBrowseResponse.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/ytmusic/Album.ts:37](https://github.com/LuanRT/YouTube.js/blob/4729016fb98e7045ee4043857be7eef780c01e35/src/parser/ytmusic/Album.ts#L37)
|