Using another set of GET parameters in getClicky API
As of now, I can use the following API successively
http://api.getclicky.com/api/stats/4?site_id=xxxxxxxx&sitekey=xxxxxxxxxxxxxxx&type=visitors-list&date=this-month&landing=videos/asdsdfasdfsdf
http://api.getclicky.com/api/stats/4?site_id=xxxxxxxx&sitekey=xxxxxxxxxxxxxxx&type=visitors-list&date=this-month&landing=videos/asdsdfasdfsdf?start%3D10
I have a requirement like this. I have added a 'start' parameter at the end of API. This format is not working now. How can I proceed with this request ?
Posted Sun Jul 31 2011 9:46p by veev***
I think you should try &start=10 instead of ?start%3D10
Posted Mon Aug 1 2011 2:47a by martij***
The reason why ?start=10 used is to get the parameter in that page. But If I use &start=10, it mixes up with getClicky parameters and How can I get that value from that API ?
Posted Mon Aug 1 2011 4:20a by veev***
You probably need to encode the entire string.
Like:
videos%2Fasdsdfasdfsdf%3Fstart%3D10
Posted Mon Aug 1 2011 6:06a by 1jump***
Yes, URL encode the whole thing.
Posted Mon Aug 1 2011 12:19p by Your Friendly Clicky Admin
Thanks for your replies. But encoding url not solving this problem.
We need the output as same as the previous output (before adding ?start=10 ). But adding these extra GET parameter results in empty datas.
Posted Mon Aug 1 2011 10:56p by veev***
Are you entering in the full URL? The URL you give must match exactly (no partial matching).
Posted Mon Aug 1 2011 11:16p by Your Friendly Clicky Admin
Please check this
http://api.getclicky.com/api/stats/4?site_id=66411145&sitekey=db96a1bb58323da3&type=visitors-list&date=this-month&landing=videos/FJRc5HZrPdemo.html (This works)
http://api.getclicky.com/api/stats/4?site_id=66411145&sitekey=db96a1bb58323da3&type=visitors-list&date=this-month&landing=http://veevr.com/videos/FJRc5HZrPdemo.html (This not works)
http://api.getclicky.com/api/stats/4?site_id=66411145&sitekey=db96a1bb58323da3&type=visitors-list&date=this-month&landing=http%3A%2F%2Fveevr.com%2Fvideos%2FFJRc5HZrPdemo.html (Even this not works)
So I am parsing the url and sending it partially. And I am trying to have an extra GET parameter at the end.
I tried ordinary (?start=10) and encoded url (%3Fstart%3D10). Please help me on this.
Posted Tue Aug 2 2011 12:32a by veev***
Leave out the http://domain.com part. The URLs you pass in must match exactly as they are reported in your content report. We only attach the domain to a URL if it's for a domain other than the main one registered for that site ID.
I understand this is confusing and not documented but currently that's how it works.
Posted Tue Aug 2 2011 1:07p by Your Friendly Clicky Admin
Yes I agree, The url thing is working as you explained. But still I am not clear with the extra GET parameter with the getclicky API. Please help me on that.
Posted Tue Aug 2 2011 11:27p by veev***
Can anyone kindly help me on this ?
Posted Wed Aug 10 2011 9:41p by veev***
I'm sorry, I haven't been able to figure out the cause of this issue.
Posted Wed Aug 10 2011 11:43p by Your Friendly Clicky Admin
You must be
logged in to your account to post!