get_favorites: get tracks favorited by the user

Description Usage Arguments Value See Also Examples

Description

Returns a data frame with tracks favorited by the user

Usage

1
get_favorites(user_id, client_id = client_id)

Arguments

user_id

Numeric, has to be a valid user id of Soundcloud user

client_id

Has to be a valid client ID

Value

a data frame with all tracks favorited by the user

See Also

https://developers.soundcloud.com/docs/api/reference#users

Examples

1
2
3
4
5
6
7
8
## Not run: 
# get all tracks favorited by a user
user_id <- 20753162
client_id <- "512fef5d8f512ff221f512ff"
favorites_df <- get_favorites(user_id, client_id)
favorites_df

## End(Not run)

adrauc/soundR documentation built on May 10, 2019, 5:58 a.m.