SemRush

About this class

This class is a PHP5 implementation of the SemRush API standard. For more information about the API please see the SemRush API documentation.

Download

Latest version: SemRush.v1.0.zip (3KB)

Requirements

This class requires PHP 5+ with cURL library enabled.

Note

SemRush requires an unique API key, you must first set this in the SemRush.php file.

/**
 * Your unique SEMRush API key
 *
 * @var string
 */
private $_apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

Example

Example usage:

require('SemRush.php');

$semRush = new SemRush();
$result = $semRush->search('microsoft.com', SemRush::TYPE_BY_ADWORDS_ORGANIC);

Documentation

View the SemRush utility class online documentation.

Changelog

  • 1.0 – 21/02/2010 – First release

Contact

If you wish to contact the author about anything related to this class please use this form.