GETTrack: A function that returns info on a track based on its...

Description Usage Arguments Value

View source: R/helper.R

Description

A function that returns info on a track based on its SpotiyID.

Usage

1
getTrack(trackID)

Arguments

trackID

Tjhe Spotify ID of the track

Value

A list that contains the track name as chr, track id as chr, popularity as numeric and possible genres as an vector. It should be noted that the genre comes from artist query and might not entirely mach the genre of the song.


topiaskarjalainen/SpotR documentation built on March 5, 2020, 3:50 p.m.