lib/SteamCondenser/Community/WebApi.php
protected function _load($format, $interface, $method, $version = 1, $params = null) {
        $protocol = (self::$secure) ? 'https' : 'http';
        $url = "$protocol://api.steampowered.com/$interface/$method/v$version/";

        $params['format'] = $format;
        if (self::$apiKey != null) {
            $params['key'] = self::$apiKey;
        }

        if($params != null && !empty($params)) {
            $url .= '?';
            $url_params = [];
            foreach($params as $k => $v) {
                $url_params[] = "$k=$v";
            }
            $url .= join('&', $url_params);
        }

        return $this->request($url);
    }
protected function _load($format, $interface, $method, $version = 1, $params = null) {
        $protocol = (self::$secure) ? 'https' : 'http';
        $url = "$protocol://api.steampowered.com/$interface/$method/v$version/";

        $params['format'] = $format;
        if (self::$apiKey != null) {
            $params['key'] = self::$apiKey;
        }

        if($params != null && !empty($params)) {
            $url .= '?';
            $url_params = [];
            foreach($params as $k => $v) {
                $url_params[] = "$k=$v";
            }
            $url .= join('&', $url_params);
        }

        return $this->request($url);
    }
Fetches data from Steam Web API using the specified interface, method
and version. Additional parameters are supplied via HTTP GET. Data is
returned as a String in the given format.

@param string $format The format to load from the API ('json', 'vdf', or
'xml')
@param string $interface The Web API interface to call, e.g. ISteamUser
@param string $method The Web API method to call, e.g.
GetPlayerSummaries
@param int $version The API method version to use
@param array $params Additional parameters to supply via HTTP GET
@return string Data is returned as a String in the given format (which
may be 'json', 'vdf' or 'xml').