Category

API Reference Docs

Sites (gauges)

Sites List

Returns an array of your sites, with recent traffic included. Note: As reflected in the API language, we originally referred to sites as “gauges”. Parameters page optional Page number URL GET https://secure.gaug.es/gauges Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges Response { "gauges": , "recent_months":, "recent_days": } ] } Create a New Site Creates a site.…
Abhishek M
December 7, 2017
Clients

API Client List

Returns an array of your API clients. URL GET https://secure.gaug.es/clients Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/clients Response { "clients": } Creating an API Client Creates an API client, which can be used to authenticate against the Gaug.es API. URL POST https://secure.gaug.es/clients Parameters description optional Short description for the key (i.e.: HipChat, Campfire, etc.) Request curl -H "X-Gauges-Token: <token>" \…
Abhishek M
December 7, 2017

List Shares

Lists the people that have access to a site. URL GET https://secure.gaug.es/gauges/:id/shares Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/shares Response { "shares": } Share Site Shares site with a person by their email. Any valid email will work and will receive an invite even if there is no existing Gauges user with…
Abhishek M
December 7, 2017
Resolutions

Browser Resolutions

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": , "screen_widths": , "date": "2011-10-13", "browser_widths": , "urls": { "older": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/resolutions?date=2011-09-01", "newer": null } }
Abhishek M
December 7, 2017
Technology

Technology

Gets browsers and platforms for a site. Parameters date optional Date in format YYYY-MM-DD URL GET https://secure.gaug.es/gauges/:id/technology Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/technology Response { "browsers": , "key": "chrome" }, { "title": "Internet Explorer", "views": 2242, "versions": , "key": "ie" }, // ... etc ], "platforms": , "date": "2011-10-13", "urls": { "older":…
Abhishek M
December 7, 2017
Content

Top Content

Gets top content for a site, paginated. Parameters date optional Date in format YYYY-MM-DD group optional Data resolution, one of {’day’, ’month’}; default: ‘day’ page optional Page number URL GET https://secure.gaug.es/gauges/:id/content Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/content Response { "date": "2011-10-13", "page": 1, "content": , "per_page": 50, "urls": { "older": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/content?date=2011-10-12", "newer":…
Abhishek M
December 7, 2017
Locations

Locations

Gets locations for a site. Parameters date optional Date in format YYYY-MM-DD URL GET https://secure.gaug.es/gauges/:id/locations Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/locations Response { "date": "2011-10-13", "locations": , "title": "United States", "views": 21651, "key": "US" }, { "regions": [], "title": "United Kingdom", "views": 6232, "key": "GB" }, // ... etc ], "urls": {…
Abhishek M
December 7, 2017
Referrers

Top Referrers

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": , "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" } }
Abhishek M
December 7, 2017
Traffic

Traffic

Gets traffic for a site. Parameters date optional Date in format YYYY-MM-DD URL GET https://secure.gaug.es/gauges/:id/traffic Request curl -H "X-Gauges-Token: <token>" https://secure.gaug.es/gauges/:id/traffic Response { "date": "2011-10-13", "views": 10, "people": 5, "traffic": , "urls": { "older": "https://secure.gaug.es/gauges/4ea97a8be5947ccda1000001/traffic?date=2011-09-01", "newer": null } }
Abhishek M
December 6, 2017
Search Terms

Search 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": , "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" } }
Abhishek M
December 6, 2017