search_genius {geniusr} | R Documentation |
Search documents hosted on Genius
Description
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 |
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
## Not run:
search_genius(search_term = "Lil", n_results = 100)
## End(Not run)
[Package geniusr version 1.2.1 Index]