Yea okay I looked it up and I can see the json parser is alot simpler, but I still have a few troubles
I have tried this now

Code:
on *:TEXT:!Rank:#: {
  JSONClose api
  JSONOpen -uwd api https://euw.api.pvp.net/api/lol/euw/v2.5/league/by-summoner/27028362/entry?api_key=4dceac67-7859-4fe6-8b32-3dc93f604d86
  JSONURLOption api User-Agent Riot-Games-Developer-Portal
  JSONURLOption api Accept-Language en-US
  JSONURLOption api Accept-Charset ISO-8859-1,utf-8
  JSONGet api https://euw.api.pvp.net/api/lol/euw/v2.5/league/by-summoner/27028362/entry?api_key=4dceac67-7859-4fe6-8b32-3dc93f604d86
  %temp = $json(api,"27028362","queue")
  IF (%temp) {
    msg $chan %temp
  }
  ELSE {
    msg $chan test
  }
}


but %temp is not containing anything ? I have also tried $json(api).error and .errortext nether containing anything ?