search_song: Retrieve song identifiers for associated search terms

Description Usage Arguments Examples

View source: R/search.R

Description

The Genius API lets you search hosted content (all songs). Use search_song to return song_id, song_name, lyrics_url and artist_id for all unique song matches to a search.

Usage

1
search_song(search_term, n_results = 10, access_token = genius_token())

Arguments

search_term

A character string to search for song matches

n_results

Maximum no. of search results to return

access_token

Genius' client access token, defaults to genius_token

Examples

1
2
3
4
## Not run: 
search_song(search_term = "Gucci", n_results=50)

## End(Not run)

geniusr documentation built on May 2, 2019, 3:08 a.m.