Forum » Development Discussion

is there any batch requests in api?

 
  • is there any batch requests in api?

    I'm developing an appplication that sends 500 queries per user (getting it's fav artist's data, getting taginfo, getting events). Is there any way to reduce amounth of queries?
    Maybe lfm have .net weservices or oData?


    -----
    and why http://ws.audioscrobbler.com/2.0/?method=artist.gettags&artist=cher&api_key=b25b959554ed76058ac220b7b2e0a026 won't work?

    ----
    http://ws.audioscrobbler.com/2.0/?method=artist.getsimilar&artist=Justin%20bieber&api_key=b25b959554ed76058ac220b7b2e0a026&limit=500
    and why Justin Bieber just 3% similar to Justin Timberlake? I thought Bieber and Rammstein have 3% of similarity.

  • Re: is there any batch requests in api?

    Genius_kld said:
    and why http://ws.audioscrobbler.com/2.0/?method=artist.gettags&artist=cher&api_key=b25b959554ed76058ac220b7b2e0a026 won't work?
    artist.gettags "Get(s) the tags applied by an individual user to an artist on Last.fm.", and your request doesn't supply a user.
    Maybe you want to use artist.getTopTags instead?


    http://ws.audioscrobbler.com/2.0/?method=artist.getsimilar&artist=Justin%20bieber&api_key=b25b959554ed76058ac220b7b2e0a026&limit=500
    and why Justin Bieber just 3% similar to Justin Timberlake? I thought Bieber and Rammstein have 3% of similarity.
    I think Bieber and Rammstein would have a 0.0000003% similarity ;)

  • >Maybe you want to use artist.getTopTags instead?

    it's copypasted example from api doc ;)

    Is there any function to remove similar tags from taglist of artis object?
    like rnb,r&b
    or
    russian rock, rock, russian
    ?

Anonymous users may not post messages. Please log in or create an account to post in the forums.