Deprecating the test API key

 
    • phuedx said...
    • Alumni
    • 4 Oct 2012, 09:27

    Deprecating the test API key

    Hullo,

    As of 8th October, the test API key (b25b959554ed76058ac220b7b2e0a026) will be deprecated.

    One of the main reasons for this step is that we’re unable to properly rate limit this key when someone is misusing it without affecting lots of applications that are perfectly well behaved. It’s a real pain point for the web, operations, and product teams here at Last.HQ and it’s about time we did something about it.

    Now, we’re not just going to turn it off straight away. We’re aware that there are many applications out there that use the test API key and that the developers of those applications probably don’t swing by the Last.fm forums too much. So from 8th October to 19th October we will be disabling it for a few hours a day to try and get application developer’s attention.

    If this affects your applications, don’t panic. We recently added the ability for a user to register and manage multiple API accounts easily. So if you’ve got one or more applications that use the test API key you should go ahead and get a new API account for it. It’s easy, free and quick - you’re done and ready to go in less than 2 minutes.

    Also, we're replacing the test API key in all example URLs in our documentation with one of yours so you can just copy-and-paste it from there.

    Have a great Thursday,

    Sam

    • niteria said...
    • User
    • 10 Oct 2012, 15:44
    What if you use Last.fm API on client side with jsonp?
    Someone could potentially steal your API key and use it to exceed the limits on that key.

    • ben-xo said...
    • Staff
    • 12 Oct 2012, 14:24
    Hi Niteria,

    Our read-only API services (that is, those which can be accessed with an unsigned API call that includes only the API Key) are fast and heavily cached. As such, any API usage limits around these calls is very generous and you're very unlikely to encounter them. There is, therefore, very little reason for anyone to forge such a call, and we don't believe you have anything to worry about. Besides, as it stands, it would be easier to just sign up another API account - then you get the corresponding API secret as well, to make signed calls. Bonus!

    One of the main advantages of using an API key that is your own rather than a test key that belongs to nobody is that we can get in touch with you to discuss your usage and how we can help you use the service better or more effectively.

    Check out my latest Drum'n'Bass mixes at http://www.mixcloud.com/benxo (it scrobbles)
  • hi

    I want ask, how to get API key

    thank!

    [spam]

    Edited by Ziomek2000 on 5 Jun 2013, 22:23
  • i''m not really sure how you could miss the link from the API page but here it is anyway....

    http://www.last.fm/api/account/create

  • Hope this will stay free forever ... this one key one person approach makes me wonder. Please don't misunderstand me I really appreciate the service.

    • phuedx said...
    • Alumni
    • 15 Oct 2013, 15:45
    mercivoilapleas said:
    Hope this will stay free forever ... this one key one person approach makes me wonder. Please don't misunderstand me I really appreciate the service.
    Hey mercivoilapleas,

    Good news! You're no longer limited to one API account per user account.

    During the original post we mentioned that users can now register and manage multiple API accounts easily at http://www.last.fm/api/accounts (and http://www.last.fm/api too!).

    phuedx

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