Spotify Web API v0.4.0 Spotify.Followers View Source

Information about the followers of the artist or user.

Spotify Docs

Link to this section Summary

Types

A link to the Web API endpoint providing full details of the followers; null if not available. Please note that this will always be set to null, as the Web API does not support it at the moment

t()

The full Followers object

The total number of followers

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

A link to the Web API endpoint providing full details of the followers; null if not available. Please note that this will always be set to null, as the Web API does not support it at the moment.

Link to this type t() View Source
t() :: %Spotify.Followers{href: Spotify.Followers.href() | nil, total: Spotify.Followers.total() | nil}

The full Followers object.

Contains all the values listed in the Spotify Docs

Link to this type total() View Source
total() :: integer()

The total number of followers.

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.