/** * * This method returns the metrics about a URL or set of URLs. * * @param objectURL * @param col This field filters the data to get only specific columns * col = 0 fetches all the data * @return */ public function getUrlMetrics($objectURL, $col = 0) { $urlToFetch = "http://lsapi.seomoz.com/linkscape/url-metrics/" . urlencode($objectURL) . "?" . Authenticator::getInstance()->getAuthenticationStr(); if ($col > 0) { $urlToFetch = $urlToFetch . "&Cols=" . $col; } $response = ConnectionUtil::makeRequest($urlToFetch); return $response; }