Spotify Web API v0.2.3 Spotify.Artists.ArtistSimple View Source

A simplified artist object.

Spotify Docs

Link to this section Summary

Types

t()

A simplified artist object

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

Link to this type t() View Source
t() :: %Spotify.Artists.ArtistSimple{external_urls: Spotify.Artists.external_urls(), href: Spotify.Artists.href(), id: Spotify.Artists.id(), name: Spotify.Artists.name(), type: Spotify.Artists.type(), uri: Spotify.Artists.uri()}

A simplified artist object.

Link to this section Functions

Returns each Object Models’ model for json decoding.

This callback is passed into Poison.decode :as option for formatting incoming json as structs. Each Object Model should implement it, and nest other Object Models’ as functions in their own as needed.

Callback implementation for Spotify.ObjectModel.as/0.