Contents |
URL
https://api.geoloqi.com/1/link/stats
Description
Retrieve the statistics (number of viewers, referrers) for a shared link.
Supported Request Methods
GET
Output Formats
json, xml
Parameters
- token requiredThe token for the triplink/stats?token=1234AbC
Example Response
{ "link": { "token": "1234AbC", "date_created": "2011-12-08T10:46:30-08:00", "date_created_ts": 1323369990, "date_from": "2011-12-08T10:46:30-08:00", "date_from_ts": 1323369990, "date_to": "2011-12-09T10:46:30-08:00", "date_to_ts": 1323456390, "time_from": null, "time_to": null, "share_with": "", "description": "", "currently_active": "1" }, "visits": [ { "date": "2011-12-08 19:07:54", "embedded": "0", "link_was_active": "1", "embed_url": "", "referer": "http://example.org/cool-blog-post.html", "remote_addr": "4.5.6.7" }, { "date": "2011-12-08 19:07:45", "embedded": "0", "link_was_active": "1", "embed_url": "", "referer": "", "remote_addr": "1.2.3.4" }, { "date": "2011-12-08 19:09:03", "embedded": "1", "link_was_active": "1", "embed_url": "http://example.org/embed.html", "referer": "", "remote_addr": "1.2.3.4" }