Album struct representing an album in Apple Music.
Fields
id: Apple Music album IDtype: Resource type (always "albums")href: API URL for this resourcename: Album nameartist_name: Primary artist nameartist_id: Apple Music artist IDtrack_count: Number of tracksis_single: Whether this is a singleis_complete: Whether the album is completerelease_date: Release date (YYYY-MM-DD format)record_label: Record label namecopyright: Copyright noticeartwork_url: URL to album artworkurl: Apple Music URL for the albumgenre_names: List of genres
Summary
Functions
Decode an album resource from the Apple Music API response.
Types
@type t() :: %AppleMusicAPI.Album{ artist_id: String.t() | nil, artist_name: String.t() | nil, artwork_url: String.t() | nil, copyright: String.t() | nil, genre_names: [String.t()] | nil, href: String.t() | nil, id: String.t() | nil, is_complete: boolean() | nil, is_single: boolean() | nil, name: String.t() | nil, record_label: String.t() | nil, release_date: String.t() | nil, track_count: integer() | nil, type: String.t() | nil, url: String.t() | nil }