Gets referrers for a site, paginated.
Parameters
date | optional | Date in format YYYY-MM-DD |
page | optional | Page number |
URL
GET https://secure.gaug.es/gauges/:id/referrers
Request
curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/referrers
Response
{
"referrers": [
{
"url": "http://twitter.com/",
"views": 823,
"path": "/",
"host": "twitter.com"
},
{
"url": "http://facebook.com/",
"views": 762,
"path": "/",
"host": "facebook.com"
},
// ... etc
],
"date": "2011-10-13",
"page": 1,
"per_page": 50,
"urls": {
"older": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/referrers?date=2011-10-12",
"newer": null,
"previous_page": null,
"next_page": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/referrers?date=2011-10-13&page=2"
}
}