Exspotify.Search (Exspotify v0.1.0)
View SourceProvides functions for interacting with the Search endpoints of the Spotify Web API. See: https://developer.spotify.com/documentation/web-api/reference/search
Summary
Functions
Search for items (albums, artists, tracks, playlists, shows, episodes, audiobooks). Returns a map with keys corresponding to the types searched, each containing a Paging struct.
Functions
@spec search(String.t(), String.t() | [String.t()], String.t(), keyword()) :: {:ok, map()} | {:error, Exspotify.Error.t()}
Search for items (albums, artists, tracks, playlists, shows, episodes, audiobooks). Returns a map with keys corresponding to the types searched, each containing a Paging struct.
type can be a comma-separated string like "album,artist,track" or a list like ["album", "artist", "track"]