Exspotify.Chapters (Exspotify v0.1.0)

View Source

Provides functions for interacting with the Chapters endpoints of the Spotify Web API. See: https://developer.spotify.com/documentation/web-api/reference/chapters

Summary

Functions

Get Spotify catalog information for a single chapter by its unique Spotify ID. https://developer.spotify.com/documentation/web-api/reference/get-chapter

Get Spotify catalog information for several chapters based on their Spotify IDs. https://developer.spotify.com/documentation/web-api/reference/get-several-chapters

Functions

get_chapter(chapter_id, token)

@spec get_chapter(String.t(), String.t()) ::
  {:ok, Exspotify.Structs.Chapter.t()} | {:error, Exspotify.Error.t()}

Get Spotify catalog information for a single chapter by its unique Spotify ID. https://developer.spotify.com/documentation/web-api/reference/get-chapter

get_several_chapters(chapter_ids, token)

@spec get_several_chapters([String.t()], String.t()) ::
  {:ok, [Exspotify.Structs.Chapter.t()]} | {:error, Exspotify.Error.t()}

Get Spotify catalog information for several chapters based on their Spotify IDs. https://developer.spotify.com/documentation/web-api/reference/get-several-chapters