Limit result in API

(onik) #1


I have one problem with API.

When I make api query for example:

I have about 25 result but I want to see all results in xml format style_emoticons/<#EMO_DIR#>/sad.gif

Can somebody help me?

ps. sorry for mistake I’m from Ukraine

(vipsoft) #2

You can’t use limit=-1 to specify unlimited.

The default limit for this method is 25. You can specify a non-negative limit to override the default but it is subject to the “API_datatable_default_limit” setting in global.ini.php.

(onik) #3

In global.ini.php I have this:

; default number of rows returned in API responses
API_datatable_default_limit = 50

I set up on 100, but it didn’t help me. It’s steel 25 results

(vipsoft) #4

right. now, use limit=50 (instead of filter_limit=50)

this inconsistency in the Piwik API is because the Live plugin accesses non-archive tables.

(onik) #5

thank you!!
It’s work

I’m happy style_emoticons/<#EMO_DIR#>/rolleyes.gif

(onik) #6

I have one question.

Can I see in piwik logs search spiders?
When they visit my site and how often?