Open sidebar
<?php $apiKey = 'api'; $steamId = 1337; $apiUrl = 'http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=' . $apiKey . '&steamids=' . $steamId; $json = json_decode(file_get_contents($apiUrl), true); $join_date = date("D, M j, Y", $json["response"]["players"][0]["timecreated"]); function personalState ($state) { $states = [ 1 => 'Online', 2 => 'Busy', 3 => 'Away', 4 => 'Snooze', 5 => 'Looking for trade', 6 => 'Looking to play' ]; if (!empty($states[$state])) { return $states[$state]; } return 'Offline'; }
Close sidebar
Back
Please note that all pasted data is publicly available.
X (fomerly Twitter)
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
X (fomerly Twitter)
GitHub
Use setting