Repository navigation
Track (Class)
Represents a Genius Track.
Usage: .lyrics()
Returns the Lyrics of the Song.
Returns: Promise {<Lyrics>}
Example:
Genius.tracks.get('62711')
.then(song => console.log(song.lyrics()))
.catch(e => console.error(e));Usage: .title
Represents Title of a Track.
Returns: string
Usage: .titles
Represents Additional Titles of a Track.
Returns: Titles
Usage: .id
Represents ID of a Track.
Returns: string | number
Usage: .thumbnail
Represents Thumbnail(png) URL of a Track.
Returns: string
Usage: .image
Represents Image(png) URL of a Track.
Returns: string
Usage: .url
Represents Genius URL of a Track.
Returns: string
Usage: .artist
Represents Artist of a Track.
Returns: <Artist>
Usage: .album
Represents Album of a Track.
Returns: object
Usage: .releasedAt
Represents Release Date of a Track.
Returns: string
Usage: .stats
Represents Stats of a Track.
Returns: object
Usage: .featured
Whether the Track is featured or not.
Returns: boolean
Usage: .raw
Represents Raw Response from Genius.
Returns: object
Issue/Bugs
Links
Made with