Catalog

  • A structure used to make requests to the Spotify catalog for top-level items such as albums, artists, tracks, playlists, and others.

    Note

    All request-performing methods (e.g., getAlbum or search) use the SPTAuth default instance session to authenticate the underlying request. If this session does not contain a valid access token, the request will result in an error. If you want to customize the request by injecting your own custom URL/API session or by decoding the response yourself, you can do so using any of the accompanying factory methods (e.g., makeAlbumRequest or makeSearchRequest) to create and return the SKRequest instance itself.
    See more

    Declaration

    Swift

    public struct SKCatalog
  • A Spotify category representing the genres and moods available in the Spotify catalog.

    See also

    The Web API Category object.
    See more

    Declaration

    Swift

    public struct SKCategory : JSONDecodable
  • A structure containing a paginated collection of featured playlists, accompanied by a localized message from Spotify.

    See more

    Declaration

    Swift

    public struct SKFeaturedPlaylists : JSONDecodable
  • An enumeration representing the audio attributes available in audio features.

    Each attribute accepts a minimum, maximum, and target value of the appropriate type.

    See more

    Declaration

    Swift

    public enum SKTrackAttribute