get_latest_episode: Get Spotify uri information for a show's latest episodes...

Description Usage Arguments Value

View source: R/shows.R

Description

Get Spotify uri information for a show's latest episodes identified by their unique Spotify ID.

Usage

1
2
3
4
5
get_latest_episode(
  id,
  market = "US",
  authorization = get_spotify_authorization_code()
)

Arguments

id

The Spotify ID for the show.

market

Required.
An ISO 3166-1 alpha-2 country code or the string "from_token".
Supply this parameter to limit the response to one particular geographical market. For example, for albums available in Sweden: market = "SE".
If not given, results will be returned for all markets and you are likely to get duplicate results per album, one for each market in which the album is available!

authorization

Required. A valid access token from the Spotify Accounts service. See the Web API authorization Guide for more details. Defaults to spotifyr::get_spotify_access_token()

Value

Returns a string containing the latest episode data for a show. See https://developer.spotify.com/documentation/web-api/reference/shows/get-shows-episodes/ for more information.


tinyspotifyr documentation built on Feb. 24, 2021, 5:09 p.m.