Exspotify.Structs.Track (Exspotify v0.1.0)
View SourceRepresents a track object from Spotify API.
Summary
Functions
Creates a Track struct from a map (typically from JSON).
Types
@type t() :: %Exspotify.Structs.Track{ album: Exspotify.Structs.Album.t() | nil, artists: [Exspotify.Structs.Artist.t()] | nil, available_markets: [String.t()] | nil, disc_number: integer() | nil, duration_ms: integer() | nil, explicit: boolean() | nil, external_ids: Exspotify.Structs.ExternalIds.t() | nil, external_urls: Exspotify.Structs.ExternalUrls.t() | nil, href: String.t() | nil, id: String.t(), is_local: boolean() | nil, is_playable: boolean() | nil, linked_from: map() | nil, name: String.t(), popularity: integer() | nil, preview_url: String.t() | nil, restrictions: map() | nil, track_number: integer() | nil, type: String.t(), uri: String.t() }