getTopSongs: Get an Artists Top Songs on Spotify

Description Usage Arguments Value Examples

View source: R/spotify_InfoAPI.R

Description

Get an Artists Top Songs on Spotify

Usage

1
2
3
4
5
6
getTopSongs(
  artistId,
  output = "dataframe",
  region = "CA",
  authentication_token = getAuthenticationToken()
)

Arguments

artistId

The Spotify ID of an artist.

output

How to output data. acceptable values are "json", "dataframe", or "graph".

region

The two letter code of the market region to check. Default is "CA" for Canada.

authentication_token

Predefined argument which runs getAuthenticationToken()

Value

An object of chosen type containing info on an artists top songs.

Examples

1
getTopSongs("3WPKDlucMsXH6FC1XaclZC", output = "dataframe", region = "CA")

lukavuko/wrappify documentation built on Dec. 28, 2021, 4:07 p.m.