This example assumes using Spotify; is in scope and apiKey contains your Spotify API key.
1234567
usingvarclient=newSpotifyClient(apiKey);// Search the Spotify catalog with one or more strongly typed result categories.varresult=awaitclient.Search.SearchAsync(q:"artist:Massive Attack",type:[SearchTypeItem.Track],limit:10);