knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
Wrapper around the last.fm APIs. Read data about artists, albums, tracks, users, etc. The following methods are available:
This package is neither complete, nor stable yet. Function names and interfaces may be subject to change, disappear, and whatnot.
Install the latest development version from GitHub:
devtools::install_github("miccio-dk/lastrfm")
Gets top 5 Radiohead albums:
library(lastrfm) albums <- artist_get_top_albums("Radiohead", n = 5) albums$name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.