lastrfm-artist: last.fm Artist API methods

Description Usage Arguments Details Value Functions Examples

Description

These functions return information on artits. None of these services require authentication, except for artist_add_tags and artist_remove_tags.

Usage

1
2
3
4
5
6
7
artist_get_correction(artist)

artist_get_top_albums(artist, autocorrect = TRUE, n = NULL)

artist_get_top_tags(artist, autocorrect = TRUE, n = NULL)

artist_get_top_tracks(artist, autocorrect = TRUE, n = page_limit)

Arguments

artist

The artist name (required)

autocorrect

Transform misspelled artist names into correct artist names, returning the correct version instead (optional)

n

Number of entries to return (optional)

Details

If n is omitted, the functions return:

Value

Correct artist name.

Data.frame of top n albums with name, mbid ID, and last.fm url; ordered by popularity.

Data.frame of top n tags with count, name, and url; ordered by popularity.

Data.frame of top n tags with name, play count, number of listeners, mbid ID, and last.fm url; ordered by popularity.

Functions

Examples

1
2
3
4
artist_get_correction("Radioheat")
artist_get_top_albums("Pink Floyd", n = 5)
artist_get_top_tags("Mogwai", n = 5)
artist_get_top_tracks("Radiohead", n = 5)

miccio-dk/lastrfm documentation built on May 22, 2019, 8:58 p.m.