How to get reports for a datapoint

//report types:

// for datapoints: browsers, browsersfamilies, platforms, cities, countries, languages, isps, oss, ossfamilies, keywords, referrers, ips, destinations

// reports endpoints doesn't accept timeframes: today, last12months, lastyear

// get top browsers for datapoint with id = 123456, for last 90 days:

// GET /reports?type=browsers&datapoint=123456&timeframe=last90

/*

OUTPUT

{

   "createdAt": "20151006175352",

   "data": [

       {

           "id": "1232527",

           "totalHits": 200,

           "uniqueHits": 1,

           "lastHitDate": "20151006175352",

           "entityData": {

               "id": 1232527,

               "name": "Chrome 41",

               "familyId": 76,

               "familyName": "Chrome",

               "browserType": "Famous browsers"

           }

       }

   ]

}

*/

Have more questions? Submit a request

0 Comments

Article is closed for comments.