×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2014
    Posts
    8

    Lightbulb Get artists from genre question

    Hi,
    I am writing an application that should get artists from specific genres. I would like to get different artists every time the user opens the app. To achieve this i want to use random number for startIndex parameter in GetTopArtistsForGenre() method. But i have no idea what is the top count for artists of the genre - is there any possible way to get the number or I should just check what I get back from the method?

    Thank You very much in advance!

    Best regards,
    Roman Pylypets.

  2. #2
    Nokia Developer Expert
    Join Date
    Feb 2014
    Posts
    29

    Re: Get artists from genre question

    At a very simplistic level, an alternative to GetTopArtistsForGenre (as this is usually a curated chart), you could just use Search with the Category=Artist and GenreId params. We have 10's of 1000's of artists per genre, so you could do it in one request safely by randomising under 1000 for example.
    The way to find the amount available though is to use the TotalResults property you get back when calling methods that return lists of content.
    Regards,
    Steve

Similar Threads

  1. GetTopProductsForGenre[Async] returning products with incorrect genre
    By Zikifer in forum Nokia MixRadio Windows Phone API
    Replies: 6
    Last Post: 2013-04-27, 22:58
  2. Replies: 1
    Last Post: 2009-12-12, 20:39
  3. Media Geo vs Media Genre
    By code177 in forum [Closed] Publishing to Nokia Store
    Replies: 1
    Last Post: 2009-11-23, 15:01
  4. a question about command and a question about s60
    By t4kesting in forum Mobile Java General
    Replies: 0
    Last Post: 2006-01-24, 09:21
  5. Replies: 1
    Last Post: 2003-04-14, 03:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×