browse_genius_resource: Open the Genius url of a resource in your browser

View source: R/browse.R

browse_genius_resourceR Documentation

Open the Genius url of a resource in your browser

Description

Opens a browser to the Genius url of a Genius "resource" (i.e. the result of a successful get_album|artist|song() call).

Usage

browse_genius_resource(x)

Arguments

x

a genius_album, genius_artist, or genius_song object

Value

A browser is opened to the Genius resource's url if the session is interactive. The URL is returned as a character string.

Examples


song <- get_song(song_id = 3039923)
browse_genius_resource(song)


geniusr documentation built on Sept. 4, 2022, 1:07 a.m.