Learn R Programming

Rspotify (version 0.1.2)

searchArtist: Search for a specific artist

Description

function to get basic info about a searched artist

Usage

searchArtist(artist_name, token)

Arguments

artist_name

Name of the artist

token

An OAuth token created with spotifyOAuth.

Examples

Run this code
# NOT RUN {
my_oauth <- spotifyOAuth(app_id="xxxx",client_id="yyyy",client_secret="zzzz")
save(my_oauth, file="my_oauth")
load("my_oauth")
foofighters <- searchArtist("Foo+fighters",token=my_oauth)
# }

Run the code above in your browser using DataLab