UNPKG

yandex-music

Version:

Creative and progressive Node.js framework for applications that interact with yandex music

19 lines 700 B
import { YandexMusicClient } from "../client"; import { Union, List, AlbumInterface, AlbumWithTracks } from "../interfaces"; export declare class Albums { private readonly client; constructor(client: YandexMusicClient); /** * Getting an album by its unique ID along with tracks. * @param {Union} id The unique ID of the album. * @returns Album */ with(id: Union): Promise<AlbumWithTracks>; /** * Getting the album/albums. * @param {List} ids The unique identifier of the album or albums. * @returns Album or Albums. */ get(ids: List): Promise<Array<AlbumInterface>>; } //# sourceMappingURL=index.d.ts.map