Search Terms

By December 6, 2017Search Terms

Gets search terms 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/terms

Request

curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/terms

Response

{

  "date": "2011-10-13",
  "page": 1,
  "per_page": 50,
  "terms": [
    {
      "term": "understanding technology",
      "views": 275
    },
    {
      "term": "example widgets",
      "views": 208
    },
    // ... etc
  ],
  "urls": {
    "older": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/terms?date=2011-09-01",
    "newer": null,
    "previous_page": null,
    "next_page": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/terms?date=2011-10-13&page=2"
  }
}

Leave a Reply