src/MinecraftJP.php
public function getUrl($type, $path, $params = array()) {
        $url = self::$URL_TABLE[$type] . $path;
        if (!empty($params)) {
            $url .= '?' . http_build_query($params);
        }
        return $url;
    }
public function getUrl($type, $path, $params = array()) {
        $url = self::$URL_TABLE[$type] . $path;
        if (!empty($params)) {
            $url .= '?' . http_build_query($params);
        }
        return $url;
    }
public function getUrl ( $ type , $ path , $ params = array ( ) ) { $ url = self :: $ URL_TABLE [ $ type ] . $ path ; if ( ! empty ( $ params ) ) { $ url .= '?' . http_build_query ( $ params ) ; } return $ url ; }
Build API Url

@param $type
@param $path
@param array $params
@return string
Build API Url