Exspotify.Structs.Show (Exspotify v0.1.0)

View Source

Represents a show (podcast) object from Spotify API.

Summary

Functions

Creates a Show struct from a map (typically from JSON).

Types

t()

@type t() :: %Exspotify.Structs.Show{
  available_markets: [String.t()] | nil,
  copyrights: [map()] | nil,
  description: String.t() | nil,
  episodes: map() | nil,
  explicit: boolean() | nil,
  external_urls: Exspotify.Structs.ExternalUrls.t() | nil,
  href: String.t() | nil,
  html_description: String.t() | nil,
  id: String.t(),
  images: [Exspotify.Structs.Image.t()] | nil,
  is_externally_hosted: boolean() | nil,
  languages: [String.t()] | nil,
  media_type: String.t() | nil,
  name: String.t(),
  publisher: String.t() | nil,
  total_episodes: integer() | nil,
  type: String.t(),
  uri: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Creates a Show struct from a map (typically from JSON).