Description Usage Arguments Value Examples
Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default. Implementation of last.fm's user.getTopArtists API method (http://www.last.fm/api/show/user.getTopArtists).
1 | user_getTopArtists(user, period = NA, limit = NA, page = NA)
|
user |
The user name to fetch top artists for. |
period |
overall | 7day | 1month | 3month | 6month | 12month - The time period over which to retrieve top artists for. |
limit |
The number of results to fetch per page. Defaults to 50. |
page |
The page number to fetch. Defaults to first page. |
A list of the top artists listened to by a user.
1 2 3 4 | ## Not run:
user_getTopArtists("platyjus")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.