jongotlin / seomoz
Get URL metrics from SeoMoz
dev-master
2014-09-25 06:21 UTC
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-11-20 20:42:20 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();