public function getAPIEndpoint($uri = false)
    {
        $endpoint = $this->getBase() . '/' . $this->getVersion() . '/';

        if ($uri) {
            $endpoint .= $uri;
        }

        return $endpoint;
    }
public function getAPIEndpoint($uri = false)
    {
        $endpoint = $this->getBase() . '/' . $this->getVersion() . '/';

        if ($uri) {
            $endpoint .= $uri;
        }

        return $endpoint;
    }
public function getAPIEndpoint ( $ uri = false ) { $ endpoint = $ this -> getBase ( ) . '/' . $ this -> getVersion ( ) . '/' ; if ( $ uri ) { $ endpoint .= $ uri ; } return $ endpoint ; }
Get the API endpoint for non authentication calls

@param string $uri is the uri to append to the API endpoint

@return string the FQDN with URI for API requests
Get the API endpoint for non authentication calls