Re: [bitly-api] Possible to get clicks based on a date range?

125 views
Skip to first unread message

Matt LeMay

unread,
Mar 21, 2013, 11:30:04 AM3/21/13
to bitl...@googlegroups.com
Hello-

This is possible by using the unit, units, and unit_reference_ts parameters for the /v3/link/clicks endpoints documented at http://dev.bitly.com/link_metrics.html#v3_link_clicks

In this case, you could specify the epoch timestamp for any time on 3/14/2013, set the unit to day and the units to 2. I usually use this website to generate a timestamp: http://www.timestampgenerator.com/

Let us know if you have any other questions!

Thanks, and all the best,
Matt


On Thu, Mar 21, 2013 at 9:36 AM, <ttho...@steeleauto.ca> wrote:
Hi,
Does anyone know if its possible to get the amount of clicks based on a date range with the api/php?
Trying to get for example:
clicks that occurred between:
2013-03-12 to 2013-03-14 for a shortened url

Can't find anything that says possible or not? Seems like you should be able to.
tj


--
--
You are subscribed to the bit.ly API discussion group.
To post, email to bitl...@googlegroups.com
For more options, visit http://groups.google.com/group/bitly-api
 
---
You received this message because you are subscribed to the Google Groups "bitly API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitly-api+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages