Skip to content

Commit

Permalink
Version update to 2.1.0: Initial commit of new child class SEOstats_S…
Browse files Browse the repository at this point in the history
…EMRush.
  • Loading branch information
Stephan Schmitz committed May 12, 2012
1 parent 34252ee commit d9561ac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
21 changes: 17 additions & 4 deletions src/class.seostats.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/************************************************************************
* PHP Class SEOstats 2.0.9
* PHP Class SEOstats 2.1.0
*=======================================================================
* PHP class to request a bunch of SEO data, such as Backlinkdetails,
* Traffic Statistics, Pageauthority and much more.
*=======================================================================
* @package class.seostats.2.0.9
* @package class.seostats.2.1.0
* @link https://github.com/eyecatchup/SEOstats/
* @updated 2012/01/30
* @updated 2012/05/12
* @author Stephan Schmitz <eyecatchup@gmail.com>
* @copyright 2010-present, Stephan Schmitz
* @license Creative Commons Attribution 3.0 Licence
Expand All @@ -30,6 +30,8 @@
* 2012/01/30 Stephan Schmitz New license!
* Updated constant
* PAGERANK_CHECKSUM_API_URI
* 2012/05/12 Stephan Schmitz Initial commit of new child class:
* SEOstats_SEMRush()
*=======================================================================
* Note: The above changelog is related to this file only. Each file of
* the package has it's own changelog in the head section. For a general
Expand Down Expand Up @@ -71,7 +73,7 @@

class SEOstats
{
const BUILD_NO = '2.0.9';
const BUILD_NO = '2.1.0';
const PAGERANK_CHECKSUM_API_URI = 'http://www.nahklick.de/api/pagerank/prch.php?url=';

/**
Expand Down Expand Up @@ -444,6 +446,17 @@ public function Bing_Siteindex_Array()
{
return SEOstats_Bing::bingSiteindexArray($this->host);
}

/**
* @access public
* @param string $db Specifies the SEMRush database, which actualy defines
* the Google server location, as a basis of computation.
* @return array Returns array, containing the SEMRush Main Report (/w description).
*/
public function SEMRush($db="us")
{
return SEOstats_SEMRush::semrushMainReport($this->host, $db);
}

/**
* @access public
Expand Down
3 changes: 2 additions & 1 deletion src/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* PHP class SEOstats
*
* @package class.seostats
* @updated 2011/04/29
* @updated 2012/05/12
* @author Stephan Schmitz <eyecatchup@gmail.com>
* @copyright 2010-present, Stephan Schmitz
* @license GNU General Public License (GPL)
Expand All @@ -13,6 +13,7 @@

include_once('seostats.google.php');
include_once('seostats.yahoo.php');
include_once('seostats.semrush.php');
include_once('seostats.seomoz.php');
include_once('seostats.alexa.php');
include_once('seostats.exception.php');
Expand Down

0 comments on commit d9561ac

Please sign in to comment.