Filter by name (API)

Hi guys,

thanks for your great work. As far as I can see, this is a nice piece of software. style_emoticons/<#EMO_DIR#>/wink.gif We are thinking about using it as our new “default”-tracker in our TYPO3-projects.

As the only TYPO3 extension available doesn’t fit our needs, we are writing a new one.

To make a long story short (too late? style_emoticons/<#EMO_DIR#>/wink.gif ) :

I want to pull some data out of the API but somehow I’m not able to specify the name of the page. E. g. I got three pages (Home, About us, Contact), I want to get the visitors per day of “Home”. As far as I can see there is nothing like name= or id= or anything else in the API-call, is it?

I just wanted to ask if I missed a thing, before I start to write some API-patches. style_emoticons/<#EMO_DIR#>/wink.gif

Regards, typo3felix

you can use the filter_pattern and filter_column as documented in the API reference:

Thanks alot, I read all the stuff on this page and somehow missed out some of the docs in trac …

Hm, after playin’ around with API and Objects hole day long, there are some questions left. style_emoticons/<#EMO_DIR#>/wink.gif

a ) For me it’s important to keep track of single pages. So I need to get the Visitors per Page for every single day.
Am I right that this information is not archived? When I take a look at piwik_archive_* I see “nb_uniq_visitors” is stored just with the “idsite”, but it’s not stored connected to the page-title. Am I missing something?

B ) Probably this is the reason my filter_column is not workin? I try to achieve something like this:

http:// piwik.track3.local /?module=API&method=VisitsSummary.get&idSite=1&period=day&date=today&format=xml&filter_column=name&filter_pattern=home&token_auth=foobar

Am I the only one who thinks that feature is not THAT well documented? style_emoticons/<#EMO_DIR#>/wink.gif

Regards, typo3felix