Skip to content
Discussion options

You must be logged in to vote

Hi

Does the second example here help?

var search = await spotify.Search.Item(new SearchRequest(
  SearchRequest.Types.All, "Jake"
));

await foreach(var item in spotify.Paginate(search.Albums, (s) => s.Albums))
{
  Console.WriteLine(item.Name);
  // you can use "break" here!
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@NePutin94
Comment options

@JohnnyCrazy
Comment options

@NePutin94
Comment options

Answer selected by JohnnyCrazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants