Playlist struct representing a playlist in Apple Music.
Fields
id: Apple Music playlist IDtype: Resource type (always "playlists")href: API URL for this resourcename: Playlist namecurator_name: Name of the curatordescription: Playlist descriptiontrack_count: Number of tracksartwork_url: URL to playlist artworkurl: Apple Music URL for the playlistis_chart: Whether this is a chart playlistgenre_names: List of genreslast_modified_date: Last modification date
Summary
Functions
Decode a playlist resource from the Apple Music API response.
Types
@type t() :: %AppleMusicAPI.Playlist{ artwork_url: String.t() | nil, curator_name: String.t() | nil, description: String.t() | nil, genre_names: [String.t()] | nil, href: String.t() | nil, id: String.t() | nil, is_chart: boolean() | nil, last_modified_date: String.t() | nil, name: String.t() | nil, track_count: integer() | nil, type: String.t() | nil, url: String.t() | nil }