Skip to contents

The Genius API lets you search hosted content (all songs). Use search_genius() to return hits on for a given search term, in full.

Usage

search_genius(search_term, n_results = 10, access_token = genius_token())

Arguments

search_term

A character string to search for

n_results

Maximum no. of search results to return

access_token

Genius' client access token, defaults to genius_token

Value

a genius_resource object that contains the extracted content from the request, the original JSON response object and the request path.

See also

Other search: search_artist(), search_song()

Examples

if (FALSE) {
search_genius(search_term = "Lil", n_results = 100)
}