Rspotify (version 0.1.2)

getUser: Get basic information about an User

Description

function to get User's basic information

Usage

getUser(user_id, token)

Arguments

user_id

user id

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")
 tiago <- getUser(user_id="t.mendesdantas",token=my_oauth)
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab