Exspotify.Structs.Cursors (Exspotify v0.1.0)

View Source

Represents cursor-based pagination from Spotify API. Used in recently played tracks and other cursor-paginated endpoints.

Summary

Functions

Creates a Cursors struct from a map.

Types

t()

@type t() :: %Exspotify.Structs.Cursors{
  after: String.t() | nil,
  before: String.t() | nil
}

Functions

from_map(map)

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

Creates a Cursors struct from a map.