eyecatchup/SEOstats

Add ReportType = 0 on Semrush Service.

LeFrenchie opened this issue · 1 comments

Hello,

In the code, you can choice report type between 1 and 5 but it exist number 0.

in /SEOstats/Services/SemRush.php Line 152

Change
if ($reportType > 5 || $reportType < 1) {

After
if ($reportType > 5 || $reportType < 0) {

And add in documentation report type 0 (Numbers of Keywords).

exemple : http://www.semrush.com/archive/graphs.php?domain=semrush.com&db=us&type=0

Thx.

Thanks for your report. I'll change that.