View source: R/get_pages_api.R
download_scrobbles | R Documentation |
download_scrobbles
download_scrobbles(
username = get_lastfm_credentials("username"),
api_key = get_lastfm_credentials("key"),
max_per_page = 1000,
max_pages = NULL
)
username |
Your last.fm account username |
api_key |
Your last.fm account api key |
max_per_page |
Controls the maximum number of songs on each page of the API. A lower number here will lead to a higher number total pages. Defaults to 1000. Mainly useful for testing. |
max_pages |
Controls the maximum number of pages to return from the API. By default it will fetch everything. Mainly useful for testing. |
A dataframe of songs and associated metadata
## Not run:
download_scrobbles(username = "your_username", api_key = "your_api_key")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.