Exspotify.Structs.RecentlyPlayed (Exspotify v0.1.0)

View Source

Represents the recently played tracks response from Spotify API.

Summary

Functions

Creates a RecentlyPlayed struct from a map.

Types

t()

@type t() :: %Exspotify.Structs.RecentlyPlayed{
  cursors: Exspotify.Structs.Cursors.t() | nil,
  href: String.t() | nil,
  items: [Exspotify.Structs.PlayHistory.t()] | nil,
  limit: integer() | nil,
  next: String.t() | nil,
  total: integer() | nil
}

Functions

from_map(map)

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

Creates a RecentlyPlayed struct from a map.