source/b3rs3rk/steamfront/Main.php
public function get($root, $path)
	{
		$url = $root . $path;

		$response = Http::get($url . $this->countryCode . $this->localLang);

		if (is_array($response)) {

			return $response;
		} else {

			return false;
		}
	}
public function get($root, $path)
	{
		$url = $root . $path;

		$response = Http::get($url . $this->countryCode . $this->localLang);

		if (is_array($response)) {

			return $response;
		} else {

			return false;
		}
	}
public function get ( $ root , $ path ) { $ url = $ root . $ path ; $ response = Http :: get ( $ url . $ this -> countryCode . $ this -> localLang ) ; if ( is_array ( $ response ) ) { return $ response ; } else { return false ; } }
Gets requested data using Http client and returns the json decoded response

@param string $root The root url of the request
@param string $path The path of the request

@return array|bool The JSON decoded response or false
Gets requested data using Http client and returns the json decoded response