gcode-mirror / bitly-api

Automatically exported from code.google.com/p/bitly-api
0 stars 0 forks source link

Can you add support for retrieving all clicks for a link, including timestamp, referrer and country? #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For statistical purposes, this would be a really cool feature. What I mean is 
something like:

/v3/clicks_detailed?hash=abcd

Example with two clicks in total:

{
    "data": {
        "clicks_detailed" : [
            { "timestamp" : 1326714378,
              "country" : "DE",
              "referrer" : "http://www.reddit.com/somestory"},
            { "timestamp" : 1326745678,
              "country" : "US",
              "referrer" : "http://www.facebook.com/l.php"}
        ]
    }

    ...
}

This can be a lot of data, so maybe this should be restricted to the last 10000 
clicks or so? What do you think?

Original issue reported on code.google.com by andreas.sommer87 on 16 Jan 2012 at 11:49