Accessing last.fm API or any other API in MAX - How to start ?


    Feb 05 2013 | 11:49 am
    Hi colleagues,
    Recently I found out about Max and now in one of my project I'm trying to do something with tags from Last.fm. Something like grabbing certain tags and doing something with them --> get songs out of them and then perhaps playing the music etc.
    Now I have some experience with web-based programming and a little bit of visual programming with Pure Data.
    I've been reading about the last.fm api but I basically have no idea where to start to embed something like that into something like MAX.
    I'm not asking for readymade solutions, but information about where I should be looking at would be considered amazing.
    Thanks in advance and greetings
    Leander Thomas
    All-round Multimedia Designer
    Student Communication- & mediadesign

    • Feb 05 2013 | 12:47 pm
      I did a project with the Twitter API - and my main piece of advice is to choose a library (in Javascript/Java/Ruby/Python) which you can call from MaxMSP - this saves you having to construct your OAuth queries using a bunch of [sprintf]s and whatever, and will probably also parse the output of Last.fm (probably in JSON or XML).