Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetAvatar($steamid64){
- $url = file_get_contents('https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=DC4A099BA0493A07922FB1445F275D67&steamids='.$steamid64);
- $content = json_decode($url, true);
- return $content['response']['players'][0]['avatarfull'];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement