jongotlin/seomoz

Get URL metrics from SeoMoz

dev-master 2014-09-25 06:21 UTC

This package is auto-updated.

Last update: 2024-12-20 20:51:59 UTC


README

Get URL metrics from SeoMoz http://apiwiki.seomoz.org/w/page/13991153/URL%20Metrics%20API

Feel free to contribute!

Usage

use SeoMoz;

$accessId = 'xxx';
$secretKey = 'yyy';

$seoMoz = new SeoMoz($accessId, $secretKey);
$seoMozData = $seoMoz->getSeoMozData(file_get_contents($seoMoz->getSeoMozUrl('www.github.com')));
echo $seoMozData->getDomainAuthority();