Browser Resolutions

By December 7, 2017Resolutions

Gets browsers heights, browser widths, and screen widths for a site.

Parameters

date optional Date in format YYYY-MM-DD

URL

GET https://secure.gaug.es/gauges/:id/resolutions

Request

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

Response

{
  "browser_heights": [
    {
      "title": "600",
      "views": 29917
    },
    {
      "title": "768",
      "views": 19035
    },
    // ... etc
  ],
  "screen_widths": [
    {
      "title": "1600",
      "views": 29849
    },
    {
      "title": "1280",
      "views": 25453
    },
    // ... etc
  ],
  "date": "2011-10-13",
  "browser_widths": [
    {
      "title": "1280",
      "views": 27587
    },
    {
      "title": "1024",
      "views": 18652
    },
    // ... etc
  ],
  "urls": {
    "older": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/resolutions?date=2011-09-01",
    "newer": null
  }
}

Leave a Reply