Requires a valid access token if market=from_token is used.
https://developer.spotify.com/web-api/search-item/
public search ( string $query, string | array $type, array | object $options = [] ) : array | object | ||
$query | string | The term to search for. |
$type | string | array | The type of item to search for. |
$options | array | object | Optional. Options for the search. - string market Optional. Limit the results to items that are playable in this market, for example SE. - int limit Optional. Limit the number of items. - int offset Optional. Number of items to skip. |
return | array | object | The search results. Type is controlled by SpotifyWebAPI::setReturnAssoc(). |