If you are seeing this message, our style sheet has failed to load. Please try each of the following steps, in order, to fix it:

1) Clear your browser's cache and refresh the page.

2) Wait a few minutes, clear the cache again and refresh (one of our CDN servers may have had a short temporary outage).

3) Try accessing our site from another web browser on the same computer, AND from another computer on the same network. If either of those fixes it, you likely have software such as ad-block or Ghostery installed on the affected browser/computer. Please disable those to see if that fixes the issue.

4) Open a terminal window and type "ping cdn.staticstuff.net". Send us an email with the result.



Forums » Developers



Limit on API Output?

I am trying to create a customer report for our sales department which will show them all areas of a customer showroom that has visitors.

Example, our showrooms have several areas
General
Products
Related
Guides
Contact

I am calling on each url using type=visitor-list and outputing the number doing the count fuction. I notice however it stops after 10? Is there a limit on the output

$m = file_get_contents("api.getclicky.com/api/stats/4?site_id=*****&sitekey=*****&type=visitors-list&href=%2Fshowroom%2Fhypertherm-Inc&date=2010-12&output=php");

$m = unserialize($m);

$main = count($m['visitors-list']['2010-12-01,2010-12-31']);

Posted Tue Jan 11 2011 12:16pm by Fabcom


This is what I am trying to accomplish

http://www.fabtechexpo.com/assets/pdfs/Custom-Report-Showroom-Visitors.jpg

each area is being called in via API and counted

Posted Tue Jan 11 2011 1:02pm by Fabcom


try using "limit=all"

Posted Tue Jan 11 2011 1:29pm by serenexity


yeh...

time_offset:

This parameter is available for type=visitors-list and type=actions-list. It lets you specify the time range (in seconds), relative to "now", of data returned. So if you requested type=visitors-list&time_offset=3600&limit=all, you will get all visitor sessions from the last hour. Note that the default limit of '10' will still apply unless you specify the limit, so we recommend doing limit=all to make sure that all of them are returned.

Posted Tue Jan 11 2011 1:30pm by serenexity


W00t! there it is! Thanks!

Posted Tue Jan 11 2011 1:47pm by Fabcom



Reply to this discussion

You must be logged in to your account to post!