Description Usage Arguments Value Examples
View source: R/spotify_PodcastAPI.R
Search for a new podcast
1 2 3 4 5 6 7 8 | searchForPodcast(
keywords,
language = "en",
market = "US",
explicit = TRUE,
limit = 5,
authentication_token = getAuthenticationToken()
)
|
keywords |
string: The search query |
language |
string: (optional, defaults to ENGLISH) |
market |
string: (optional, defaults to US) Returns shows that are available in that market |
explicit |
logical: (optional, defaults to TRUE) To enable the filter set explict to FALSE |
limit |
integer: (optional, defaults to 5, min = 1, max = 50) Number of shows to be returned |
authentication_token |
Predefined argument which runs getAuthenticationToken() |
Dataframe containing the podcast name, publisher, language, explicit content filter and podcast ID
1 2 3 4 5 | searchForPodcast('History')
searchForPodcast('History', language='es')
searchForPodcast('History', language='es', market='ES')
searchForPodcast('History', language='es', market='ES', explicit=FALSE)
searchForPodcast('History', language='es', market='ES', explicit=FALSE, limit=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.