get_latest_episode {tinyspotifyr}R Documentation

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

Description

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

Usage

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.


[Package tinyspotifyr version 0.2.2 Index]