Basic RuneScape 3 API Formatter

<?php

$url = "https://apps.runescape.com/runemetrics/profile/profile?user=[USERNAME]&amp;activities=1";

$content = file_get_contents($url);

$json = json_decode($content, true);

$Mining = $json['skillvalues'][0]['level'];

$Fletching = $json['skillvalues'][1]['level'];

$Cooking = $json['skillvalues'][2]['level'];

$Firemaking = $json['skillvalues'][3]['level'];

$Smithing = $json['skillvalues'][4]['level'];

$Woodcutting = $json['skillvalues'][5]['level'];

$Prayer = $json['skillvalues'][6]['level'];

$Dungeoneering = $json['skillvalues'][7]['level'];

$Defence = $json['skillvalues'][8]['level'];

$Fishing = $json['skillvalues'][9]['level'];

$Crafting = $json['skillvalues'][10]['level'];

$Runecrafting = $json['skillvalues'][11]['level'];

$Magic = $json['skillvalues'][12]['level'];

$Attack = $json['skillvalues'][13]['level'];

$Constitution = $json['skillvalues'][14]['level'];

$Strength = $json['skillvalues'][15]['level'];

$Ranged = $json['skillvalues'][16]['level'];

$Construction = $json['skillvalues'][17]['level'];

$Agility = $json['skillvalues'][18]['level'];

$Thieving = $json['skillvalues'][19]['level'];

$Slayer = $json['skillvalues'][20]['level'];

$Summoning = $json['skillvalues'][21]['level'];

$Farming = $json['skillvalues'][22]['level'];

$Herblore = $json['skillvalues'][23]['level'];

$Divination = $json['skillvalues'][24]['level'];

$Hunter = $json['skillvalues'][25]['level'];

$Archaeology = $json['skillvalues'][26]['level'];

$Invention = $json['skillvalues'][27]['level'];


?>

Heres simple PHP Code for Runescape 3 Skills Tracker with Open RS3 API