searchForPodcast: Search for a new podcast

Description Usage Arguments Value Examples

View source: R/spotify_PodcastAPI.R

Description

Search for a new podcast

Usage

1
2
3
4
5
6
7
8
searchForPodcast(
  keywords,
  language = "en",
  market = "US",
  explicit = TRUE,
  limit = 5,
  authentication_token = getAuthenticationToken()
)

Arguments

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()

Value

Dataframe containing the podcast name, publisher, language, explicit content filter and podcast ID

Examples

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)

lukavuko/wrappify documentation built on Dec. 28, 2021, 4:07 p.m.