Пример #1
0
 function __construct($type)
 {
     $this->type = $type;
     $this->url = $this->steamURL[$type];
     if ($type != 'alias') {
         $this->url .= "?key=" . Steam::getAPI();
     }
     if ($type == 'friends') {
         $this->url .= "&relationship=friend";
     }
 }