Spotify Web API v0.4.0 Spotify.Recommendations View Source

A Recommendations object.

Spotify Docs

Link to this section Summary

Types

The number of tracks available after min* and max* filters have been applied

The number of tracks available after relinking for regional availability

A link to the full track or artist data for this seed. For tracks this will be a link to a Track Object. For artists a link to an Artist Object. For genre seeds, this value will be null

The id used to select this seed.This will be the same as the string used in the seed_artists, seed_tracks or seed_genres parameter

The number of recommended tracks available for this seed

An array of recommendation seed objects

t()

A Recommendations object

An array of track object (simplified) ordered according to the parameters supplied

The entity type of this seed. One of artist , track or genre

Functions

Returns each Object Models’ model for json decoding

Link to this section Types

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

The number of tracks available after min* and max* filters have been applied.

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

The number of tracks available after relinking for regional availability.

A link to the full track or artist data for this seed. For tracks this will be a link to a Track Object. For artists a link to an Artist Object. For genre seeds, this value will be null.

The id used to select this seed.This will be the same as the string used in the seed_artists, seed_tracks or seed_genres parameter.

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

The number of recommended tracks available for this seed.

An array of recommendation seed objects.

Link to this type t() View Source
t() :: %Spotify.Recommendations{seeds: Spotify.Recommendations.seeds() | nil, tracks: Spotify.Recommendations.tracks() | nil}

A Recommendations object.

An array of track object (simplified) ordered according to the parameters supplied.

The entity type of this seed. One of artist , track or genre.

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.