Constructors

Properties

_raw: any
album?: Album
artist: Artist
client: Client
endpoint: string
featuredTitle: string
fullTitle: string
id: number
image: string
instrumental: boolean
partial: boolean = false
releasedAt?: Date
thumbnail: string
title: string
url: string

Methods

  • Fetches all information about the track and updates all the existing properties (requires key).

    Returns Promise<Song>

    Example

    const NewSong = await Song.fetch();
    
  • Fetches lyrics of the track.

    Parameters

    • removeChorus: boolean = false

    Returns Promise<string>

    Example

    const Lyrics = await Song.lyrics(true);
    
  • Parameters

    • lyrics: string

    Returns string

Generated using TypeDoc